Skip to main content
GET
/
agents
/
{agentId}
/
runs
/
{runId}
cURL
curl --request GET \
  --url https://api.cradl.ai/{basePath}/agents/{agentId}/runs/{runId} \
  --header 'Authorization: Bearer <token>'
{
  "agentId": "<string>",
  "runId": "<string>",
  "updatedTime": "<string>",
  "updatedBy": "<string>",
  "createdBy": "<string>",
  "createdTime": "<string>",
  "id": "<string>",
  "variablesFileUrl": "<string>",
  "events": [
    {}
  ],
  "resourceIds": [
    "<string>"
  ],
  "status": "archived"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

agentId
string
required
runId
string
required

Response

200 response

agentId
string
required
Pattern: ^cradl:agent:[a-f0-9]{32}$
runId
string
required
Pattern: ^cradl:run:[a-f0-9]{32}$
updatedTime
string | null
Pattern: ^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$
updatedBy
string | null
Maximum string length: 4096
createdBy
string | null
Maximum string length: 4096
createdTime
string | null
Pattern: ^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$
id
string
Pattern: ^((cradl|las):organization:[a-z0-9-_]+/)?cradl:agent:[a-z0-9-_]+/cradl:run:[a-z0-9-_]+$
variablesFileUrl
string | null
Pattern: ^http://localhost.*|^https://.*
events
object[]
resourceIds
string[]
status
enum<string>
Available options:
archived,
exported,
pending-export,
pending-predictions,
ready-for-review,
review-completed,
succeeded-predictions,
error,
running,
completed,
review-in-progress