Box Platform API OpenAPI spec score

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

9.1/ 10
Strong

297 operations · 316 models · 73 tags · OpenAPI 3.0.2

Scored 29 October 2026 · fingerprint 47cdf4bcbc7c… · spec version 2024.0 · server api.box.com

Document last changed 29 October 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 lost9 of 297 operationsDELETE /legal_hold_policy_assignments/{legal_hold_policy_assignment_id}GET /files/{file_id}/contentPOST /sign_requests/{sign_request_id}/resendand 6 more
Shared models live in components and are $ref'dshared-schemas-referenced2.0Clean297 operations cleanNothing found
Generated public names do not collideoperation-id-unique2.0Clean297 operations cleanNothing found
Every path placeholder has a parameterpath-parameters-declared1.5Clean297 operations cleanNothing found
Every operation declares an operationIdoperation-id-present1.0Clean297 operations cleanNothing found
operationIds read as method namesoperation-id-naming1.00.2 lost1 of 297 operationsGET /metadata_templates/{namespace}/{template_key}/fields/{field_key}/options
Operations carry a summary or descriptionoperation-documented1.0Clean297 operations cleanNothing found
Request bodies are documentedrequest-body-documented1.00.3 lost35 of 297 operationsPOST /oauth2/revokePOST /sign_requestsPUT /ai_agents/{agent_id}and 32 more
Failure responses are declarederror-responses1.0Clean297 operations cleanNothing found
Operations are taggedoperation-tagged1.0Clean297 operations cleanNothing found
No duplicate or equivalent pathsduplicate-paths1.0Clean187 paths cleanNothing found
Authentication is describedsecurity-declared1.0CleanDeclaredNothing found
Parameters explain their purposeparameters-documented0.75Clean297 operations cleanNothing found
A server URL is declaredserver-url0.5CleanDeclaredNothing found

What 9.1 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.45.

−0.5

Successful responses declare a schema

9 of 297 operations

Clean

Shared models live in components and are $ref'd

297 operations clean

Clean

Generated public names do not collide

297 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.2 lost

    operationIds read as method names

    Name the id for the action, not the route. The audit suggests one per operation and can apply it.

    Inside Octri this one has a one-click fix.

  3. 0.3 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.

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 Box Platform API or Box, Inc.