PUT
/
v1
/
ais
/
{ai_id}
/
gen_prompt
curl --request PUT \
  --url https://api.gbase.ai/v1/ais/{ai_id}/gen_prompt \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt_in": "<string>",
  "ai_id": "<string>",
  "cur_prompt": "<string>",
  "stream": true,
  "message_id": "<string>"
}'
{
  "prompt": "<string>",
  "role": "<string>",
  "general": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.