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

# Get Task Run Result

> Get the results of a specific task run

<RequestExample>
  ```bash theme={null}
  curl --request GET \
    --url 'http://localhost:2003/api/v1/task/task_123/run/result?runId=run_456' \
    --header 'x-api-key: <your-api-key>'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": {
      "status": "completed",
      "error": null,
      "output": {
        "summary": "Task completed successfully"
      },
      "dataTable": [
        {
          "title": "Sample Data",
          "value": 123
        }
      ]
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /task/{taskId}/run/result
openapi: 3.1.0
info:
  title: Browserable API
  description: API for managing automated browser tasks
  version: 1.0.0
servers:
  - url: https://api.browserable.ai/api/v1/
    description: API Server
security:
  - apiKey: []
paths:
  /task/{taskId}/run/result:
    get:
      summary: Get Task Run Result
      description: Get the results of a specific task run
      parameters:
        - name: taskId
          in: path
          required: true
          description: The ID of the task
          schema:
            type: string
            example: task_123
        - name: runId
          in: query
          required: false
          description: >-
            The ID of the run. If not provided, returns results of the most
            recent run.
          schema:
            type: string
            example: run_456
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates if the request was successful
                    example: true
                  data:
                    type: object
                    properties:
                      status:
                        type: string
                        enum:
                          - scheduled
                          - running
                          - completed
                          - error
                        description: Status of the run
                        example: completed
                      error:
                        type: string
                        description: Error message if the run failed
                        example: null
                      output:
                        type: object
                        description: Output data from the completed run
                        example:
                          summary: Task completed successfully
                      dataTable:
                        type: array
                        description: Array of documents collected during the run
                        items:
                          type: object
                        example:
                          - title: Sample Data
                            value: 123
                  error:
                    type: string
                    description: Error message if the request failed
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````