curl --request GET \
  --url https://agents-api.kolena.com/api/v1/client/agents/{agent_id}/runs/{run_id} \
  --header 'Authorization: Bearer <token>'
[
  {
    "agent_id": 1,
    "created": "2025-01-01T00:00:00",
    "data": {
      "column_1": {
        "metadata": {
          "citations": [
            {
              "file": "demo1.pdf",
              "pages": [
                2,
                5
              ]
            }
          ],
          "confidence": 1,
          "reasoning": "Looking at file demo1.pdf, ..."
        },
        "value": "foo"
      },
      "column_2": {
        "metadata": {
          "citations": [
            {
              "file": "demo2.csv"
            }
          ],
          "confidence": 0.9,
          "reasoning": "The order amount is listed in demo2.csv"
        },
        "value": 123
      }
    },
    "files": [
      "demo1.pdf",
      "demo2.csv"
    ],
    "order": [
      "column_1",
      "column_2"
    ],
    "run_id": 1,
    "run_url": "https://agents.kolena.com/my_org/agents/1/runs/1",
    "updated": "2025-01-05T00:00:00"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>. The <token> represents your API key, which must be acquired from the Kolena platform.

Path Parameters

agent_id
integer
required
run_id
integer
required

Response

200
application/json

Successful Response

The response is of type object.