SAGARIS Calls API
Read calls, including those the AI receptionist answered, with transcripts.
Read calls, including those the AI receptionist answered, with transcripts.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sagaris:sagaris-calls-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SAGARIS Public Calls API
version: 1.0.0
description: 'Versioned public REST API (/api/v1). Authenticate with a workspace-scoped API key as a Bearer token (Authorization: Bearer ros_live_...). The workspace is resolved from the key; no client-supplied workspace id is ever trusted. Writes are rate-limited per key, and the writes that declare an Idempotency-Key header honour it. This document is served unauthenticated as developer documentation.'
termsOfService: https://www.sagaris.ai/terms
contact:
name: SAGARIS Support
url: https://www.sagaris.ai/contact
email: support@sagaris.ai
servers:
- url: https://www.sagaris.ai/api/v1
description: Versioned public API surface.
security:
- ApiKeyAuth: []
tags:
- name: Calls
description: Read calls, including those the AI receptionist answered, with transcripts.
paths:
/calls:
get:
tags:
- Calls
summary: List calls
description: List calls in the key's workspace, newest first. Filter by start time with `since` and keep only AI receptionist calls with `handled_by=ai_receptionist`. Requires the calls.read scope.
operationId: listCalls
security:
- ApiKeyAuth:
- calls.read
parameters:
- name: limit
in: query
required: false
description: Page size. Clamped to 1..100; defaults to 25.
schema:
type: integer
minimum: 1
maximum: 100
default: 25
- name: offset
in: query
required: false
description: Zero-based row offset. Defaults to 0.
schema:
type: integer
minimum: 0
default: 0
- name: since
in: query
required: false
description: ISO-8601 timestamp; only calls that started at or after it.
schema:
type: string
format: date-time
- name: handled_by
in: query
required: false
description: Set to ai_receptionist to return only calls the AI receptionist handled.
schema:
type: string
enum:
- ai_receptionist
responses:
'200':
description: A paginated list of calls.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Call'
meta:
$ref: '#/components/schemas/ListMeta'
error:
type: 'null'
required:
- data
- meta
- error
'400':
description: Invalid JSON body or field validation failure.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, malformed, invalid, revoked, or expired API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key does not hold the required scope for this operation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Query failure.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: The database / API-keys table is not provisioned.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/calls/{id}:
get:
tags:
- Calls
summary: Get a call
description: Retrieve one call in the key's workspace with its transcript (speaker, text and time per turn). Unknown and foreign calls return 404. Requires the calls.read scope.
operationId: getCall
security:
- ApiKeyAuth:
- calls.read
parameters:
- name: id
in: path
required: true
description: The call id, which must belong to the key's workspace.
schema:
type: string
format: uuid
responses:
'200':
description: The call and its transcript.
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/CallDetail'
error:
type: 'null'
required:
- data
- error
'400':
description: Invalid JSON body or field validation failure.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, malformed, invalid, revoked, or expired API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: The key does not hold the required scope for this operation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: The referenced resource was not found in the key's workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Query failure.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: The database / API-keys table is not provisioned.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Call:
type: object
description: One call. `handled_by` is ai_receptionist when the AI receptionist took it.
properties:
id:
type: string
format: uuid
direction:
type: string
nullable: true
status:
type: string
nullable: true
caller_phone:
type: string
nullable: true
caller_name:
type: string
nullable: true
called_number:
type: string
nullable: true
contact_id:
type: string
nullable: true
route_id:
type: string
nullable: true
handled_by:
type: string
enum:
- ai_receptionist
- human
ai_outcome:
type: string
nullable: true
handoff_reason:
type: string
nullable: true
started_at:
type: string
format: date-time
nullable: true
answered_at:
type: string
format: date-time
nullable: true
ended_at:
type: string
format: date-time
nullable: true
duration_seconds:
type: integer
nullable: true
ai_seconds:
type: number
nullable: true
recording_available:
type: boolean
required:
- id
- handled_by
- recording_available
Error:
type: object
description: The standard v1 error envelope.
properties:
data:
type: 'null'
error:
type: string
description: Human-readable error message.
code:
type: string
description: Machine-readable error code (e.g. validation_failed, rate_limited).
correlationId:
type: string
description: Present on unexpected 500s for support correlation.
required:
- data
- error
ListMeta:
type: object
properties:
total:
type: integer
nullable: true
limit:
type: integer
offset:
type: integer
hasMore:
type: boolean
required:
- total
- limit
- offset
- hasMore
CallDetail:
type: object
description: One call with its transcript.
properties:
id:
type: string
format: uuid
direction:
type: string
nullable: true
status:
type: string
nullable: true
caller_phone:
type: string
nullable: true
caller_name:
type: string
nullable: true
called_number:
type: string
nullable: true
contact_id:
type: string
nullable: true
route_id:
type: string
nullable: true
handled_by:
type: string
enum:
- ai_receptionist
- human
ai_outcome:
type: string
nullable: true
handoff_reason:
type: string
nullable: true
started_at:
type: string
format: date-time
nullable: true
answered_at:
type: string
format: date-time
nullable: true
ended_at:
type: string
format: date-time
nullable: true
duration_seconds:
type: integer
nullable: true
ai_seconds:
type: number
nullable: true
recording_available:
type: boolean
transcript:
type: array
items:
type: object
properties:
speaker:
type: string
text:
type: string
at:
type: string
format: date-time
nullable: true
required:
- speaker
- text
required:
- id
- handled_by
- recording_available
- transcript
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
description: 'Workspace-scoped API key presented as a Bearer token (Authorization: Bearer ros_live_...). The workspace is resolved from the key.'