Skip to content

Resolve the session's active model

GET
/v1/sessions/{session_id}/resolved-model
curl --request GET \
--url https://app.everruns.com/api/v1/sessions/example/resolved-model
session_id
required
string

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

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
Examplegenerated
{
"model_id": "example"
}

Invalid session ID

Session not found

Internal server error