POST
/
api
/
open
/
{apiToken}
/
chat
curl --request POST \
  --url https://bibigpt.co/api/open/{apiToken}/chat \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "question": "<string>",
  "history": [
    [
      "<string>"
    ]
  ],
  "language": "<string>",
  "includeDetail": true
}'
{
  "success": true,
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "service": "<string>",
  "sourceUrl": "<string>",
  "htmlUrl": "<string>",
  "costDuration": 123,
  "remainingTime": 123,
  "answer": "<string>",
  "sourceDocuments": [
    {
      "pageContent": "<string>",
      "metadata": {}
    }
  ]
}

Path Parameters

apiToken
string
required

The API token associated with the user (e.g., /api/open/alzp32Ml2a2G)

Body

application/json
url
string
question
string
history
array | null
language
string | null
includeDetail
boolean | null

Response

200 - application/json
success
boolean
id
string
service
string
sourceUrl
string
htmlUrl
string
costDuration
number
remainingTime
number
answer
string
sourceDocuments
object[]