Run a browser-automated action against a stored credential. Long-running (up to ~4 min).
cURL
curl --request POST \ --url https://api.selcor.ai/v1/relay/execute \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "credential_id": "cred_abc123", "instruction": "Download the patient list as CSV", "tier": "read", "schema": {} } '
{ "data": { "id": "<string>", "status": "<string>", "turns": 123, "tokens_used": 123, "duration_ms": 123, "error": { "code": "<string>", "message": "<string>", "detail": null }, "result": null, "screenshots": null }, "request_id": "<string>" }
API key in format: sk_live_...
1
"cred_abc123"
1 - 2000
"Download the patient list as CSV"
read
create
update
delete
"read"
Show child attributes
Execution result
Was this page helpful?