GET
/
v1
/
agents
/
{agent_id}
/
jobs
/
curl --request GET \
  --url https://api.roe-ai.com/v1/agents/{agent_id}/jobs/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "count": 123,
    "next": 123,
    "previous": 123,
    "agent_name": "<string>",
    "results": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "agent_version_name": "<string>",
        "status_events": [
          {
            "timestamp": "2023-11-07T05:31:56Z",
            "status_code": 123,
            "error_message": "<string>",
            "error_details": "<any>",
            "count": 123
          }
        ],
        "status_code": 0,
        "created_at": "2023-11-07T05:31:56Z",
        "last_updated_at": "2023-11-07T05:31:56Z",
        "job_inputs": "<any>",
        "metadata": "<any>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

A UUID string identifying this agent.

Query Parameters

job_id
string

Filter by job ID substring

ordering
string

Which field to use when ordering the results. Default: -created_at

page
integer

Page number for pagination. Default: 1

page_size
integer

Number of results per page. Default: 20

status_code
string

Filter by job status code

version_name
string

Filter by agent version name

Response

200
application/json

Successfully retrieved paginated list of agent jobs.

The response is of type object[].