VocalDocscontracts 1.65.0

API reference

This reference is generated from the public OpenAPI document of @vocalai/contracts 1.65.0. It lists 346 public operations; the api on the Phase 0 host serves 346 of them, and 0 are released in a later contracts version and not deployed. The api on the Phase 0 host pins contracts 1.65.0 since deploy #77 (2026-10-25). An operation first released in 1.65.0 or earlier is served there unless its page says it is not served yet, with the roadmap slice that owes it; an operation of a later release is released and not deployed.

The public Vocal API. JSON bodies use snake_case; unknown request fields are refused with 400, and clients must ignore unknown response fields. Every response carries X-Request-Id. From 1.51.0 every operation can answer 429 rate_limited, every success answer and every 429 carry the RateLimit-* counters, and every 429 and 503 carries Retry-After. From 1.52.0 the event catalog ships as the *EventData components, each field with its data class in x-vocal-data-class; from 1.62.0 a customer-emitted event of the family custom carries the data of the customer, which travels in no payload in PHI mode. From 1.63.0 the Webhook subscriptions are a resource of their own (/v1/webhooks): a delivery posts the envelope with the headers Vocal-Event-Id, Vocal-Delivery-Id, Vocal-Delivery-Attempt and Vocal-Signature: t=<unix seconds>,v1=<hex>, an HMAC-SHA256 under the subscription secret over the timestamp, a period and the raw body.

Requests carry a bearer credential, Authorization: Bearer ...: an API key (vk_...) used from a server and never from a browser, or a signed-in Member's token. An operation whose description says "Session only" refuses every API key. Error codes, event types, scopes and contracts versions have their own pages.

Resources

GroupWhat it coversOperationsServed on the Phase 0 host
OrganizationThe Organization a credential belongs to, its settings and its Agent defaults.44
MembersThe people of the Organization, their roles and the approval of their sign-ins.88
API keysThe keys of the Organization, listed, created and revoked by Members.44
AgentsThe editable Agent draft, its resolved settings and the publish check.66
Agent versionsPublished Agent versions, their activation, dry runs, renders and tests.1010
PoliciesDeterministic rules bound to hook points of a Call, with versions and dry runs.1010
ToolsFunctions the model may call, and the secret that signs their requests.88
Providers and credentialsThe Provider catalog and the Provider credentials of the Organization.55
Phone numbersThe Phone numbers of the Organization and the Agents they route to.33
CallsStarting, reading, controlling and ending Calls, their events, transcripts and judgments.1111
RecordingsThe recordings of a Call and their audio.33
WebhooksWebhook subscriptions, their secrets, test events and deliveries, and the replay of past events to a subscription.1010
UsageUsage events, the spend counter, the usage of one Call and the evaluation quota.44
Compliance profileThe compliance profile of the Organization and its versions.22
Knowledge basesKnowledge bases, their versions, Sources, Documents, queries and evaluations.3333
Prompt templatesPrompt templates, their versions and renders, the prompt bases and the library.1616
Prompt evaluations and experimentsEvaluation suites, their scenarios, runs, labels and calibrations, and experiments on an Agent.2828
Decision corporaLabelled decision cases of an Agent and the runs that score its decision lane.1313
WorkflowsConversation-scope Workflows, their versions and dry runs.1111
EventsThe event catalog, the event log, the Organization event stream, event filters and the emission of a customer event.1010
JobsLong-running work and its results.44
Pre-call hooksEndpoints Vocal asks before a Call starts.88
Outcomes and analysesThe Outcome of a Call and the analyses of its transcript.44
Call trace and analyticsThe trace of one Call, comparisons, content access and the analytics reads.1313
Capture windows and reveal grantsTime-boxed capture of the Calls of an Agent, and approved reveals of their content.1010
ConnectorsThe Connector catalog.22
ConnectionsThe authorized links of the Organization to external systems.88
Tool bindingsGrants that let an Agent call named tools of a Connection.55
RunsThe run log of tool calls and Triggers executed by the integrations service.22
MCP serversThird-party MCP servers, their tools and the pins of their schemas.88
TriggersTrigger subscriptions and the Trigger events they received.99
MessagesMessages sent through a Connection.33
Notification rulesRules that send a notification when an event happens.55
ContactsThe Contacts of the Organization: create, read, update and delete, lookup, batch upsert, imports, merge and purge, and the consent states of one Contact.1313
ConsentThe consent ledger: consent records, suppression list imports and the check of whether an address may be contacted.44
ProcessesProcess instances started from a Workflow of scope process, their step log, cancellation, and the customer events delivered to an instance.77
Human tasksThe human tasks that a Process assigns to people: list, read, claim and complete.44
CampaignsOutbound Campaigns: the draft and its revisions, the attestation, dry runs, launch, pause, resume and cancellation, enrollments, numbers, progress and exports.2020
PlatformPlatform settings for Vocal operators, the inventory and the prices.1818