Endpoints
| Method | Path | Description |
|---|---|---|
GET | /v1/intentions | List all intentions for the org |
POST | /v1/intentions | Create a new intention (status draft) |
POST | /v1/intentions/{id}/publish | Promote a draft to active |
policy_write or
admin scope on the API key.
Intention object
intent_class is one of reporting, export, admin, lookup,
analysis, write, other. status is draft, active, or
archived — only active intentions match traffic.
List intentions
Create an intention
201 Created with the new intention object. Status defaults to
draft.
Publish
active. The next matching tool call is decided
against the intention immediately.
Errors
403 if the API key lacks policy_write. 409 if a label collides
with an existing intention.
Read next
- Intent Events — what evaluates against the intentions you publish
- Define your intention policies