Docs / For AI agents

OpenAPI

The machine-readable description of the API, for typed clients and agents.

The API is described by an OpenAPI 3 document at /openapi.json. It covers every public endpoint with its parameters, request bodies, and the Authorization scheme. Endpoints that belong to the web app only (accounts, admin) are left out.

Generate a client

npx openapi-typescript https://tablearchive.dev/openapi.json -o tablearchive.d.ts

Try it in the browser

The API explorer renders the same document with Swagger UI. Click Authorize, paste a key, and every endpoint can be run from the page, photo uploads included.

Give it to an agent

Tool-using agents can load the document directly: it is small, has one security scheme (bearer), and uses plain JSON everywhere except photo uploads (multipart/form-data). Pair it with llms.txt so the agent also knows the conventions the schema cannot express, such as which filters combine and what popular sorts by.