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

# Get Invocation Result

> Retrieves the status and result of a specific agent invocation.



## OpenAPI

````yaml /openapi.json get /api/hooks/agents/{agentId}/invocations/{invocationId}/result
openapi: 3.0.0
info:
  title: Airtop Agents
  version: 1.0.0
  description: API documentation for Airtop Agent interactions.
servers:
  - url: https://api.airtop.ai
    description: Main API server
security:
  - bearerAuth: []
paths:
  /api/hooks/agents/{agentId}/invocations/{invocationId}/result:
    get:
      summary: Get Invocation Result
      description: Retrieves the status and result of a specific agent invocation.
      operationId: getInvocationResult
      parameters:
        - name: agentId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The unique identifier of the agent
        - name: invocationId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The unique identifier of the invocation to check
      responses:
        '200':
          description: Invocation result retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvocationResultResponse'
components:
  schemas:
    InvocationResultResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - completed
            - running
            - failed
          description: Current status of the invocation
        output:
          type: object
          description: The output data from the agent execution
          nullable: true
        error:
          type: string
          description: Error message if the execution failed
          nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Enter your API Key. You can generate one at
        [https://portal.airtop.ai/api-keys](https://portal.airtop.ai/api-keys).

````