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

# Get execution result

> Retrieves the status and result of a specific tool execution.



## OpenAPI

````yaml /api-reference/openapi.en.json get /tool-executions/{execution_id}
openapi: 3.1.0
info:
  title: UBIK Public API
  description: Publicly accessible API endpoints for UBIK.
  version: '1.0'
servers:
  - url: https://app.ubik-agent.com/api/v1
    description: Production Server
security: []
paths:
  /tool-executions/{execution_id}:
    get:
      tags:
        - Public API
        - Public API - Tool Executions
      summary: Get execution result
      description: Retrieves the status and result of a specific tool execution.
      operationId: get_public_tool_execution_tool_executions__execution_id__get
      parameters:
        - name: execution_id
          in: path
          required: true
          schema:
            type: string
            description: The unique identifier of the tool execution.
            title: Execution Id
          description: The unique identifier of the tool execution.
        - name: X-End-User-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-End-User-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicToolExecutionResult'
              example:
                id: exec_123456789
                tool_id: d1e2f3a4-b5c6-7890-1234-567890abcdef
                user_id: 123
                status: completed
                inputs:
                  stock_symbol: ACME
                outputs:
                  revenue: 1000000
                  profit: 250000
                created_at: '2025-09-28T12:00:00Z'
                started_at: '2025-09-28T12:00:01Z'
                completed_at: '2025-09-28T12:00:05Z'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    PublicToolExecutionResult:
      properties:
        id:
          type: string
          title: Id
          description: The unique identifier for the execution instance.
        tool_id:
          type: string
          format: uuid
          title: Tool Id
          description: The ID of the tool that was executed.
        user_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: User Id
          description: The ID of the user who initiated the execution.
        status:
          type: string
          title: Status
          description: The final status of the execution.
        inputs:
          additionalProperties: true
          type: object
          title: Inputs
          description: The original inputs provided to the tool.
        outputs:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Outputs
          description: The outputs generated by the tool.
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: If the execution failed, this contains the error message.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Timestamp when the execution was created.
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
          description: Timestamp when the execution started processing.
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
          description: Timestamp when the execution completed or failed.
      type: object
      required:
        - id
        - tool_id
        - status
        - inputs
        - created_at
      title: PublicToolExecutionResult
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-KEY

````