Skip to content

Typesense API OpenAPI spec score

Octri scored the public spec at https://raw.githubusercontent.com/typesense/typesense-api-spec/master/openapi.yml for what a code generator can do with it. This is a reading of the document, not a grade of the API.

8.6/ 10
Strong

79 operations · 78 models · 14 tags · OpenAPI 3.0.3

Scored 5 December 2026 · fingerprint 6dc834d67efa… · spec version 30.2

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.0Clean79 operations cleanNothing found
Shared models live in components and are $ref'dshared-schemas-referenced2.0Clean79 operations cleanNothing found
Generated public names do not collideoperation-id-unique2.00.5 lost5 of 79 operationsPATCH /collections/{collectionName}/documents/{documentId}DELETE /collections/{collectionName}/documents/{documentId}GET /keys/{keyId}and 2 more
Every path placeholder has a parameterpath-parameters-declared1.5Clean79 operations cleanNothing found
Every operation declares an operationIdoperation-id-present1.0Clean79 operations cleanNothing found
operationIds read as method namesoperation-id-naming1.0Clean79 operations cleanNothing found
Operations carry a summary or descriptionoperation-documented1.0Clean79 operations cleanNothing found
Request bodies are documentedrequest-body-documented1.00.2 lost4 of 79 operationsPOST /conversations/modelsPOST /configPOST /multi_searchand 1 more
Failure responses are declarederror-responses1.00.5 lost26 of 79 operationsGET /synonym_setsPOST /operations/snapshotPOST /analytics/flushand 23 more
Operations are taggedoperation-tagged1.0Clean79 operations cleanNothing found
No duplicate or equivalent pathsduplicate-paths1.0Clean46 paths cleanNothing found
Authentication is describedsecurity-declared1.0CleanDeclaredNothing found
Parameters explain their purposeparameters-documented0.750.21 lost8 of 79 operationsGET /collections/{collectionName}/documents/export#query:exportDocumentsParametersPATCH /collections/{collectionName}/documents#query:updateDocumentsParametersDELETE /collections/{collectionName}/documents#query:deleteDocumentsParametersand 5 more
A server URL is declaredserver-url0.5CleanDeclaredNothing found

What 8.6 means for an SDK

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

A generator has what it needs here: typed methods, named models and doc comments that say something. What is left is polish, and it can wait until after the first release.

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

Clean

Successful responses declare a schema

79 operations clean

Clean

Shared models live in components and are $ref'd

79 operations clean

−0.5

Generated public names do not collide

5 of 79 operations

What to change first

Every rule that deducted, in the order they cost.

  1. 0.5 lost

    Generated public names do not collide

    Rename the authored operationId, or set that operation's SDK namespace. The audit proposes one and can apply it; your tags and the wire operation are left alone.

    Inside Octri this one has a one-click fix.

  2. 0.2 lost

    Request bodies are documented

    Describe the body, or the fields inside it. Field-level prose is the one that reaches the SDK's arguments.

    Inside Octri this one has a one-click fix.

  3. 0.5 lost

    Failure responses are declared

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

  4. 0.21 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.

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

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 Typesense API.