POST
/
v1
/
chat
/
completions
cURL
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

model
enum<string>
required

ID of the model to use

Available options:
deepseek-r1-70b-online,
deepseek-r1-online,
deepseek-r1-70b-fast-online,
deepseek-r1-fast-online
messages
object[]
required

A list of messages comprising the conversation so far

stream
boolean
default:false

Whether to stream back partial progress

Response

Successful Response

id
string
required

Unique identifier for the completion

object
string
required

Object type, always 'chat.completion'

created
integer
required

Unix timestamp of when the completion was created

model
string
required

Model used for the completion

choices
object[]
required

Array of completion choices