Create Share Link
Authentication
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
Agent id (prefixed external id, agent_...).
Headers
Request
Tools to opt this link into, by id — the same tool_… ids
listAgentTools returns. Omit for the default posture (call
controls and knowledge search only). Opting a webhook or MCP
tool in lets a stranger drive it, so it is an explicit act
rather than something inherited from the agent. Every id must
name a tool attached to this agent; anything else is a 400.
Response headers
Response
The created link, including its one-time token.
The link’s resolved lifecycle state, computed server-side so every client agrees on what “expired” means.
What a new call can still draw on: the budget minus settled and in-flight time. Reservations count against it, so two simultaneous starts cannot both spend the tail.
How many calls this link may run at once. Bounded separately from the workspace’s own concurrency cap, so a widely-shared link cannot consume the capacity the owner’s real callers need.
Tools the owner opted this link into, by id — the same
tool_… ids listAgentTools returns. Empty means the
default posture: the agent’s built-in call controls and
knowledge search only, with no webhook, MCP or transfer tool —
a link recipient is a stranger, not the owner’s customer.