List the sessions of a participant of a roleplay

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://help-api.meltingspot.io/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "API MCP server": {
    "url": "https://help-api.meltingspot.io/mcp"
  }
}

Close
GET /v1/roleplays/{roleplayId}/participants/{roleplayParticipantId}/sessions

List the sessions of a participant of a roleplay, newest first. The sessions never started are not listed. No content of a session is returned.

Path parameters

  • roleplayId string Required

    The id of the roleplay

  • roleplayParticipantId string Required

    The id of the roleplay participant

Query parameters

  • page integer | null

    The page number in a paginated set of results

  • limit integer | null

    The limit of results to be returned per page

    Maximum value is 250.

  • statusGroup object

    Filters on status group

    Hide statusGroup attributes Show statusGroup attributes object
    • statusGroup[eq] string

      Search sessions with a specific status group

      Values are InProgress, Processing, Completed, Failed, or Cancelled.

    • statusGroup[in] array[string]

      Search sessions with one of these status groups

      Values are InProgress, Processing, Completed, Failed, or Cancelled.

Responses

  • 200 application/json

    Roleplay sessions returned successfully

    Hide response attributes Show response attributes object
    • items array[object] Required

      The items found

      Hide items attributes Show items attributes object
      • id string Required

        The id of the roleplay session.

      • roleplayId string Required

        The id of the roleplay.

      • roleplayParticipantId string Required

        The id of the roleplay participant.

      • spotMemberId string Required

        The id of the Spot member who played.

      • status string Required

        The status of the session.

        Values are Created, Ongoing, Ended, RecordingReady, TranscriptReady, SkillEvaluationReady, Completed, Failed, Cancelled, Purged, or Incomplete.

      • statusGroup string | null Required

        The group of statuses the learner reads the status through.

        Values are InProgress, Processing, Completed, Failed, or Cancelled.

      • modality string Required

        The modality the session was played in, frozen at its creation.

        Values are Text, Audio, or Video.

      • createdAt string(date-time) Required

        The creation date of the session.

      • startedAt string(date-time) | null Required

        The start date of the session.

      • endedAt string(date-time) | null Required

        The end date of the session (the end request).

      • durationMs integer | null Required

        The duration of the session in milliseconds, from its start to its end. Null while it is in progress.

      • globalScore number | null Required

        The global score of a completed session, between 0 and 1 (not rounded). Null for any other status, or when no skill is scored.

    • total integer Required

      The total number of items found

  • 400

    Malformed payload

  • 401

    Unauthorized

  • 403

    Forbidden, or roleplay disabled for this Spot

  • 404

    Roleplay or participant not found

GET /v1/roleplays/{roleplayId}/participants/{roleplayParticipantId}/sessions
curl \
 --request GET 'https://openapi.meltingspot.io/v1/roleplays/{roleplayId}/participants/{roleplayParticipantId}/sessions'
Response examples (200)
{
  "items": [
    {
      "id": "string",
      "roleplayId": "string",
      "roleplayParticipantId": "string",
      "spotMemberId": "string",
      "status": "Created",
      "statusGroup": "InProgress",
      "modality": "Text",
      "createdAt": "2026-05-04T09:42:00Z",
      "startedAt": "2026-05-04T09:42:00Z",
      "endedAt": "2026-05-04T09:42:00Z",
      "durationMs": 42,
      "globalScore": 42.0
    }
  ],
  "total": 42
}