Integrations
Purpose
This chapter is for developers and integrators who need to call the platform from their own systems: an AI assistant, an application, another agent, or a scheduler. It answers the practical questions in order — which endpoint to use, how to authenticate, what to send and what comes back, as whom the call runs, and what to do when it fails.
Each page shows one task end to end with a working request, then links to the reference chapters (Runtime, A2A, SDK, Gateway) for the full detail. The reference chapters stay the place where method tables, schema rules and configuration are described; this chapter does not repeat them.
What You Can Call
Everything a caller reaches goes through one public address, the Gateway, and is served by the Runtime:
- Tools over MCP — an AI assistant or agent framework connects to an MCP endpoint, lists the tools published to it and calls them.
- Tools over REST — an application lists tools and invokes one with a plain HTTP request.
- Tools through an SDK — the .NET, TypeScript, Python and Java client libraries wrap the MCP endpoint, so an application calls three methods instead of handling the protocol.
- Agents over A2A — another agent sends a message to one of your agents and follows the task it starts.
- Starting hosted agents — an event posted to a webhook, a schedule, or an explicit request starts one of your hosted agents, and every run is recorded as an execution you can follow in the Portal.
The Portal's own administration API is not an integration surface and is not covered here. Neither is outbound integration — the APIs and databases the platform calls on your behalf — which is configured in the Portal and described in the Runtime, ESRA and SQL procedure chapters.
Choosing A Surface
| I want to… | Surface | Endpoint | Authentication | Runs as | Can read the result |
|---|---|---|---|---|---|
| let an AI assistant use our tools | MCP | /runtime/{tenantId}/{clientId}/mcp |
Browser sign-in by the client, a bearer token, or an API key | The caller | Yes, in the tools/call response |
| invoke a tool from an application | Tools API (REST) | /runtime/{tenantId}/{clientId}/tools/{toolId}/invoke |
Bearer token or API key | The caller | Yes, in the HTTP response |
| invoke a tool from an application without handling MCP | SDK | The MCP endpoint, through the client library | API key, OAuth2 client credentials, or a forwarded bearer token | The caller | Yes, as the method's return value |
| let an agent delegate work to one of our agents | A2A | https://{agent}-{tenant}.{agents root} |
Bearer token or API key | The caller | Yes, on the task: blocking response, polling, streaming or push notification |
| start a hosted agent when something happens elsewhere (event) | Webhook | POST /runtime/hooks/agents/{publicId} |
An HMAC signature over the body, or a bearer token; it only proves the sender may fire the trigger | The trigger's run identity, never the sender | No: the sender gets an execution id for correlation only |
| run a hosted agent on a timer | Schedule | None; configured in the Portal | None; the platform starts the run | The trigger's run identity | In the Portal, or by a caller the agent's access policy authorizes |
| start a hosted agent on demand, as a person or an application | On-demand run | POST /runtime/{tenantId}/agents/{agentId}/executions, or Run… in the Portal |
Bearer token or API key | The caller | Yes, in the response or with GET …/agents/executions/{executionId} |
Most applications that call tools should start with an SDK: it handles sessions, pagination and correlation for you. Use the tools API when you cannot take a dependency on a client library, and MCP directly when your AI client or framework already speaks it.
How A Call Travels
Caller (AI client, application, agent)
|
| HTTPS: bearer token or X-Api-Key, optional X-Correlation-Id
v
Gateway ------- single public address; checks that a credential is present,
| rejects malformed or expired tokens, applies edge rate limits
v
Runtime ------- validates the token or API key, resolves tenant and client application,
| finds the tool or agent
v
Governance ---- access policy for this caller and tool (default deny), consented scopes,
| audit record with an execution ID
v
Credentials --- resolves the downstream credential the administrator bound to the tool
|
v
Downstream API or database --> response mapped back to the tool's published fields
Every step writes to the same audit trail under one execution ID, which is what the Portal's Call Flow view shows. See Errors, Limits & Correlation for how to find your call there.
Who A Call Runs As
A caller always runs as itself. The identity in the bearer token or the API key you send is the identity the access policies are evaluated against, the identity the audit trail records, and — when a tool is configured to act on a downstream system on the user's behalf — the user that downstream system sees. The platform never substitutes a different identity for a call you make.
Schedules and webhooks are the exception by design: nobody is present to authenticate, so an administrator configures a run identity for the trigger and the run uses that, never the identity of the system that sent the webhook. Proving who sent a webhook only allows the run to start; it grants the run nothing. See Run Identities.
Pages In This Chapter
- Endpoints & Addressing — the public base URL, every path a caller uses, agent host names, and what to know about TLS, proxies and idle timeouts
- Authentication — bearer tokens from your identity provider, application API keys, the device flow for CLI tools, and user versus application callers
- Connecting MCP Clients — connecting an AI client, and a first
tools/callby hand - Calling Tools Over REST — listing and invoking tools with plain HTTP
- Using The SDKs — choosing a language and a minimal example in each
- Calling Agents Over A2A — discovering an agent, sending a message and following the task
- Starting Agents From Webhooks — creating a webhook trigger, signing deliveries, every response and what a sender should do about it
- Webhook Recipes — GitHub, Jira Cloud, ServiceNow, Power Automate and Logic Apps, custom senders in four languages, and relays for Event Grid and Slack
- Scheduled Runs — timetables, Quartz cron, time zones and daylight-saving time, missed runs and overlap
- On-Demand Agent Runs — Run… in the Portal and the Runtime executions API
- Run Identities — what unattended runs execute as, and registering a client-credentials application in Entra ID, Okta and Keycloak
- Errors, Limits & Correlation — how each surface reports failure, the limits that apply, when to retry, and how to trace a call
- Monitoring & Troubleshooting — the Agent Triggers page, execution statuses, symptoms and fixes across every surface, and what to alert on