Turtini

OpenAPI 3.1 spec at /v1/openapi.json

The full Public API surface is described in an OpenAPI 3.1 spec served at https://api.turtini.com/v1/openapi.json. No auth required to read the spec — the endpoints themselves still need a Bearer key.

What the spec covers:
• Every operation the API answers with an org API key: the resource reads and writes, auth/verify, me, search, org-context query, tools and run
• The scope each operation needs, in x-turtini-scope
• Request/response schemas with field types, required fields, enums, length limits, and an example request and response for each operation
• Pagination parameters
• Idempotency-Key header documentation
• Error envelope shape

The same document drives https://turtini.com/docs/api.

Why this matters:
• Postman / Insomnia / Stoplight import the spec directly — instant API browser, request templates, mock servers
• Language SDK codegen via openapi-generator-cli works for 50+ languages out of the box
• AI tooling (LLM agents, copilots) can introspect the surface without us hand-feeding it
• Diff the spec between deploys to spot breaking changes early

Quickstart — Postman:
1. Open Postman → Import → Link
2. Paste https://api.turtini.com/v1/openapi.json
3. Set the Bearer auth token at the collection level (your turtini_<key>)
4. Browse the API — every endpoint has request templates, parameter docs, and example responses

Quickstart — generate a Python client:
npx @openapitools/openapi-generator-cli generate \
-i https://api.turtini.com/v1/openapi.json \
-g python \
-o turtini-python

Other supported generators include: ruby, go, rust, csharp, java, kotlin, swift, php, dart, elixir.

How it stays accurate: the resource operations are generated from the same registry the API routes requests by, and an automated check fails the build when the router serves a route the spec lacks, when the spec lists one the router does not serve, or when an operation is missing its scope, schemas or examples.

Versioning: the spec carries info.version, which is 1.0.0 and has not changed as endpoints were added. Do not use it to detect changes; compare the spec itself (the paths and schemas) between fetches instead.

Cache: the spec is served with Cache-Control public, max-age=300, so a client can see the previous version for up to 5 minutes after a deploy.