agent

Get agent run result

Changed on

Get the terminal result and error state for an asynchronous agent run.

Required scope: `inference:run`

get/agent/runs/{run_id}/result

Request

  • Base URL
    https://developer.qaip.com/api/v1
  • URL
    https://developer.qaip.com/api/v1/agent/runs/{run_id}/result
  • Auth
    API key in header x-api-key

Path parameters

run_idstring required

Query parameters

principal_idstring

Scope by principal. If omitted, only a run with no principal (principal_id is null) is addressed; a run whose principal differs yields 404.

Response

Agent run result

resultobject nullable
errorobject nullable

Example response

{
  "run": {
    "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new OPENAI enum value to the / response property for the response status

    • info

      the / response's property pattern ^[0-9a-f]{32}$ was added for the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status