Skip to main content
GET
/
runs
/
{run_id}
Get Run By Id
curl --request GET \
  --url https://api.webagent.cloud/runs/{run_id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "task_id": "<string>",
  "status": "pending",
  "result": "<unknown>",
  "is_done": true,
  "is_successful": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

run_id
string
required

Response

Successful Response

Represents a Run.

id
string
required

The ID of the created task run

task_id
string
required

The ID of the created task

status
enum<string>
default:pending

The status of the agent's task

Available options:
success,
failure,
pending
result
any | null

The final result of the agent's task

is_done
boolean | null

Whether the agent has completed its task

is_successful
boolean | null

Whether the agent was successful in completing its task