DEVELOPER DOCUMENTATION

Connect to ELTEX through one OpenAI-compatible API.

Use an OpenAI-compatible client and configure its base URL for ELTEX. API keys, model access, capacity, and routing are managed through your ELTEX account.

CAPABILITY SET

What the ELTEX API is for

ELTEX does not guarantee that a particular underlying model, provider, capability, or route is available at all times. Check the live model catalog before making a production dependency.

01 · CONNECTION

Base URL

https://eltexlabs.com/v1

02 · AUTHENTICATION

Authentication

Authorization: Bearer ELTEX_API_KEY

03 · DISCOVERY

List models

curl https://eltexlabs.com/v1/models \
  -H "Authorization: Bearer $ELTEX_API_KEY"

04 · CHAT COMPLETIONS

Create a chat completion

curl https://eltexlabs.com/v1/chat/completions \
  -H "Authorization: Bearer $ELTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"eltex/smart","messages":[{"role":"user","content":"Hello"}]}'

05 · AGENT STATUS

Let an agent inspect itself

A normal ELTEX API key may read these endpoints. The usage range may be day, week, month, or all.

GET https://eltexlabs.com/v1/usage?range=week
GET https://eltexlabs.com/v1/capacity
GET https://eltexlabs.com/v1/burst
GET https://eltexlabs.com/v1/reset

Burst Packs are applied automatically after regular and active Reset capacity. There is no Burst activation endpoint.

06 · AUTHORIZED SELF-REFILL

Activate one stored Reset Ticket

When creating the API key, enable Agent refill only if the agent may consume a Reset Ticket you already own. This permission cannot purchase packs, change plans, or access billing.

curl -X POST https://eltexlabs.com/v1/reset/use \
  -H "Authorization: Bearer $ELTEX_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: reset-job-STABLE_JOB_ID" \
  -d '{"reason":"capacity exhausted during an active user-approved job"}'

Reuse the same idempotency key if the same activation request must be retried. Check GET /v1/capacity again after success.

INSTALLABLE AGENT GUIDE

Teach your agent the safe refill workflow.

The standalone skill explains when to check capacity, how Burst works automatically, and when a stored Reset Ticket may be activated. It contains no API key.

Download SKILL.md Create agent API key

ELIXIR MEDIA API

Generate images and asynchronous video through a validated media layer.

The Elixir API reference covers model discovery, balance, image generation, editing, text-to-video, image-to-video, polling, cancellation, idempotency, and error handling.

Download Elixir API docs Download agent skill Open dashboard

Use eltex/smart when you want ELTEX to select a route. Keep Agent refill disabled for read-only integrations, or enable it deliberately for trusted autonomous agents.

Get API key Learn how routing works