List messages (PRIMARY data)
const url = 'https://app.everruns.com/api/v1/sessions/example/messages';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.everruns.com/api/v1/sessions/example/messagesParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Session ID (prefixed, e.g., sess_…)
Responses
Section titled “ Responses ”List of messages
Response wrapper for list endpoints.
All list endpoints return responses wrapped in a data field.
object
Array of items returned by the list operation.
Message - primary conversation data (API response)
object
Array of content parts
Text content
object
Image content (base64 or URL)
object
Image file content (reference to uploaded image by ID)
object
Original filename (for display)
ID of the uploaded image (format: img_{32-hex})
Tool call content (assistant requesting tool execution)
object
Tool result content (result of tool execution)
object
ID of the tool call this result corresponds to
Runtime controls (model, reasoning, etc.)
object
Error disclosure override for this turn: “generic”, “standard”, or
“detailed”. Clamped to at most the mode allowed by the agent’s
error_disclosure capability (capability absent => “standard”), so a
client can narrow but never widen disclosure.
Generic client hints — arbitrary key-value pairs declared by the client. Session-level defaults are set at session creation; per-message values override session hints key-by-key (shallow merge).
Examples: {"setup_connection": true, "rich_media": true}
Locale override for this message turn (BCP 47, e.g. uk-UA).
Overrides the session locale for backend-authored strings and prompts.
Model ID to use for this message (format: model_{32-hex}). Overrides session and agent model settings.
Timestamp when this resource was created (RFC 3339).
External actor identity (for messages from external channels like Slack)
object
Opaque actor identifier from the source channel (e.g. Slack user ID “U0123456789”)
Resolved display name (e.g. “Alice”). Falls back to actor_id if absent.
Channel-specific metadata (e.g. team_id, channel_id)
Source channel identifier (e.g. “slack”, “discord”)
Unique message ID (format: message_{32-hex})
Message-level metadata (locale, etc.)
Message role in the conversation
Session ID this message belongs to (format: session_{32-hex})
Example
{ "data": [ { "content": [ { "type": "text" } ], "controls": { "model_id": "model_01933b5a00007000800000000000001" }, "id": "message_01933b5a00007000800000000000001", "role": "system", "session_id": "session_01933b5a00007000800000000000001" } ]}Invalid ID format
Session not found
Internal server error