ai-org
AI organizations — agents that work in your groups like a team, and the sessions they run
26 operations
- GET/ai-agents/{agent_id}One agent.
- POST/ai-agents/{agent_id}/resumeLift an agent's suspension.
- POST/ai-agents/{agent_id}/sessionsStart an agent on a subject. The session is queued until the organization can run it.
- POST/ai-agents/{agent_id}/suspendSuspend an agent: every token it holds is refused from now on.
- GET/ai-modelsEvery model an organization can use, with its current and announced list prices.
- GET/ai-profile-drafts/{draft_id}A persona draft, and once it is written, the persona.
- GET/ai-profile-drafts/{draft_id}/watchWait for a persona draft to be finished.
- GET/ai-sessions/{session_id}One session: its summary, outcome, cost and branch.
- POST/ai-sessions/{session_id}/cancelCancel a session: it ends at its next step.
- POST/ai-sessions/{session_id}/instructionsGive a running session a new instruction.
- POST/ai-sessions/{session_id}/take-overTake a session's work over yourself.
- GET/ai-sessions/{session_id}/transcriptA page of a session's transcript: what the agent wrote, what each tool call returned, the live
- GET/ai-sessions/{session_id}/turnsA session's turns, with their tool calls and summarized reasoning.
- GET/groups/{group_id}/ai-orgAn AI organization: its state, live revision, pause epoch, consent and today's spend.
- POST/groups/{group_id}/ai-orgCreate the AI organization of a top-level group, in draft.
- GET/groups/{group_id}/ai-org/agentsThe organization's agents, with their positions and squads.
- POST/groups/{group_id}/ai-org/consentAccept that the organization's content is sent to the model provider in its region.
- DEL/groups/{group_id}/ai-org/consentWithdraw consent: no model call is made from now on, and a live organization pauses.
- POST/groups/{group_id}/ai-org/pausePause the organization: every agent stops at once.
- POST/groups/{group_id}/ai-org/profile-draftsDraft an agent's persona from a brief. The draft is written in a minute or two.
- POST/groups/{group_id}/ai-org/resumeResume the organization: halted sessions continue.
- GET/groups/{group_id}/ai-org/revisionsThe organization's revisions, newest first.
- GET/groups/{group_id}/ai-org/revisions/{number}One revision of the organization, by number.
- PUT/groups/{group_id}/ai-org/revisions/draftWrite the organization's one draft revision, replacing it whole.
- POST/groups/{group_id}/ai-org/revisions/draft/publishPublish the draft, hiring and retiring the agents it adds and removes.
- GET/groups/{group_id}/ai-org/sessionsThe organization's sessions, newest first.