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

# Get Execution

> Retrieves the result of a single task or tool execution, including its status,
output, inputs, and timing. Secret values in `output` and `inputs` are redacted
according to the task's parameter schema.




## OpenAPI

````yaml /openapi.yaml get /v1/executions/{executionId}
openapi: 3.1.0
info:
  title: AnchorBrowser API
  version: 1.0.0
  description: APIs to manage all browser-related actions and configuration.
servers:
  - url: https://api.anchorbrowser.io
    description: API server
security: []
paths:
  /v1/executions/{executionId}:
    get:
      tags:
        - Executions
      summary: Get Execution
      description: >
        Retrieves the result of a single task or tool execution, including its
        status,

        output, inputs, and timing. Secret values in `output` and `inputs` are
        redacted

        according to the task's parameter schema.
      parameters:
        - name: executionId
          in: path
          required: true
          description: The execution result ID.
          schema:
            type: string
      responses:
        '200':
          description: Execution retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  taskId:
                    type: string
                  taskVersionId:
                    type: string
                  version:
                    type: string
                  isDraft:
                    type: boolean
                  status:
                    type: string
                    enum:
                      - success
                      - failure
                      - timeout
                      - cancelled
                      - queued
                      - running
                  output:
                    type: string
                    nullable: true
                    description: Execution output (secret values redacted).
                  errorMessage:
                    type: string
                    nullable: true
                  browserSessionId:
                    type: string
                    nullable: true
                  startTime:
                    type: string
                    description: ISO 8601 start timestamp.
                  executionTime:
                    type: number
                    nullable: true
                    description: Execution duration in milliseconds.
                  hasLogs:
                    type: boolean
                  inputs:
                    type: object
                    nullable: true
                    additionalProperties: true
                    description: >-
                      Input parameters used for the run (secret values
                      redacted).
                  toolName:
                    type: string
                    nullable: true
                  toolPublicId:
                    type: string
                    nullable: true
                  tags:
                    type: array
                    items:
                      type: string
        '404':
          description: Execution not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlatErrorResponse'
        '500':
          description: Failed to get execution by ID.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlatErrorResponse'
      security:
        - api_key_header: []
components:
  schemas:
    FlatErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
        code:
          type: integer
          description: HTTP status code.
      required:
        - error
  securitySchemes:
    api_key_header:
      type: apiKey
      in: header
      name: anchor-api-key
      description: API key passed in the header

````