Create partner binding
create_partner_bindingCreate a partner delivery binding for an agent — born DRAFT. It POSTs the agent's run result to an external partner endpoint as an HMAC-signed callback. Returns the signing secret ONCE (copy it now; it can't be retrieved later — only rotated). Activate it with set_partner_binding_status once configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Binding name, unique within the organization. | |
| url_key | No | payload mode: the request field name carrying the callback URL (e.g. 'callbackUrl'). | |
| agent_id | Yes | Id of the agent whose run results are delivered. | |
| static_url | No | static mode: the fixed HTTPS endpoint results are POSTed to. | |
| url_source | No | Where the callback URL comes from: 'payload' (a field in each request) or 'static' (a fixed URL). | |
| deliver_from | No | 'api' = job surfaces only (trigger/api/completion); 'all' also delivers conversational turns (widget/stream). | |
| correlation_keys | No | Caller field names echoed verbatim on every callback (e.g. ['externalId']). | |
| deliver_failures | No | Also deliver a failed-run envelope (opt-in; default false). |