Skip to main content
GET
/
v1
/
agents
/
{agent_id}
/
jobs
/
List agent jobs or create a new agent job.
curl --request GET \
  --url https://api.roe-ai.com/v1/agents/{agent_id}/jobs/
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "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": {},
          "count": 123
        }
      ],
      "status_code": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "last_updated_at": "2023-11-07T05:31:56Z",
      "job_inputs": [
        {
          "key": "<string>",
          "description": "<string>",
          "data_type": "<string>",
          "value": "<string>",
          "file_name": "<string>"
        }
      ],
      "metadata": {},
      "evaluation": {
        "reference": "<any>",
        "human_score": 123,
        "grader_score": 123,
        "feedback": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      }
    }
  ]
}

Path Parameters

agent_id
string<uuid>
required

Query Parameters

created_from
string<date-time>
created_to
string<date-time>
job_id
string
metadata
string
ordering
enum<string>[]
page
integer
page_size
integer
semantic_string
string
status_code
string
version_name
string
organization_id
string<uuid>

Response

count
integer
required
Example:
results
object[]
required
next
string<uri> | null
Example:
previous
string<uri> | null
Example: