Skip to main content
GET
/
v1
/
a2a
/
sessions
/
{contextId}
Get an A2A session
curl --request GET \
  --url https://api.getsly.ai/v1/v1/a2a/sessions/{contextId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "context_id": "<string>",
    "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "open",
    "task_count": 123,
    "total_value": "<string>",
    "currency": "<string>",
    "opened_at": "2023-11-07T05:31:56Z",
    "closed_at": "2023-11-07T05:31:56Z"
  },
  "tasks": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "from_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "to_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "skill_id": "<string>",
      "payload": {},
      "status": "pending",
      "created_at": "2023-11-07T05:31:56Z",
      "deliverable": {},
      "rating": 3,
      "payment": {
        "amount": "<string>",
        "currency": "<string>",
        "method": "<string>"
      },
      "completed_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).

Path Parameters

contextId
string
required

Response

Session detail

data
object
required
tasks
object[]
required