Sessions
API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Successful Response
""""GET /v1/{workspace_id}/sessions/active HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Successful Response
[
{
"call_sid": "text",
"service_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"caller_id": "text",
"direction": "text",
"duration_seconds": 1,
"current_state": "",
"scenario": ""
}
]API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
voicePossible values: Successful Response
Live Agones fleet capacity (workspace-global).
headroom = remaining isolated-unit slots (max_replicas - allocated);
max_replicas/headroom are null when the ceiling isn't configured upstream.
The counts span the whole fleet (one fleet serves every workspace) — this is NOT
per-workspace. fleet/namespace echo which fleet was read (voice per-call
fleet, or the tool-runner background-tool fleet via ?fleet=tool-runner).
Validation Error
GET /v1/{workspace_id}/sessions/fleet-status HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fleet": "text",
"namespace": "text",
"ready": 1,
"allocated": 1,
"total": 1,
"max_replicas": 1,
"headroom": 1,
"by_state": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
Systemexternal_event (factual info) or guidance (instructional)
external_eventPossible values: Successful Response
Session not found.
Validation Error
Voice agent service unavailable.
POST /v1/{workspace_id}/sessions/{call_sid}/inject HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"message": "text",
"sender": "System",
"event_type": "external_event"
}{
"status": "delivered",
"call_sid": "text"
}API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.
World model entity UUID. Provide either entity_id or canonical_id.
World model canonical_id of the form 'source:resource_type:id' (e.g. 'charmhealth:Patient:67890'). The structural regex on CanonicalIdString blocks spaces, names, DOBs, and similar regulated content. Resolved against the SDP-projected world.entities_synced table; a freshly-created entity may not be visible yet if the projection is lagging. Provide either entity_id or canonical_id, not both.
^[A-Za-z0-9._-]+:[A-Za-z0-9._-]+:[A-Za-z0-9._-]+$Custom greeting. Agent auto-greets if omitted.
Successful Response
Service or entity not found.
Validation Error
Agent service unavailable.
POST /v1/{workspace_id}/sessions/start HTTP/1.1
Host: api.platform.amigo.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 166
{
"service_id": "123e4567-e89b-12d3-a456-426614174000",
"entity_id": "123e4567-e89b-12d3-a456-426614174000",
"canonical_id": "text",
"channel_kind": "text",
"greeting": "text"
}{
"conversation_id": "123e4567-e89b-12d3-a456-426614174000",
"session_status": "created",
"channel_kind": "text",
"entity_id": "123e4567-e89b-12d3-a456-426614174000",
"service_id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "text"
}Last updated
Was this helpful?

