---
title: "GET /v1/playground/messages"
method: GET
path: "/v1/playground/messages"
tags: ["PlaygroundService"]
---

# GET /v1/playground/messages

`GET /v1/playground/messages`

ListMessages 列出消息

## Query parameters

- `sessionId` string
- `role` string
- `limit` integer
- `offset` integer

## Response `200`

OK

- PlaygroundV1ListMessagesReply
  - `messages` PlaygroundV1Message[]
    - `attachments` string
    - `billedMicros` string
    - `content` string
    - `contentTokens` integer
    - `createdAt` string, date-time
    - `id` string
    - `latencyMs` integer
    - `modelId` string
    - `role` string
    - `sessionId` string
    - `userId` string

---

[API](https://skmtc.dev/apiqik/apis/apiqik-api.md) · [All operations](https://skmtc.dev/apiqik/apis/apiqik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apiqik/apiqik-api/revisions/e06b96127408/schema)
