Skip to content

Turso Platform API OpenAPI spec score

Octri scored the public spec at https://raw.githubusercontent.com/tursodatabase/turso-docs/main/api-reference/openapi.json for what a code generator can do with it. This is a reading of the document, not a grade of the API.

7.7/ 10
Mixed

53 operations · 28 models · 0 tags · OpenAPI 3.0.1

Scored 5 December 2026 · fingerprint e26368624a4c… · spec version 0.1.0 · server api.turso.tech

Document last changed 5 December 2026.

Where the points went

Every rule, heaviest first, with what it cost this document, how much of the surface it touched, and where. The rule id links to what that rule checks.

RuleWeightResultSurfaceLocations
Successful responses declare a schemaresponse-schema2.00.5 lost4 of 53 operationsDELETE /v2/organizations/{organizationSlug}/invites/{email}POST /v1/organizations/{organizationSlug}/groups/{groupName}/updatePOST /v1/organizations/{organizationSlug}/groups/{groupName}/auth/rotateand 1 more
Shared models live in components and are $ref'dshared-schemas-referenced2.0Clean53 operations cleanNothing found
Generated public names do not collideoperation-id-unique2.0Clean53 operations cleanNothing found
Every path placeholder has a parameterpath-parameters-declared1.5Clean53 operations cleanNothing found
Every operation declares an operationIdoperation-id-present1.0Clean53 operations cleanNothing found
operationIds read as method namesoperation-id-naming1.0Clean53 operations cleanNothing found
Operations carry a summary or descriptionoperation-documented1.0Clean53 operations cleanNothing found
Request bodies are documentedrequest-body-documented1.0Clean53 operations cleanNothing found
Failure responses are declarederror-responses1.00.6 lost26 of 53 operationsPOST /v2/organizations/{organizationSlug}/invitesGET /v1/organizations/{organizationSlug}/usageGET /v1/organizations/{organizationSlug}/databasesand 23 more
Operations are taggedoperation-tagged1.01.0 lost53 of 53 operationsPOST /v1/organizations/{organizationSlug}/groups/{groupName}/auth/rotateDELETE /v1/organizations/{organizationSlug}/groups/{groupName}/locations/{location}POST /v1/organizations/{organizationSlug}/databases/{databaseName}/auth/tokensand 50 more
No duplicate or equivalent pathsduplicate-paths1.0Clean40 paths cleanNothing found
Authentication is describedsecurity-declared1.0CleanDeclaredNothing found
Parameters explain their purposeparameters-documented0.750.16 lost1 of 53 operationsDELETE /v2/organizations/{organizationSlug}/invites/{email}#path:email
A server URL is declaredserver-url0.5CleanDeclaredNothing found

What 7.7 means for an SDK

A mixed reading, and the three rules that decide most of it.

The client compiles and works. Callers will feel the soft spots: a few methods that return an untyped value, arguments with no hint on them, a namespace or two named after a path segment rather than a resource.

Three rules carry six of the 10 points between them. On this document they took 0.52.

−0.5

Successful responses declare a schema

4 of 53 operations

Clean

Shared models live in components and are $ref'd

53 operations clean

Clean

Generated public names do not collide

53 operations clean

What to change first

Every rule that deducted, in the order they cost.

  1. 0.5 lost

    Successful responses declare a schema

    Give the success response a schema, or a $ref to one in components. A 204 needs nothing.

    Inside Octri this one has a one-click fix.

  2. 0.6 lost

    Failure responses are declared

    Declare the failures you actually return, or one `default` response carrying your error shape.

  3. 1.0 lost

    Operations are tagged

    Tag every operation. Tags are what decide whether a caller writes `client.invoices.list()` or `client.misc.list()`.

    Inside Octri this one has a one-click fix.

  4. 0.16 lost

    Parameters explain their purpose

    Describe what the parameter does and what a valid value looks like. One line each.

    Inside Octri this one has a one-click fix.

Show this score on your docs

If you maintain this API, you can put the score next to your reference docs or in a README. The badge links back to this report and shows the same number it does.

Turso Platform API OpenAPI spec score: 7.7 out of 10, scored by Octri
HTML
<a href="https://octri.dev/openapi-audit/turso"><img src="https://octri.dev/openapi-audit/turso/badge.svg" alt="Turso Platform API OpenAPI spec score: 7.7 out of 10, scored by Octri" height="20"></a>
Markdown
[![Turso Platform API OpenAPI spec score: 7.7 out of 10, scored by Octri](https://octri.dev/openapi-audit/turso/badge.svg)](https://octri.dev/openapi-audit/turso)

The spec at raw.githubusercontent.com is public. Octri keeps the `info` block, the score, and up to five sample finding locations per rule. The document itself is not stored and is not served from here. The audit predicts what an SDK generator can do with the description; it is not a security review, an uptime measurement or a critique of the API’s design. This page is not affiliated with Turso Platform API.