Tavrida Robotics
Menu
· Technology

Tavroo for developers: two ways to extend the platform — the API and Python modules

Tavroo developer documentation: 49 modules and 75 API routes, external apps and Python modules, session-based authorisation, idempotency, limits and webhooks. Open for reading without login.

Tavroo for developers: two ways to extend the platform — the API and Python modules

Any platform used by sellers, logistics people and accountants eventually gets the question: “how do I plug my system into it?”. Usually the documentation turns into a forty-page PDF that nobody opens.

Tavroo has a dedicated section for this — “For developers” — and it works in a fundamentally different way: it is living documentation on the project site, readable without registration and without logging in.

Two ways to connect

The section answers the main question straight away: what exactly do you want to build.

01. External app02. Platform module
What it isYour service + Tavroo APIYour processes inside Tavroo
Where the code livesOn your sideOn the platform server
StackAny language with HTTPS and JSONPython, XML and CSV, and JavaScript for the interface if needed
What you getYour own mobile client, integration or standalone serviceData models, forms, lists, menus, reports and server-side logic
How it is installedYou connect through the permitted methods of a moduleA package with __manifest__.py is installed by the Tavroo team after testing

In the first case the exchange goes through the permitted methods of a specific module, and access is limited by role, organisation and the assigned workspace. Retry keys and versions stay with you — the platform does not need them.

In the second case you write a full extension: your own documents, interfaces and business processes. Data access rights are defined in XML, the interface in XML and CSV, and the data access rules come from the platform ORM.

The API: 49 modules and 75 routes

The catalogue lists 49 modules with explicit API routes and 75 routes. This is a snapshot of the sources and the installed demo build as of 17 November 2026. Platform-wide RPC and other webhooks are not counted — the figure is honest and verifiable.

For every module the table gives the base route, the methods, the type and the status.

The types are not reduced to a single one:

  • RPC / HTTP form — a POST with action and a JSON string in payload. Important: this is not JSON-RPC 2.0, although HTTP JSON commands can be RPC by meaning.
  • RPC JSON + REST read — for instance in RAG Service and Cognitive Core.
  • JSON-RPC 2.0 — this is how Director works.

The statuses are, arguably, the most honest detail in the whole documentation:

beta is a training interface and the contract may change. stable means a fixed external contract with compatibility rules: in this snapshot no module is assigned that status. A /v1 number on its own does not make an API stable.

Not a single module carries the stable status. Marketing pages usually avoid saying that, but developer documentation has to.

Authorisation: session, role, workspace

There is no single API key for all modules. The authorisation method, the role and the available actions are defined by the chosen module, and access is agreed separately.

The common logic: data access is checked by user, organisation, role and assigned workspace. A public route label on Courier means its own Bearer check — not anonymous access to orders.

