POST
/
v1
/
completions
curl --request POST \
  --url https://api.algo-tech.ai/v1/completions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "deepseek-ai/DeepSeek-R1",
  "prompt": "The sky is",
  "temperature": 1,
  "max_tokens": 2000,
  "stream": true
}'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "model": "<string>",
  "choices": [
    {
      "index": 123,
      "message": "<any>",
      "finish_reason": "stop"
    }
  ],
  "usage": {}
}

Authorizations

Authorization
string
header
required

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

Headers

Authorization
string
default:Bearer <API_KEY>
required

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

Body

application/json

Response

200
application/json

OK

The response is of type object.