POST
/
v1
/
chat
/
completions
curl --request POST \
  --url https://api.search1api.com/v1/chat/completions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "deepseek-r1-70b-online",
  "messages": [
    {
      "role": "system",
      "content": "<string>"
    }
  ],
  "stream": false
}'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "model": "<string>",
  "choices": [
    {
      "index": 123,
      "message": {
        "role": "system",
        "content": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Chat completion parameters

The body is of type object.

Response

200
application/json

Successful Response

The response is of type object.