What matters for the different groups:

  • Dashboards with action — sign-in through the form: GET the form → POST with csrf_token → session_id cookie. The POST APIs themselves are application/x-www-form-urlencoded with the fields action, payload (a JSON string), workspace_id and csrf_token. On the verified demo stand the inactivity limit is 7 days, and session_id rotates softly every 3 hours. There is no separate refresh token: when the session ends you sign in again.
  • JSON commands /api/v1/* — the same session, and for some modules an additional X-CSRF-Token check. CSRF does not replace authorisation, and a token must not be carried over from another session.
  • Director JSON-RPC — a user session with the gateway role, signed in via /web/login or the JSON-RPC /web/session/authenticate. There is no separate Director token and no refresh method, and a session error can hide in the JSON-RPC error even with HTTP 200.
  • Courier — POST /courier/v1/login returns a Bearer token valid for 24 hours; there is no refresh, and signing in again revokes the previous device tokens.
  • Bank HTTP — a manager session of the permitted connection plus a separate X-CSRFToken header (no second hyphen).

The rule worth remembering: do not carry the requirements of one route over to another. Some JSON controllers have no single CSRF token at all, and that is normal.

Errors: never judge success by HTTP 200

There is no single {code, message, details} format across all modules — and that is stated plainly. You have to read the transport status and the structure of the specific response.

Family formats:

FamilySuccessError
Most action APIs{"result": {...}}{"error": "..."} with HTTP 400/403/409/410
RAG / Cognitive{"result": {...}}{"error": "access_denied"} or a reason code
Director{"jsonrpc": "2.0", "id": 1, "result": {"ok": true, "data": {...}}}Application error — result.ok = false with code and message; transport error — the top-level JSON-RPC error

For Director you must handle both error variants.

The status codes you will meet most often: 409 — a conflict of content, version or transition; 410 — a stale generation or a withdrawn object; 413 — the payload is too large; 422 — a domain rule violation; 429/503 — a limit or temporary unavailability (honour Retry-After if present).

One rule deserves its own line: a timeout or a 5xx on a mutating request means an unknown outcome, not a guaranteed failure.

Idempotency: a repeat must be the same action

There is no single mandatory HTTP idempotency header. Most command APIs use the key and generation fields in the form or JSON; in operation APIs the key sits next to the payload, Director passes the key in params, and Courier additionally uses business_id.

The retry discipline the documentation recommends:

  1. Before sending, store the action, key, recipient, generation, original version and immutable content.
  2. On a permitted repeat, use the same fields and the same content. Changed content under the old key causes a conflict; a successful repeat returns the previous result.
  3. On a timeout, request the result of the original operation: for Courier it is operation_status, for Director it is receipt.
  4. A missing record or a 404 does not by itself prove the action was not accepted. A new technical UUID must not replace reconciliation of the same business action.

One more thing: the rules do not automatically apply to every action. Hotel BI and Restaurant BI have no common key for all methods — a repeated calculate may create a new calculation.

Limits: no single quota, but concrete figures

There is no single published request quota for all 49 APIs. That does not mean unlimited load: limits are agreed for an allocated environment and account for the module, the payload size and parallelism. But the verified limits of the current build are given:

LimitValue
/web/login and the shared /tavroo/demo-login on the demo10 requests per minute per IP, burst 15
Public www-demo proxyrequest body up to 20 MiB (up to 50 MiB on the main site)
Directorrequest up to 40,000 bytes
CourierJSON body up to 700,000 bytes
RAGup to 7,500,000 bytes for JSON POST or UTF-8 form payload
AutoUTF-8 payload up to 1,500,000 bytes
Hotel BI / Restaurant BIpayload up to 500,000 characters; import up to 100 events

Two practical details: exceeding the login limit on the current Nginx may return 503 rather than 429, so repeated bulk authorisation must not be used as polling. And load testing the public demo is not part of this access — that requires a separate agreed sandbox.

Webhooks: receivers exist, a unified subscription does not

There is no unified API for a third-party developer to subscribe to the events of all modules: no shared subscribe operation, no unified delivery schema and no global ordering guarantee. The existing routes belong to specific inbound connections and are not an outbound event bus for Tavroo.

What exists in practice — inbound POST receivers:

  • /bank/http/webhook — payment, charge, refund, salary, application and test events; JSON, an HMAC signature and the request time.
  • /telephony/hooks/{route} — a training receiver with a SHA-256 signature over api_key + the original JSON string + salt.
  • /mango/hooks/{route}/{generation}/{section}/{event} — call, summary, recording and SMS events.
  • /telephony/telphin/hooks/{account_id}/{token} — dial-in, dial-out, answer, hangup and voicemail.

The bank webhook example is the closest thing to a real contract:

POST /bank/http/webhook
Content-Type: application/json
X-Sim-Timestamp: {unix_seconds}
X-Sim-Signature: {hmac_sha256_hex}

The signature is HMAC-SHA256 over timestamp + "." + the original JSON bytes, with the connection secret; the allowed time skew is 300 seconds and the body limit is 262,144 bytes. The response is {"accepted": true}, and on a repeat {"accepted": true, "duplicate": true}.

And the key rule: accepting an event is not the same as finishing its processing. For financial objects the notification triggers reconciliation against the source API, but by itself it does not confirm a movement of money.

Versions: /v1 still guarantees nothing

/{module}/api is the interface of a specific dashboard. /api/v1/* fixes the path version but does not promise permanent compatibility of the whole domain model. The module version, schema_version, the snapshot version and the generation of a training set are different values and must not be mixed up.

What the documentation recommends freezing on the external client side: the build, the methods, the payload and response schema, and the acceptance examples. Compatibility is verified on update.

There is no unified deprecation policy and no automatic notification of breaking changes yet — the notification channel and the warning period are fixed when a connection is agreed. Until then, a training beta API cannot be considered stable.

A Python module: what the template contains

The Tavroo build uses the Python namespace tavroo. The module template shows a document, a form, a list, a menu, a role and a restriction of records by organisation:

partner_example/
├── __init__.py
├── __manifest__.py
├── models/
│   ├── __init__.py
│   └── item.py
├── security/
│   └── access.xml
├── views/
│   └── item.xml
└── README.rst

Version 1.0 is a module template, a Python client and an instruction. The server build, the database and the keys are not included in the archive.

The installation order is spelled out:

  1. Obtain an agreed Tavroo build and a separate test database.
  2. Place the module directory in the permitted addons_path.
  3. Check the dependencies and assign the example role to a test user.
  4. Test the operations and the denial of access from another organisation.
  5. Hand the package, the migrations and the test results over to the Tavroo team.

The extension runs on the platform server — there is no direct upload and no self-installation through the public site. Compatibility is verified against a specific build: third-party extensions cannot be considered compatible by version name alone.

Your first request: reading the RAG space

The documentation does not leave you with theory — there is a ready example that reads a snapshot and changes nothing.

In the browser: open the RAG demo, pick a role and run this in the console on the /rag/app page:

const response = await fetch('/api/v1/rag', {
  method: 'POST',
  credentials: 'same-origin',
  headers: {
    'Content-Type': 'application/json',
    'X-CSRF-Token': root.dataset.csrf
  },
  body: JSON.stringify({
    workspace_id: Number(root.dataset.workspace),
    action: 'query',
    payload: { query_kind: 'view' }
  })
});

The space ID and the CSRF token come from your current permitted session. Cookies, tokens and real data must not be published.

In Python there is a separate example: python -m pip install requests, then python rag_read_demo.py. The script signs in to the public RAG training role, gets a session and reads a snapshot. It creates no documents and changes no rights.

Sandbox and the daily reset

The public demo at www.tavroo.ru contains made-up data and resets daily at 04:00 Moscow time. A daily timer replaces the demo database and the file storage with an approved reference state, deletes server sessions and updates the generations of the training contours. Documents created after the reference state, changes to roles and settings, operations, uploads and tokens issued in the database are not treated as working state.

Two consequences worth knowing in advance:

  • The server does not clear your client’s local queue. After a reset you need a new sign-in, fresh workspace and generation, and old jobs must not be sent to the new set.
  • 04:00 is when the reset starts, not a guaranteed finish time. The demo is temporarily unavailable while it is restored.

Reproducible integration tests need an allocated sandbox — it differs from the shared daily-reset demo and is provided by agreement.

Technical support

The channel is the Tavroo enquiry form. Start the message with “Developers / API” and specify the module, the route, the environment, the time of the error, the HTTP status and a sanitised example. Never attach passwords, session_id or tokens.

The first reply comes within one business day. That is the initial response time; the time for diagnosis, a fix or an integration is agreed separately.

From the first example to an integration

The documentation offers four steps, and this is probably the most useful checklist on the page:

  1. Describe the task — which module, which data and operations; an external app or an extension.
  2. Agree access — version, organisation, role, permitted methods and the test environment.
  3. Test the scenarios — successful actions, access denials, retries, timeouts, a restart and an update.
  4. Hand over the result — code, dependencies, instructions, migrations, tests and a rollback plan.

Developer questions people ask

Do I need to register to read the documentation? No — the page, the OpenAPI spec and the example set are available without login. Authorisation is required when you make requests to data.

Can I get one API key for all modules? There is no unified key issuance today: the authorisation method, the role and the available actions are defined by the chosen module, and access is agreed separately.

Can I develop in JavaScript, PHP or Java? An external client can use any language with HTTPS and JSON. The server-side extension uses Python, XML/CSV and, if needed, JavaScript for the interface.

Can I connect to production data right away? Access to a working organisation is granted separately after rights and tests are agreed — the public demo account does not provide it.

Where are the application capabilities described? In the Tavroo guide there are the purposes, the training scenarios and the limitations of all applications; for an integration you additionally fix the contract of the chosen module.

Why this is worth reading

Most platforms publish API documentation detached from reality: nice schemas, “coming soon”, and under the hood — beta contracts with no retry rules.

Tavroo does the opposite. Here it says that no module carries the stable status, that there is no unified API key, that no unified webhook subscription exists, that a timeout is an unknown outcome rather than a failure, and that the public demo resets every morning. That is awkward to read as advertising, but very convenient for an integrator: you can design a system without building it on assumptions.


This material is prepared by the Tavrida Robotics team from the Tavroo developer documentation.

The “For developers” section is living documentation updated together with the platform; the routes, limits and statuses described here relate to the snapshot of 17 November 2026 and may change. All listed modules are in beta status: the contract may change, and /v1 does not by itself mean stability. Access to working data, an allocated sandbox and the installation of server modules are agreed separately with the Tavroo team. Do not publish tokens, session_id or real personal data — the demo uses made-up data.

Disclaimer

Numerical estimates, market figures and product capabilities mentioned in this article reflect publicly available sources and the author's analytical estimates at the moment of publication. They do not constitute verified production specifications or commercial guarantees. Production characteristics are confirmed individually as part of pilot or supply agreements.

Authoritative version

The Russian-language version of this article at tavridarobotics.ru//blog/tavroo-developers/ is the primary text. This English translation is provided for convenience only; in case of any conflict, the Russian version prevails.