Developer API

OpenAI-compatible AI API

The SentX API is an OpenAI-compatible chat completions API for Victoria, the own model of SentX SI: point a standard OpenAI client at https://api.sentx.ai/v3, use the model name sentx-3 and your SentX key, and pay per token from your wallet balance.

Updated

What is the SentX API?

It is an OpenAI-compatible API for Victoria, the model of SentX SI: point a standard OpenAI client at https://api.sentx.ai/v3, send the model name sentx-3, and pay per token from your wallet.

The interface is deliberately familiar: the same paths, request bodies, streaming events and error shapes as the OpenAI Chat Completions format, with one model name, sentx-3. Change the base URL and the key in a working client and the rest of the integration can stay as it is.

Base URL · Chat Completions format
https://api.sentx.ai/v3
Model
sentx-3
model name
Input
USD 3.00
per 1M tokens
Output
USD 10.00
per 1M tokens

How do I send a first request?

Create a key in Settings → Manage API, top up the wallet (USD 5 to 1,000), then send a POST to /chat/completions with the key as a bearer token. No SDK is required.

Four steps, and no SDK is required: a plain HTTPS POST with a bearer token gets a first answer, and the same call works from Python, JavaScript, curl or any OpenAI client.

  1. Sign in, then open Settings → Manage API.
  2. Create a key. Keys start with sk- and are shown once.
  3. Top up your wallet balance (USD 5 to 1,000) and send a request.
Example request (curl)
curl https://api.sentx.ai/v3/chat/completions \
  -H "Authorization: Bearer $SENTX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "sentx-3", "messages": [{"role": "user", "content": "Hello!"}]}'

Is the SentX API compatible with OpenAI clients?

In request and response format, yes: paths, request bodies, streaming events and error shapes follow the OpenAI Chat Completions format, and the official OpenAI SDKs work with the SentX base URL. Feature parity with every OpenAI endpoint is not implied.

Compatibility here means format compatibility, not feature parity. Requests and responses follow the Chat Completions shape, including streaming, and the official OpenAI SDKs work with the SentX base URL. Compatibility with every client or every OpenAI endpoint is not implied.

  • Requests and responses follow the OpenAI Chat Completions format, including streaming.
  • OpenAI SDKs work with the SentX base URL and key; the documentation has Python, JavaScript and curl examples.
  • SentX adds fields for web sources. Preserve them if your client displays citations.
  • The legacy /v1 endpoint keeps working. New integrations should use /v3.
  • Compatibility with every client or every OpenAI endpoint is not implied.

Does the API remember a conversation between requests?

No. The API is stateless, so send the full conversation with each request; pass a stable user value when you want Victoria's per-user memory to apply to that person.

The API is stateless: send the full conversation with each request. To give an end user continuity across conversations, pass a stable user value for that person; Victoria keeps per-user memory, and recall is selective.

How is API usage billed?

From your wallet balance by measured tokens: USD 3 per 1M input tokens and USD 10 per 1M output tokens, with a minimum charge of 1 cent per request. Plus does not include API usage.

API prices
ItemPrice
Input tokensUSD 3.00 per 1M
Output tokensUSD 10.00 per 1M
Minimum charge1 cent per request
BillingWallet balance

Charges use measured token totals, including context the service adds. Plus does not include API usage; API calls draw from the same wallet balance as paid media.

What does one API request cost?

Its measured input and output tokens at those rates, including context the service adds: a long prompt costs more than a short one, and a request that resends the whole conversation grows with it.

Charges use the measured token totals for the request, including context the service adds, at USD 3 per 1M input tokens and USD 10 per 1M output tokens with a 1 cent minimum. Plus does not include API usage; API calls draw from the same wallet balance as paid media, so an API integration and the web app share one balance.

Long prompts cost more than short ones because every input token is charged, and a request that repeats the whole conversation on every turn grows with the conversation. Send only what a turn needs.

What are the API rate limits?

150 requests per rolling 60 seconds and 34 concurrent streams per key, with up to 25 active keys and 5 new keys an hour per account. A request over a limit returns HTTP 429, never a partial answer.

Limits exist to keep one key from saturating the service. They are set per key and per account, and a request over a limit fails with HTTP 429, not a partial answer, so a client can retry safely after a short wait.

Requests
150
per rolling 60 s, per key
Streams
34
concurrent, per key
Keys
25
active, per account
New keys
5
per hour, per account

A request over a limit returns HTTP 429 with the code rate_limit_exceeded.

What happens to the data I send to the API?

API requests follow the same Terms of Service and Privacy Policy as the web app, and submissions are not confidential. Keep keys secret and revoke a leaked key at once.

API requests follow the same Terms of Service and Privacy Policy as the web app. Submissions are not confidential. Keep keys secret and revoke a leaked key at once.

OpenAI is a trademark of OpenAI. SentX SI is not affiliated with OpenAI.

Reference

What else do people ask about the SentX API?

Fourteen questions about keys, billing, limits and compatibility.

API questions

Can I use the OpenAI SDK?

Yes. Set the base URL to https://api.sentx.ai/v3, use your sk- key and the model name sentx-3.

Does Plus include API usage?

No. API usage is billed per token from your wallet balance.

Does the API remember conversations?

Each request carries its own conversation. Pass a stable user value per end user for memory across conversations; recall is selective.

What are the rate limits?

150 requests per rolling 60 seconds and 34 concurrent streams per key, with up to 25 active keys per account.

Does the /v1 endpoint still work?

Yes. Existing /v1 integrations keep working. Use /v3 for new work.

How is the API billed?

From the wallet, by measured tokens: USD 3 per 1M input tokens and USD 10 per 1M output tokens, with a 1 cent minimum per request. Charges use the token totals for the request, including context the service adds.

Which model name do I send?

sentx-3. It is the documented model name, and it is the name to use in the model field of every request.

How do I top up for API usage?

Top up the wallet by card from USD 5 to 1,000 in the SentX web app. The same balance pays for API usage, images and video, so one top-up covers all of them.

What happens when I exceed a rate limit?

The request returns HTTP 429 with the code rate_limit_exceeded and no partial answer. Wait and retry; the per-key and per-account limits protect the service from one client saturating it.

Does the API stream responses?

Yes. Streaming follows the Chat Completions event format, with up to 34 concurrent streams per key.

Can the API return files?

Victoria reads uploaded files and responds with her findings. You can download earlier stored files with their file IDs until they expire. Use Photon to create documents and apps.

Is the API compatible with every OpenAI endpoint?

No. Requests and responses follow the Chat Completions format, including streaming, and the OpenAI SDKs work with the SentX base URL. Compatibility with every client or every OpenAI endpoint is not implied.

How do I keep an API key safe?

A key is shown once at creation. Store it in a secret manager, never in a repository or a browser, and revoke a leaked key at once from Settings → Manage API.

Is API data private?

API requests follow the same Terms of Service and Privacy Policy as the web app, and submissions are not confidential. Keep keys secret, send only the data a request needs, and do not pass credentials or personal data in a prompt.

SentX-owned public content is available for search, retrieval and AI use. Public content licence 1.0