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

# POST /v1/playground/messages

`POST /v1/playground/messages`

SendMessage 发送消息

## Request body

- PlaygroundV1SendMessageRequest — SendMessage
  - `attachments` string
  - `content` string
  - `modelId` string
  - `role` string
  - `sessionId` string

## Response `200`

OK

- PlaygroundV1SendMessageReply
  - `message` PlaygroundV1Message — Message 消息
    - `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)
