API reference
Each route of the HTTP API of Conjure, with its parameters, request body and responses.
The library of Conjure is also on an HTTP API at https://api.conjure.design. The MCP tools and the HTTP API use the same library.
Each page in this section comes from the OpenAPI document of the API. The sidebar has all the routes.
Start here
Search screens
GET /v1/search: find screens for a need in plain words.
Get a screen
GET /v1/screens/{id}: the data of one screen.
Get a guide
GET /v1/guides/{name}: the text of a design guide.
Who can call a route
| Routes | Who |
|---|---|
The GET routes of screens, search and guides | Everyone. They need no key. |
The routes of ingest and curation, and GET /v1/usage | The curator of the library only. |
The routes of account | The person who is signed in, for the account of that person. GET /v1/account/options is open. |
Rules of the API
- All routes are below
/v1. - Each response has a request id in the header
x-request-id. - Each error has the same body:
{ "error": { "code", "message", "requestId" } }. - The API refuses a parameter that it does not know. The response has status 400, and its message gives the name of the parameter.
- A list has pages. Send
limitfor the size of a page, and send thenextCursorvalue of a page ascursorto get the next page.
Versions and deprecation
How the HTTP API changes, and how long an old version keeps working after a breaking change.
Get a screen GET
Returns one screen with its measurements, its label (null until the label stage has run) and the declared spacing, type and radii of the page it was captured from (null for a plain upload). 404 when no screen has the id.