Skip to content
Docs
GitHub

Resolve the session's active model

Preview

Manage execution sessions and rooms, and their files, tasks, storage, databases and managed sandboxes.

Public APIEverruns Cloud and self-hosted Platform

GET/v1/sessions/{session_id}/resolved-model

See authentication for credentials and permissions.

session_id
required
string

Session ID (prefixed, e.g., session_…)

Responses

200Resolved model for turns without a model override

Resolved model for turns without a model override

Media typeapplication/json

The model the runtime will use when a turn has no per-message override.

object
model_id
string | null

Example generated

{
"model_id": "example"
}
400Invalid session ID

Invalid session ID

404Session not found

Session not found

500Internal server error

Internal server error