> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Retrieve Task Run Result

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

<!-- aisa-pricing:start -->
Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

## Request contract

* **Method and path:** GET /apis/v1/parallel/tasks/runs/\{run\_id}/result
* **Availability:** enabled
* **Request URL template:** [https://api.aisa.one/apis/v1/parallel/tasks/runs/\&#123;run\&#95;id\&#125;/result](https://api.aisa.one/apis/v1/parallel/tasks/runs/\&#123;run\&#95;id\&#125;/result)
* **parallel-beta:** header; optional
* **run\_id:** path; required
* **timeout:** query; optional
* **Runtime facts:** 5d413ff65ac53e696e28c5a12c4dbbb99e94b7667cbafba2e2c6b9da9156a731

[Complete OpenAPI definition](https://aisa.one/docs/openapi/parallel.ai.json)

Effective request and pricing declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "any_parallel_ai_apis_v1_parallel_tasks_runs_run_i_ea70fb",
  "method": "GET",
  "path": "/apis/v1/parallel/tasks/runs/{run_id}/result",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "header",
      "name": "parallel-beta",
      "required": false,
      "schema": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Parallel-Beta"
      }
    },
    {
      "in": "path",
      "name": "run_id",
      "required": true,
      "schema": {
        "title": "Run Id",
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "timeout",
      "required": false,
      "schema": {
        "default": 600,
        "title": "Timeout",
        "type": "integer"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "x-aisa-pricing": {
    "cost_contract": "explicit_zero",
    "customer_pricing": "fixed_success",
    "default_request_estimate_usd": 0.012,
    "estimate_source": "profile_seed",
    "evidence_source": "request_snapshot"
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Published reference price: \$0.012 USD per successful request. Account-specific pricing and final settlement may differ.

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

* **Default request reference estimate (USD):** 0.012
* **Cost contract:** explicit\_zero
* **Settlement evidence source:** request\_snapshot


## OpenAPI

````yaml openapi/parallel.ai.json GET /apis/v1/parallel/tasks/runs/{run_id}/result
openapi: 3.1.0
info:
  description: ''
  title: Parallel.ai
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    parallel.ai:
      description: ''
      title: Parallel.ai
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 5d413ff65ac53e696e28c5a12c4dbbb99e94b7667cbafba2e2c6b9da9156a731
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/parallel/chat/completions
    - /apis/v1/parallel/extract
    - /apis/v1/parallel/findall/ingest
    - /apis/v1/parallel/findall/runs/{findall_id}
    - /apis/v1/parallel/findall/runs/{findall_id}/cancel
    - /apis/v1/parallel/findall/runs/{findall_id}/events
    - /apis/v1/parallel/findall/runs/{findall_id}/result
    - /apis/v1/parallel/findall/runs/{findall_id}/schema
    - /apis/v1/parallel/monitors/{monitor_id}
    - /apis/v1/parallel/monitors/{monitor_id}/cancel
    - /apis/v1/parallel/monitors/{monitor_id}/events
    - /apis/v1/parallel/monitors/{monitor_id}/update
    - /apis/v1/parallel/tasks/groups
    - /apis/v1/parallel/tasks/groups/{taskgroup_id}
    - /apis/v1/parallel/tasks/groups/{taskgroup_id}/events
    - /apis/v1/parallel/tasks/groups/{taskgroup_id}/runs/{run_id}
    - /apis/v1/parallel/tasks/runs/{run_id}
    - /apis/v1/parallel/tasks/runs/{run_id}/events
    - /apis/v1/parallel/tasks/runs/{run_id}/input
    - /apis/v1/parallel/tasks/runs/{run_id}/result
    - /apis/v1/parallel/v1beta/tasks/runs/{run_id}/events
  x-aisa-document:
    composer_version: '20'
    document_hash: sha256:faf7bdc612cf28356fbb13a4aafcba6664c0f5f6176fe3ef56b5c4d887f62c03
    facts_hash: 5d413ff65ac53e696e28c5a12c4dbbb99e94b7667cbafba2e2c6b9da9156a731
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: parallel.ai
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/parallel/tasks/runs/{run_id}/result:
    get:
      tags:
        - default
      summary: Retrieve Task Run Result
      description: >-
        Retrieves a run result by run_id, blocking until the run is completed.


        <!-- aisa-pricing:start -->

        Published reference price: $0.012 USD per successful request.
        Account-specific pricing and final settlement may differ.

        <!-- aisa-pricing:end -->
      operationId: any_parallel_ai_apis_v1_parallel_tasks_runs_run_i_ea70fb
      parameters:
        - in: header
          name: parallel-beta
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Parallel-Beta
        - in: path
          name: run_id
          required: true
          schema:
            title: Run Id
            type: string
        - in: query
          name: timeout
          required: false
          schema:
            default: 600
            title: Timeout
            type: integer
      responses:
        '200':
          content:
            application/json:
              example:
                output:
                  basis: []
                  content:
                    gdp: $3.1 trillion (2023)
                  type: json
                run:
                  created_at: '2025-04-23T20:21:48.037943Z'
                  interaction_id: trun_9907962f83aa4d9d98fd7f4bf745d654
                  is_active: false
                  metadata:
                    my_key: my_value
                  modified_at: '2025-04-23T20:21:48.037943Z'
                  processor: core
                  run_id: trun_9907962f83aa4d9d98fd7f4bf745d654
                  status: completed
              schema:
                $ref: '#/components/schemas/ResponseB67C75A8Feba_TaskRunResult'
          description: Successful Response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    ResponseB67C75A8Feba_TaskRunResult:
      description: Result of a task run.
      properties:
        output:
          description: Output from the task conforming to the output schema.
          discriminator:
            mapping:
              json: '#/components/schemas/ResponseB67C75A8Feba_TaskRunJsonOutput'
              text: '#/components/schemas/ResponseB67C75A8Feba_TaskRunTextOutput'
            propertyName: type
          oneOf:
            - $ref: '#/components/schemas/ResponseB67C75A8Feba_TaskRunTextOutput'
            - $ref: '#/components/schemas/ResponseB67C75A8Feba_TaskRunJsonOutput'
          title: Output
        run:
          $ref: '#/components/schemas/ResponseB67C75A8Feba_TaskRun'
          description: Task run object with status 'completed'.
      required:
        - run
        - output
      title: TaskRunResult
      type: object
    ResponseB67C75A8Feba_TaskRunJsonOutput:
      description: Output from a task that returns JSON.
      properties:
        basis:
          description: >-
            Basis for each top-level field in the JSON output. List fields also
            include per-element entries with dot-delimited indexes, such as
            `key_executives.0`.
          items:
            $ref: '#/components/schemas/ResponseB67C75A8Feba_FieldBasis'
          title: Basis
          type: array
        beta_fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          deprecated: true
          description: >-
            Deprecated. mcp-server-2025-07-17 is now included directly in the
            output (e.g. mcp_tool_calls).
          title: Beta Fields
        content:
          additionalProperties: true
          description: >-
            Output from the task as a native JSON object, as determined by the
            output schema of the task spec.
          title: Content
          type: object
        mcp_tool_calls:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResponseB67C75A8Feba_McpToolCall'
              type: array
            - type: 'null'
          description: MCP tool calls made by the task.
          title: Mcp Tool Calls
        output_schema:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: >-
            Output schema for the Task Run. Populated only if the task was
            executed with an auto schema.
          title: Output Schema
        type:
          const: json
          description: >-
            The type of output being returned, as determined by the output
            schema of the task spec.
          title: Type
          type: string
      required:
        - basis
        - type
        - content
      title: TaskRunJsonOutput
      type: object
    ResponseB67C75A8Feba_TaskRunTextOutput:
      description: Output from a task that returns text.
      properties:
        basis:
          description: Basis for the output. The basis has a single field 'output'.
          items:
            $ref: '#/components/schemas/ResponseB67C75A8Feba_FieldBasis'
          title: Basis
          type: array
        beta_fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          deprecated: true
          description: >-
            Deprecated. mcp-server-2025-07-17 is now included directly in the
            output (e.g. mcp_tool_calls).
          title: Beta Fields
        content:
          description: Text output from the task.
          title: Content
          type: string
        mcp_tool_calls:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResponseB67C75A8Feba_McpToolCall'
              type: array
            - type: 'null'
          description: MCP tool calls made by the task.
          title: Mcp Tool Calls
        type:
          const: text
          description: >-
            The type of output being returned, as determined by the output
            schema of the task spec.
          title: Type
          type: string
      required:
        - basis
        - type
        - content
      title: TaskRunTextOutput
      type: object
    ResponseB67C75A8Feba_TaskRun:
      description: Status of a task run.
      properties:
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          description: Timestamp of the creation of the task, as an RFC 3339 string.
          examples:
            - '2025-04-24T18:56:22.513132Z'
          title: Created At
        error:
          anyOf:
            - $ref: '#/components/schemas/ResponseB67C75A8Feba_Error'
            - type: 'null'
          description: Error for the run, present only if status is 'failed'.
        interaction_id:
          description: >-
            Identifier for this interaction. Pass this value as
            `previous_interaction_id` to reuse context for a future request.
          examples:
            - trun_e0083b6aac0544eb8686e8d2a76533d2
          title: Interaction ID
          type: string
        is_active:
          description: >-
            Whether the run is currently active, i.e. status is one of
            {'cancelling', 'queued', 'running'}.
          title: Is Active
          type: boolean
        metadata:
          anyOf:
            - additionalProperties:
                anyOf:
                  - type: string
                  - type: integer
                  - type: number
                  - type: boolean
              type: object
            - type: 'null'
          description: User-provided metadata stored with the run.
          examples:
            - {}
          title: Metadata
        modified_at:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Timestamp of the last modification to the task, as an RFC 3339
            string.
          examples:
            - '2025-04-24T18:56:22.513132Z'
          title: Modified At
        processor:
          description: Processor used for the run.
          examples:
            - base
          title: Processor
          type: string
        run_id:
          description: ID of the task run.
          examples:
            - trun_e0083b6aac0544eb8686e8d2a76533d2
          title: Run ID
          type: string
        status:
          description: Status of the run.
          enum:
            - queued
            - action_required
            - running
            - completed
            - failed
            - cancelling
            - cancelled
          examples:
            - queued
            - action_required
            - running
            - completed
            - failed
            - cancelling
            - cancelled
          title: Status
          type: string
        taskgroup_id:
          anyOf:
            - type: string
            - type: 'null'
          description: ID of the taskgroup to which the run belongs.
          title: Taskgroup ID
        warnings:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResponseB67C75A8Feba_Warning'
              type: array
            - type: 'null'
          description: Warnings for the run, if any.
          examples:
            - []
          title: Warnings
      required:
        - run_id
        - interaction_id
        - status
        - is_active
        - processor
        - created_at
        - modified_at
      title: TaskRun
      type: object
    ResponseB67C75A8Feba_FieldBasis:
      description: Citations and reasoning supporting one field of a task output.
      properties:
        citations:
          default: []
          description: List of citations supporting the output field.
          items:
            $ref: '#/components/schemas/ResponseB67C75A8Feba_Citation'
          title: Citations
          type: array
        confidence:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            Confidence level for the output field. Only certain processors
            provide confidence levels.
          examples:
            - low
            - medium
            - high
          title: Confidence
        field:
          description: Name of the output field.
          title: Field
          type: string
        reasoning:
          description: Reasoning for the output field.
          title: Reasoning
          type: string
      required:
        - field
        - reasoning
      title: FieldBasis
      type: object
    ResponseB67C75A8Feba_McpToolCall:
      description: Result of an MCP tool call.
      properties:
        arguments:
          description: Arguments used to call the MCP tool.
          title: Arguments
          type: string
        content:
          anyOf:
            - type: string
            - type: 'null'
          description: Output received from the tool call, if successful.
          title: Content
        error:
          anyOf:
            - type: string
            - type: 'null'
          description: Error message if the tool call failed.
          title: Error
        server_name:
          description: Name of the MCP server.
          title: Server Name
          type: string
        tool_call_id:
          description: Identifier for the tool call.
          title: Tool Call ID
          type: string
        tool_name:
          description: Name of the tool being called.
          title: Tool Name
          type: string
      required:
        - tool_call_id
        - server_name
        - tool_name
        - arguments
      title: McpToolCall
      type: object
    ResponseB67C75A8Feba_Error:
      description: An error message.
      properties:
        detail:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: Optional detail supporting the error.
          title: Detail
        message:
          description: Human-readable message.
          title: Message
          type: string
        ref_id:
          description: Reference ID for the error.
          title: Reference ID
          type: string
      required:
        - ref_id
        - message
      title: Error
      type: object
    ResponseB67C75A8Feba_Warning:
      description: Human-readable message for a task.
      properties:
        detail:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: Optional detail supporting the warning.
          title: Detail
        message:
          description: Human-readable message.
          title: Message
          type: string
        type:
          description: >-
            Type of warning. Note that adding new warning types is considered a
            backward-compatible change.
          enum:
            - spec_validation_warning
            - input_validation_warning
            - warning
          examples:
            - spec_validation_warning
            - input_validation_warning
          title: Type
          type: string
      required:
        - type
        - message
      title: Warning
      type: object
    ResponseB67C75A8Feba_Citation:
      description: A citation for a task output.
      properties:
        excerpts:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          default: null
          description: >-
            Excerpts from the citation supporting the output. Only certain
            processors provide excerpts.
          title: Excerpts
        title:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: Title of the citation.
          title: Title
        url:
          description: URL of the citation.
          title: Url
          type: string
      required:
        - url
      title: Citation
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.