Skip to content

Create chat.​

POST
/backend/v1/chats

Create a new chat with an LLM.

Accepts two types of request bodies, allowing you to create chats from prompts or prompt templates.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"promptId": "string"
}

Responses​

Successful Response

application/json
JSON
{
  
"id": "string"
}

Playground​

Server
Authorization
Body

Samples​

Powered by VitePress OpenAPI

Updated at: