Skip to main content
GET
/
v1
/
agents
/
{agentId}
/
tasks
/
{taskId}
Get a single task by ID
curl --request GET \
  --url https://{host}/v2/workspaces/slug:agent-factory/webhooks/v1/agents/{agentId}/tasks/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "contextId": "<string>",
  "status": {
    "state": "working",
    "timestamp": "<string>",
    "message": {}
  },
  "history": [
    {}
  ],
  "artifacts": [
    {}
  ],
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT or instance API key (iak_*). Send as Authorization: Bearer <token>.

Path Parameters

agentId
string
required
Maximum string length: 64
taskId
string
required
Maximum string length: 128

Response

Task record.

A2A task record.

id
string
contextId
string
status
object
history
object[]
artifacts
object[]
metadata
object
createdAt
string<date-time>