Skip to main content
GET
/
api
/
hooks
/
agents
/
{agentId}
/
invocations
/
{invocationId}
/
result
Get Invocation Result
curl --request GET \
  --url https://api.airtop.ai/api/hooks/agents/{agentId}/invocations/{invocationId}/result \
  --header 'Authorization: Bearer <token>'
{
  "status": "completed",
  "output": {},
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your API Key. You can generate one at https://portal.airtop.ai/api-keys.

Path Parameters

agentId
string<uuid>
required

The unique identifier of the agent

invocationId
string<uuid>
required

The unique identifier of the invocation to check

Response

200 - application/json

Invocation result retrieved successfully

status
enum<string>

Current status of the invocation

Available options:
completed,
running,
failed
output
object

The output data from the agent execution

error
string | null

Error message if the execution failed