---
title: "List session participants"
method: GET
path: "/session-participants"
tags: ["Session Participants"]
---

# List session participants

`GET /session-participants`

## Request

- Base URL: `https://api.metorial.com`
- URL: `https://api.metorial.com/session-participants`
- Auth: HTTP bearer

Returns a paginated list of participants in a session.

## Query parameters

- `limit` number
- `after` string
- `before` string
- `cursor` string
- `order` 'asc' | 'desc'
- `type` union
  - 'unknown' | 'provider' | 'system' | 'tool_call' | 'mcp_client' | 'metorial_protocol_client'
  - string[]
- `id` union
  - string
  - string[]
- `agent_id` union
  - string
  - string[]
- `actor_id` union
  - string
  - string[]
- `consumer_id` union
  - string
  - string[]
- `identity_id` union
  - string
  - string[]
- `agent_instance_id` union
  - string
  - string[]
- `session_id` union
  - string
  - string[]
- `session_connection_id` union
  - string
  - string[]
- `session_message_id` union
  - string
  - string[]
- `created_at` object
  - `gt` string, date-time: Only include records after this timestamp for session participant creation time
  - `lt` string, date-time: Only include records before this timestamp for session participant creation time
- `updated_at` object
  - `gt` string, date-time: Only include records after this timestamp for session participant last update time
  - `lt` string, date-time: Only include records before this timestamp for session participant last update time

## Headers

- `Metorial-Version` string

## Response `200`

Successful response

- SessionParticipantList
  - `items` SenderParticipant[], required
    - `object` 'session.participant', required: String representing the object's type
    - `id` string, required: Unique session participant identifier
    - `type` 'unknown' | 'provider' | 'agent' | 'system', required: Participant type
    - `identifier` string, required: Participant identifier
    - `name` string, required: Display name
    - `data` Data, required: Participant payload data
      - `identifier` string, required: Participant-specific identifier within the payload
      - `name` string, required: Participant-specific display name within the payload
    - `provider_id` string, nullable, required: Provider ID if associated
    - `connection_type` 'mcp' | 'metorial_protocol' | 'tool_call', nullable, required
    - `agent_id` string, nullable, required
    - `agent_instance_id` string, nullable, required
    - `identity_actor_id` string, nullable, required
    - `identity_id` string, nullable, required
    - `agent_actor_id` string, nullable, required
    - `agent_client_id` string, nullable, required
    - `consumer_id` string, nullable, required
    - `created_at` string, date-time, required: Timestamp when created
  - `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)
