---
title: "List all provider runs"
method: GET
path: "/provider-runs"
tags: ["Provider Runs"]
---

# List all provider runs

`GET /provider-runs`

## Request

- Base URL: `https://api.metorial.com`
- URL: `https://api.metorial.com/provider-runs`
- Auth: HTTP bearer

Returns a paginated list of provider runs across all sessions.

## Query parameters

- `limit` number
- `after` string
- `before` string
- `cursor` string
- `order` 'asc' | 'desc'
- `status` union
  - 'running' | 'stopped'
  - string[]
- `id` union
  - string
  - string[]
- `session_id` union
  - string
  - string[]
- `provider_id` union
  - string
  - string[]
- `session_provider_id` union
  - string
  - string[]
- `session_connection_id` union
  - string
  - string[]
- `provider_version_id` union
  - string
  - string[]
- `created_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider run creation time
  - `lt` string, date-time: Only include records before this timestamp for provider run creation time
- `updated_at` object
  - `gt` string, date-time: Only include records after this timestamp for provider run last update time
  - `lt` string, date-time: Only include records before this timestamp for provider run last update time

## Headers

- `Metorial-Version` string

## Response `200`

Successful response

- ProviderRunList
  - `items` ProviderRun[], required
    - `object` 'session.provider_run', required: String representing the object's type
    - `id` string, required: Unique provider run identifier
    - `status` 'running' | 'stopped', required: Run status
    - `session_id` string, required: Parent session ID
    - `session_provider_id` string, required: Session provider ID
    - `provider_id` string, required: Provider ID
    - `connection_id` string, required: Connection ID
    - `completed_at` string, date-time, nullable, required: Timestamp when run completed
    - `created_at` string, date-time, required: Timestamp when created
    - `updated_at` string, date-time, required: Timestamp when last updated
  - `pagination` object, required
    - `has_more_before` boolean, required
    - `has_more_after` boolean, required

## Other responses

- `400`: Invalid parameters or action
- `401`: Missing or invalid API key
- `403`: The key lacks permission for this resource
- `404`: No such resource
- `422`: Validation failed
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/metorial/apis/metorial-api.md) - [All operations](https://skmtc.dev/metorial/apis/metorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metorial/apis/metorial-api/revisions/10ccc89f3eac?raw)
