Tasks

Retrieve Task Run Result

Retrieves a run result by run_id, blocking until the run is completed.

get/v1/tasks/runs/{run_id}/result

Path parameters

run_idstring required

Query parameters

timeoutinteger

Headers

parallel-betastring nullable

Response

Successful Response

Example response

{
  "run": {
    "run_id": "trun_e0083b6aac0544eb8686e8d2a76533d2",
    "interaction_id": "trun_e0083b6aac0544eb8686e8d2a76533d2",
    "status": "queued",
    "warnings": [],
    "processor": "base",
    "metadata": {},
    "created_at": "2025-04-24T18:56:22.513132Z",
    "modified_at": "2025-04-24T18:56:22.513132Z"
  },
  "output": {
    "basis": [
      {
        "confidence": "low"
      }
    ]
  }
}

Changes

Changed in 8 of the 21 revisions of this API.121081

    • ○

      api tag Tasks added

      api-tag-added

    • ○

      api tag Tasks v1 removed

      api-tag-removed

    • ○

      added the new optional header request parameter parallel-beta

      new-optional-request-parameter

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      response property output/oneOf[subschema #1: TaskRunTextOutput]/beta_fields deprecated

      response-property-deprecated

    • ○

      response property output/oneOf[subschema #2: TaskRunJsonOutput]/beta_fields deprecated

      response-property-deprecated

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the required property / to the response with the status

      response-required-property-added

  • 105d778ad64d533See the full diff
    • ▲

      the response's property type changed from no type to object for status

      response-property-type-changed

    • ▲

      the response's property type changed from no type to object for status

      response-property-type-changed

    • ▲

      the response's property type changed from no type to object for status

      response-property-type-changed

    • ▲

      the response's property type changed from no type to object for status

      response-property-type-changed

    • ▲

      the response's property type changed from no type to object for status

      response-property-type-changed

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      removed from the response property allOf list for the response status

      response-property-all-of-removed

    • ○

      removed from the response property allOf list for the response status

      response-property-all-of-removed

    • ○

      removed from the response property allOf list for the response status

      response-property-all-of-removed

    • ○

      removed from the response property allOf list for the response status

      response-property-all-of-removed

    • ○

      removed from the response property allOf list for the response status

      response-property-all-of-removed

    • ○

      removed the error enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the error enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the error enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the error enum value from the response property for the response status

      response-property-enum-value-removed

    • ○

      removed the json enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      removed the text enum value from the // response property for the response status

      response-property-enum-value-removed

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    This revision also has 19 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      api tag Tasks v1 added

      api-tag-added

    • ○

      api tag Task API v1 removed

      api-tag-removed

  • 1aeb1c81a8491413See the full diff
    • ▲

      added to the response property oneOf list for the response status

      response-property-one-of-added

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ○

      api tag Task API v1 added

      api-tag-added

    • ○

      api tag v1 removed

      api-tag-removed

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      removed from the response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      the response's property default value error was removed for the status

      response-property-default-value-removed

    • ○

      the response's property default value error was removed for the status

      response-property-default-value-removed

    • ○

      added discriminator to response property for the response status

      response-property-discriminator-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ff0d5939e1354212See the full diff
    • ▲

      the response property became optional for the status

      response-property-became-optional

    • ▲

      the response property became optional for the status

      response-property-became-optional

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ○

      api tag v1 added

      api-tag-added

    • ○

      api tag Task API v1 removed

      api-tag-removed

    • ○

      removed the non-success response with the status

      response-non-success-status-removed

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added to the response property anyOf list for the response status

      response-property-any-of-added

    • ○

      the response's property default value error was added for the status

      response-property-default-value-added

    • ○

      the response's property default value error was added for the status

      response-property-default-value-added

    • ○

      removed discriminator from response property for the response status

      response-property-discriminator-removed

    • ○

      removed the input_validation_warning enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the spec_validation_warning enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • ○

      removed the warning enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • ○

      removed from the response property oneOf list for the response status

      response-property-one-of-removed

    This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1aeb1c81a8491413See the full diff
    • ▲

      added to the response property oneOf list for the response status

      response-property-one-of-added

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ○

      api tag Task API v1 added

      api-tag-added

    • ○

      api tag v1 removed

      api-tag-removed

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      removed from the response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      the response's property default value error was removed for the status

      response-property-default-value-removed

    • ○

      the response's property default value error was removed for the status

      response-property-default-value-removed

    • ○

      added discriminator to response property for the response status

      response-property-discriminator-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ▲

      removed the required property // from the response with the status

      response-required-property-removed