Public document API

Use this API to read product information, permissions and workflow instructions. It is public and read-only; no account, API key or OAuth flow is required. Shop records remain in the signed-in interface.

Read a document

GET /api/v1/documents lists document identifiers. GET /api/v1/documents/{id} returns its title, canonical URL, format and content as JSON. HEAD returns the same status and headers with an empty body.

curl https://stitchtrack-216967.cofounder.company/api/v1/documents/overview

The original document URLs also return this JSON representation with Accept: application/json. Markdown and browser representations remain available.

Errors and retries

Errors use application/problem+json with type, title, status, code, detail and instance. Unknown documents return 404, unsupported methods 405, and exhausted quotas 429. An unavailable document returns 500. Recover from 404 by reading the document index, use GET or HEAD after 405, and retry temporary failures later.

Request limits

Each server instance allows 120 document requests per minute, shared by requests reaching that instance. Responses provide RateLimit-Policy, RateLimit, and compatibility RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers. Reset is seconds until the next window; X-RateLimit-Reset is a Unix timestamp. A 429 also includes Retry-After. Hosting limits may apply separately.

Versioning and deprecation

The stable JSON API uses /api/v1. Compatible fields may be added within v1; breaking changes require a new major path. Before removing a version, Thimble will publish migration instructions and Deprecation and Sunset headers with at least 90 days’ notice. No removal is scheduled. The API-Version response header identifies v1.

OpenAPI contract · Account permissions · Authorized shop workflow