Skip to main content
GET
List everything an agent can use on calls
Requires agents:read. Everything an agent can use on its calls, in one list grouped by integration, the way the agent’s Tools & integrations tab in the dashboard shows it:
  • Apps: one entry per connected account, titled "<App> · <account>" (for example Google Calendar · Simons Calendar), with the actions the agent has.
  • Webhook: an HTTP request to your system. One entry per saved webhook tool.
  • Call transfer: one entry per saved transfer tool. It needs the agent to take phone calls.
  • End call: built in, and always on.
Entries the agent has on every step come first, in the order they were added. Entries used only on some steps of the workflow follow, each with those steps in used_in. End call is last.

Entries

Where each input comes from

Each action’s inputs names, input by input, where the value comes from. These are the same sources a workflow binding uses: overrides lists the conversation steps that set their own sources for an action the agent has on every step. Inputs a step does not name come from the agent’s. bindable (apps only) says whether the action’s tool can already take a fixed configuration input, such as which calendar, per agent. A tool made before that existed answers false; a write that sets such an input updates it first. To set sources, send inputs to PATCH /agents/{id}/integrations/{integration_id}. To list an account’s calendars for a fixed calendar, use GET /tool-connections/{id}/options/calendars. To give the agent a saved webhook or call transfer on every step, send {"tool_id": "..."} to POST /agents/{id}/integrations.

Agents on the previous engine

A prompt or flow agent answers "engine": "legacy" with the tools attached to it (a flow agent: the tools its steps use, with the steps in used_in), and End call when it can end calls. These entries are read-only here: their actions and inputs are not listed.

Errors

Authorizations

Authorization
string
header
required

Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys. No key is 401 MISSING_KEY; a key that is not one of ours, or is revoked, is 401 INVALID_KEY; an expired one is 401 EXPIRED_KEY. A valid key without the scope an operation needs is 403 INSUFFICIENT_SCOPE on every operation, and the message names the scope. Every response, a 401 included, carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a minute per API key. Every 429, whatever its code, carries Retry-After (whole seconds, never zero): the per-key budget's RATE_LIMIT asks for what is left of the minute, a route's daily cap (RATE_LIMITED) for the time until that cap resets. All four headers are listed in Access-Control-Expose-Headers, so a browser can read them. A path the API does not serve (an unknown sub-path, an id left empty) is 404 ROUTE_NOT_FOUND, and a method a served path does not take is 405 METHOD_NOT_ALLOWED with an Allow header; both are answered before any scope check, and nothing is read or changed. A trailing slash is ignored where it cannot be an id left empty (POST /calls/ is POST /calls) and refused where it can (GET /calls/). A doubled slash inside a path is merged into one before the request reaches the API (GET //calls is GET /calls).

Path Parameters

id
string<uuid>
required

Response

The agent's tools & integrations.

engine
enum<string>
required
Available options:
workflow_v1,
legacy
data
object[]
required
draft_version
integer | null

The saved draft version this was read from (send it as expected_version on a write). Null for an agent on the previous engine or without a draft.

live_version
integer | null

The published version, or null.

draft_has_changes
boolean

The draft holds changes the published version does not.

channels
enum<string>[]

How calls reach the agent (its workflow's channels). phone covers incoming calls and the calls the agent places; web covers browser calls and needs no number. A call on a channel the published version leaves out fails at preparation (artifact_unavailable). A call transfer needs phone.

Available options:
phone,
web