Skip to main content
POST
/
agent
/
v1
/
run
/
{id}
/
watch
Watch run
curl --request POST \
  --url https://api.case.dev/agent/v1/run/{id}/watch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "callbackUrl": "<string>"
}
'
{
  "ok": true,
  "callbackUrl": "<string>"
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Run ID

Body

application/json
callbackUrl
string<uri>
required

HTTPS URL to receive completion callback

Response

Callback registered

ok
boolean
callbackUrl
string