{ "opencollection": "1.0.0", "info": { "name": "Amigo Account Services API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Services", "type": "folder" }, "items": [ { "info": { "name": "List services", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/services", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "search", "value": "", "type": "query" }, { "name": "sort_by", "value": "", "type": "query" }, { "name": "is_active", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "continuation_token", "value": "", "type": "query" } ] }, "docs": "List services in a workspace with pagination. Requires `Service.view` permission." }, { "info": { "name": "Create a service", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/services", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new service linking an agent and HSM. Validates that agent_id and context_graph_id exist in the workspace. Requires `Service.create` permission." }, { "info": { "name": "Get a service", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/services/:service_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "service_id", "value": "", "type": "path" } ] }, "docs": "Retrieve a service by ID. Requires `Service.view` permission." }, { "info": { "name": "Update a service", "type": "http" }, "http": { "method": "PUT", "url": "https://api.amigo.ai/v1/:workspace_id/services/:service_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "service_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a service's configuration. Requires `Service.update` permission." }, { "info": { "name": "Delete a service", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.amigo.ai/v1/:workspace_id/services/:service_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "service_id", "value": "", "type": "path" } ] }, "docs": "Delete a service. Requires `Service.delete` permission." }, { "info": { "name": "Upsert a service version set", "type": "http" }, "http": { "method": "PUT", "url": "https://api.amigo.ai/v1/:workspace_id/services/:service_id/version-sets/:name", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "service_id", "value": "", "type": "path" }, { "name": "name", "value": "", "type": "path", "description": "Version set name (e.g. 'release')" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replace or create a named version set on a service. Pinned agent/HSM versions are validated." }, { "info": { "name": "Voice Turn", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/services/:service_id/voice-turn", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "service_id", "value": "", "type": "path" } ], "body": { "type": "multipart-form", "data": [] } }, "docs": "Run one WhatsApp-style voice-note turn against the service's agent.\n\nAccepts OGG Opus audio (or any format Deepgram's prerecorded endpoint\naccepts). Server keys the conversation on ``(workspace, service,\nphone_number)`` and returns the agent's spoken reply as OGG Opus." }, { "info": { "name": "Text Turn", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/services/:service_id/text-turn", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "service_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Run one WhatsApp-style text turn against the service's agent." } ] } ], "bundled": true }