---
title: "API reference"
description: "Each route of the HTTP API of Conjure, with its parameters, request body and responses."
canonical: "https://conjure.design/docs/api-reference"
---

# API reference



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](https://api.conjure.design/openapi.json) of the API. The sidebar has all the routes.

## Start here [#start-here]

<Cards>
  <Card title="Search screens" description="GET /v1/search: find screens for a need in plain words." href="/docs/api-reference/search/search" />

  <Card title="Get a screen" description="GET /v1/screens/{id}: the data of one screen." href="/docs/api-reference/screens/get" />

  <Card title="Get a guide" description="GET /v1/guides/{name}: the text of a design guide." href="/docs/api-reference/guides/get" />
</Cards>

## Who can call a route [#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 [#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 `limit` for the size of a page, and send the `nextCursor` value of a page as `cursor` to get the next page.
