Skip to main content
POST
/
aichat
/
conversations
Conversations
curl --request POST \
  --url https://api.acedata.cloud/aichat/conversations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "gpt-5.1",
  "question": "<string>",
  "id": "<string>",
  "preset": "<string>",
  "stateful": true,
  "references": [
    "<string>"
  ]
}
'
{
  "id": "64a67fff-61dc-4801-8339-2c69334c61d6",
  "answer": "I am a highly intelligent question answering AI. If you ask me a question, I will do my best to give you a helpful answer."
}

Authorizations

Authorization
string
header
required

Headers

accept
enum<string>

Specifies the format of the response from the server.

Available options:
application/json,
application/x-ndjson

Body

application/json
model
enum<string>
required

The model to be used for answering the prompt.

Available options:
gpt-5.1,
gpt-5.1-all,
gpt-5,
gpt-5-mini,
gpt-5-nano,
gpt-5-all,
gpt-4,
gpt-4-all,
gpt-4-turbo,
gpt-4-turbo-preview,
gpt-4-vision-preview,
gpt-4.1,
gpt-4.1-2025-04-14,
gpt-4.1-mini,
gpt-4.1-mini-2025-04-14,
gpt-4.1-nano,
gpt-4.1-nano-2025-04-14,
gpt-4.5-preview,
gpt-4.5-preview-2025-02-27,
gpt-4o,
gpt-4o-2024-05-13,
gpt-4o-2024-08-06,
gpt-4o-2024-11-20,
gpt-4o-all,
gpt-4o-image,
gpt-4o-mini,
gpt-4o-mini-2024-07-18,
gpt-4o-mini-search-preview,
gpt-4o-mini-search-preview-2025-03-11,
gpt-4o-search-preview,
gpt-4o-search-preview-2025-03-11,
o1,
o1-2024-12-17,
o1-all,
o1-mini,
o1-mini-2024-09-12,
o1-mini-all,
o1-preview,
o1-preview-2024-09-12,
o1-preview-all,
o1-pro,
o1-pro-2025-03-19,
o1-pro-all,
o3,
o3-2025-04-16,
o3-all,
o3-mini,
o3-mini-2025-01-31,
o3-mini-2025-01-31-high,
o3-mini-2025-01-31-low,
o3-mini-2025-01-31-medium,
o3-mini-all,
o3-mini-high,
o3-mini-high-all,
o3-mini-low,
o3-mini-medium,
o3-pro,
o3-pro-2025-06-10,
o4-mini,
o4-mini-2025-04-16,
o4-mini-all,
o4-mini-high-all,
deepseek-r1,
deepseek-r1-0528,
deepseek-v3,
deepseek-v3-250324,
grok-3
question
string
required

The prompt or question to be answered.

id
string

The unique identifier of the conversation.

preset
string

The preset model to be used for answering the prompt.

stateful
boolean

Whether to use the stateful conversation or not.

references
string[]

The references or sources to be used for answering the prompt.

Response

OK, the request was successful.

id
string

The unique identifier of the conversation.

answer
string

The generated answer for the given prompt.