List sessions
Returns a paginated list of sessions.
Request
- Base URLhttps://api.metorial.com
- AuthHTTP bearer
Query parameters
Filter by status (active, archived)
Filter by session ID(s)
Filter by connected agent ID(s)
Filter by connected identity actor ID(s)
Filter by connected consumer ID(s)
Filter by connected identity ID(s)
Filter by session template ID(s)
Filter by session provider ID(s)
Filter by provider ID(s)
Filter by provider deployment ID(s)
Filter by provider config ID(s)
Filter by provider auth config ID(s)
Filter session creation time by date range
Filter session last update time by date range
Search by session ID, or by the name of a related provider, auth method, deployment, config, auth config, agent, actor, identity, or consumer
Headers
Pin the dated API version for this request, e.g. 2025-01-01. Defaults to the version configured for the environment.
Response
Successful response
Example response
{
"items": [
{
"id": "ses_4dEfGhJkLmNpQrSt",
"name": "Production Session",
"description": "Session for production environment",
"connection_url": "https://mcp.metorial.com/mcp/ses_4dEfGhJkLmNpQrSt",
"client_secret": "metorial_fk_4eC39HqLyjWDarjtT1zdp7dc",
"providers": [
{
"id": "spr_3cDeFgHjKlMnPqRs",
"provider_id": "pro_5gHjKlMnPqRsTuVw",
"session_id": "ses_4dEfGhJkLmNpQrSt",
"from_template_id": "stm_2bCdEfGhJkLmNpQr",
"from_template_provider_id": "stp_3cDeFgHjKlMnPqRs",
"deployment": {
"id": "pde_1aBcDeFgHjKlMnPq",
"name": "Production",
"description": "Production deployment",
"provider_id": "pro_5gHjKlMnPqRsTuVw",
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
},
"config": {
"id": "pcf_7dEfGhJkLmNpQrSt",
"name": "Production Config",
"description": "Configuration for production environment",
"provider_id": "pro_5gHjKlMnPqRsTuVw",
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
},
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
}
],
"created_at": "2025-09-15T10:30:00.000Z",
"updated_at": "2026-01-10T14:45:00.000Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.