Skip to content

Figma API OpenAPI spec score

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

8.0/ 10
Strong

66 operations · 237 models · 19 tags · OpenAPI 3.1.0

Scored 5 December 2026 · fingerprint 490cc17e98f7… · spec version 0.47.0 · server api.figma.com

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 lost2 of 66 operationsPOST {$request.body#/endpoint}DELETE /v1/files/{file_key}/dev_resources/{dev_resource_id}
Shared models live in components and are $ref'dshared-schemas-referenced2.0Clean66 operations cleanNothing found
Generated public names do not collideoperation-id-unique2.00.4 lost1 of 66 operationsGET /v2/webhooks/{webhook_id}
Every path placeholder has a parameterpath-parameters-declared1.50.3 lost1 of 66 operationsPOST {$request.body#/endpoint}#$request.body#/endpoint
Every operation declares an operationIdoperation-id-present1.00.2 lost1 of 66 operationsPOST {$request.body#/endpoint}
operationIds read as method namesoperation-id-naming1.0Clean66 operations cleanNothing found
Operations carry a summary or descriptionoperation-documented1.0Clean66 operations cleanNothing found
Request bodies are documentedrequest-body-documented1.00.2 lost2 of 66 operationsPOST /v1/teamsPOST /v1/teams/{team_id}/folders
Failure responses are declarederror-responses1.0Clean66 operations cleanNothing found
Operations are taggedoperation-tagged1.00.2 lost1 of 66 operationsPOST {$request.body#/endpoint}
No duplicate or equivalent pathsduplicate-paths1.0Clean52 paths cleanNothing found
Authentication is describedsecurity-declared1.0CleanDeclaredNothing found
Parameters explain their purposeparameters-documented0.750.16 lost1 of 66 operationsDELETE /v1/files/{file_key}/comments/{comment_id}/reactions#query:emoji
A server URL is declaredserver-url0.5CleanDeclaredNothing found

What 8.0 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.87.

−0.5

Successful responses declare a schema

2 of 66 operations

Clean

Shared models live in components and are $ref'd

66 operations clean

−0.4

Generated public names do not collide

1 of 66 operations

What to change first

The 6 heaviest of 7 rules that deducted.

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

  3. 0.3 lost

    Every path placeholder has a parameter

    Declare the parameter with `in: path`, `required: true`, and a type.

  4. 0.2 lost

    Every operation declares an operationId

    Add an operationId. It pins the generated method name to something you control.

    Inside Octri this one has a one-click fix.

  5. 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.

  6. 0.2 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.

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.

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

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