List session templates
Returns a paginated list of session templates.
Request
- Base URLhttps://api.metorial.com
- AuthHTTP bearer
Query parameters
Which resources to return under the resource ownership rules: shared (resources without an owner), usable (shared resources plus resources the caller can use), or all. Defaults to shared when ownership is enforced for the project and to all otherwise.
Filter by status (active, archived)
Filter by session template ID(s)
Filter templates that include sessions with these IDs
Filter templates that include session providers with these IDs
Filter templates that include providers with these IDs
Filter templates that include provider deployments with these IDs
Filter templates that include provider configs with these IDs
Filter templates that include provider auth configs with these IDs
Filter session template creation time by date range
Filter session template last update time by date range
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": "stm_2bCdEfGhJkLmNpQr",
"name": "Production Template",
"description": "Template for production sessions",
"providers": [
{
"id": "stp_3cDeFgHjKlMnPqRs",
"provider_id": "pro_5gHjKlMnPqRsTuVw",
"session_template_id": "stm_2bCdEfGhJkLmNpQr",
"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.