Structs§
- Create
Session ApiRequest - Request body for POST /sessions.
- Create
Session Response - Response body for POST /sessions.
- Delegate
Request - Request body for POST /agents/:id/delegate.
- Error
Response - Error response body.
- Policy
Explain Request - Request body for POST /policy/explain.
- Policy
Explain Response - Response body for POST /policy/explain.
- Policy
Validate Request - Request body for POST /policy/validate.
- Register
Agent Request - Request body for POST /agents.
- Register
Agent Response - Response body for POST /agents.
- Session
Close Response - Response body for POST /sessions/:id/close.
- Session
Status Response - Response body for GET /sessions/:id.
- Token
Request - Request body for POST /agents/:id/token.
- Token
Response - Response for token issuance.
Functions§
- close_
session - POST /sessions/:id/close: close a session and return summary.
- create_
session - POST /sessions: create a new task session.
- deactivate_
agent - DELETE /agents/:id: deactivate agent + cascade.
- delegate_
agent - POST /agents/:id/delegate: create delegation to sub-agent.
- explain_
policy - POST /policy/explain: dry-run policy evaluation without executing.
- get_
agent - GET /agents/:id: get agent details.
- get_
session - GET /sessions/:id: get live session status.
- issue_
agent_ token - POST /agents/:id/token: issue new short-lived credential.
- list_
agents - GET /agents: list all agents.
- list_
delegations - GET /agents/:id/delegations: list incoming and outgoing delegations.
- policy_
schema - GET /policy/schema: returns the policy TOML schema as JSON Schema.
- register_
agent - POST /agents: register a new agent.
- reload_
policy - POST /policy/reload: re-read the policy file and atomically swap the config.
- router
- Build the axum router for the lifecycle API.
- validate_
policy - POST /policy/validate: validate a policy TOML string without loading it.