v1

latestOpenAPI 3.0.1raw.githubusercontent.com2026-06-02417.7 KB
Playground Chat

Playground chat completion

Creates a chat completion in the playground. Requires ai.operate or ai.manage permission. Uses the same request/response format as the API key chat completion endpoint.

post/api/v1/{workspaceID}/playground/chat/completions

Path parameters

workspaceIDstring required

The workspace ID

Request body

modelstring required

Model ID

streamboolean
temperaturenumber
max_tokensinteger
toolsobject[]

Response

Successful response (non-streaming)

object required