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

# POST /v1/playground/sessions

`POST /v1/playground/sessions`

CreateSession 创建会话

## Request body

- PlaygroundV1CreateSessionRequest — CreateSession
  - `categoryId` string
  - `modelId` string
  - `params` string
  - `systemPrompt` string
  - `title` string

## Response `200`

OK

- PlaygroundV1CreateSessionReply
  - `session` PlaygroundV1Session — Session 会话
    - `categoryId` string
    - `createdAt` string, date-time
    - `id` string
    - `modelId` string
    - `params` string
    - `status` string
    - `systemPrompt` string
    - `title` string
    - `totalBilledMicros` string
    - `totalTokens` string
    - `updatedAt` string, date-time
    - `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)
