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

Documentation Index

Fetch the complete documentation index at: https://docs.cradl.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Headers

Content-Type
string
required

Path Parameters

agentId
string
required

Body

application/json
variables
object

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