Delete a trigger an agent made or a client put
Deletes a trigger one of the Agent's agents made with the triggers tool (origin: agent) or a client put (origin: api), with agent.trigger_deleted on the Agent's events; its runs stay. A trigger its manifest declares is refused (trigger_from_manifest): save a version without it, or pause it.
AuthorizationBearer <token>An application key of the Tenant (PUT /v1/tenant/keys/{keyId}), or Studio's key, derived from the admin key. With Nylorun-Subject and Nylorun-Scopes, it acts for that person, narrowed to those scopes. Never accepted from a browser (Origin).
agentId*stringThe Agent id, percent-encoded
triggerId*stringThe trigger's id: in the manifest's runtime.triggers, or the one its agent gave it
Nylorun-Protocol*stringThe protocol version, 18
Nylorun-Subject?stringThe person an application key acts for
Nylorun-Scopes?stringThe subject's space-separated scopes; required with a subject
Deleted
application/json- response
id*stringcurl -X DELETE "https://example.com/v1/agents/string/triggers/string" \ -H "Nylorun-Protocol: string"{ "id": "string"}Put a trigger on an Agent PUT
Creates or replaces the Agent's trigger `triggerId` of origin `api`: a `Trigger` exactly as a definition's `runtime.triggers` entry holds it (one of `schedule` with `timezone`, `at` or `webhook`; `session`; `prompt`), and an optional `title`. A new one is active with its next time; a replaced one gets its next time again and keeps its status, so a paused one stays paused. The same body again changes nothing and records no event. The checks and limits are a definition's; `runtime.limits.triggers.count` covers the triggers the Agent's agents made and those put here. Upgrades never touch it; `DELETE` removes it. Records `agent.trigger_created` or `agent.trigger_updated` (with `changed`) on the Agent's events. Host feature `api-triggers`.
Pause a trigger POST
It stops firing until it is resumed; a run already started or queued goes on.