Skip to main content
POST
/
api
/
ai
/
playground
Generate playground AI response
curl --request POST \
  --url https://your-instance.example.com/api/ai/playground \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "promptId": "<string>",
  "conversationId": "<string>",
  "conversation": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ]
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json
message
string
required
promptId
string
required
conversationId
string
conversation
object[]

Response

AI response generated

Generic response envelope. Endpoint-specific fields are intentionally open.