Resolve the session's active model
GET
/v1/sessions/{session_id}/resolved-model
const url = 'https://app.everruns.com/api/v1/sessions/example/resolved-model';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/resolved-modelParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session_id
required
string
Session ID (prefixed, e.g., session_…)
Responses
Section titled “Responses”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