Documentation Index
Fetch the complete documentation index at: https://mintlify.com/everruns/everruns/llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/sessions
Creates a new session. Sessions are top-level entities under organizations, with an agent assigned to work in each session.Request Body
The ID of the agent to assign to this session. Must be a valid agent ID with the
agent_ prefix.Optional title for the session.
Optional tags for organizing and filtering sessions.
Optional model override for this session. When set, this model will be used instead of the agent’s default model.
Optional session-level capabilities that are additive to the agent’s capabilities.When building the RuntimeAgent:
- Agent capabilities are applied first
- Session capabilities are applied after (additive)
ref(string, required): Capability reference ID (e.g., “current_time”, “web_fetch”)config(object, optional): Configuration overrides for the capability
Response
Returns the createdSession object.
The session’s public ID with the
session_ prefix.The ID of the agent assigned to this session.
The session title.
Tags associated with the session.
Model override for this session, if set.
Session-level capabilities (additive to agent capabilities).
Current session status:
started, active, or idle.Status transitions:started→ Initial stateactive→ Processing a turnidle→ Waiting for input
idle.Computed at read time by aggregating features from all active capabilities (not stored).
ISO 8601 timestamp when the session was created.
ISO 8601 timestamp when the session was last updated.
Example
Notes
- The
agent_idfield is required and must reference a valid agent - Session capabilities extend the agent’s capabilities without modifying the agent
- Sessions are direct children of organizations, not agents
- All entity IDs use the dual-ID pattern (internal UUID PK + external public_id)