POST
/
v1
/
playground
/
chat
curl --request POST \
  --url https://api.pulze.ai/v1/playground/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "model": "<string>",
  "temperature": 0.5,
  "max_tokens": 2,
  "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "assistant_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "parent_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "plugins": [
    "<string>"
  ],
  "images": [
    "<string>"
  ],
  "files": [
    "<string>"
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required

The user prompt

app_id
string
required

The App ID belonging to this user's org where all the logs will be logged

model
string | null

The name of the model which will be used

temperature
number | null

The temperature of the request

Required range: 0 <= x <= 1
max_tokens
integer | null

The maximum number of tokens for the request

Required range: x >= 1
assistant_id
string | null

The Assistant ID to use for this request

assistant_version_id
string | null

The Assistant version ID to use for this request

conversation_id
string | null

The Conversation ID to use for this request

parent_request_id
string | null

The Parent Request ID to use for this request

plugins
string[]

The list of plugins to enable for the request

images
string[] | null

A list of images that should be analyzed (vision api)

files
string[] | null

A list of files that should be analyzed (images, audio, etc.)

Response

200
_mintlify/placeholder

Successful Response