# The open routes and OpenAPI

Sinbad has one door for other programs to work with a person's workspaces: the **MCP server**, described in [Connect other tools](https://tidal-ai.space/docs/connect-other-tools.md) and [The MCP server, in full](https://tidal-ai.space/docs/mcp-reference.md). It needs a key or a sign-in.

Sinbad's own app talks to the server over a private set of routes that use your browser's sign-in. Those are not a public API: they change without notice, and they refuse requests that come from another website. Use the MCP server to work with your workspaces from a program.

What is open to anyone, with no key and no account, is listed here. The same list, with its answers described, is in [/openapi.json](https://tidal-ai.space/openapi.json), an OpenAPI 3.1 description you can give to a tool.

| Route | What it gives |
|---|---|
| `GET /api/changelog` | The entries, each with id, date, type, title and body, and the kinds there are. |
| `GET /api/legal` | Whether the terms are in force, and each document with its id, title and version date. |
| `GET /api/legal/{id}` | The page: title, version date, what changed, and its HTML. |
| `GET /api/showcase` | A list of shown apps, each with a title, an address and what it cost to build. |
| `GET /api/gallery` | The pieces, each with id, source (sinbad or user), type, title, creator name only if shown, demand only if shown, likes, address and frame address, and the counts per kind. |
| `GET /api/totals` | Counts of completed runs and the like, only those with enough behind them to say. |
| `GET /api/health` | ok, the build id, the plans and limits, any notice to show, and whether the terms are in force. When you are signed in it also describes your account. |
| `GET /.well-known/oauth-protected-resource/mcp` | The OAuth protected-resource document (RFC 9728) for the MCP address. |
| `GET /.well-known/oauth-authorization-server` | The OAuth authorization-server document (RFC 8414). |

## Examples

What changed in Sinbad, as JSON:

```bash
curl -s https://tidal-ai.space/api/changelog
```

Only what was fixed:

```bash
curl -s "https://tidal-ai.space/api/changelog?type=fixed"
```

The terms and notices, and the version of each:

```bash
curl -s https://tidal-ai.space/api/legal
```

## Keeping to the routes

- The open routes are read-only (`GET`).
- Please do not call them more often than you need to. The server may answer `429` if you do.
- Answers are JSON unless a route says otherwise. Dates are written `YYYY-MM-DD`.
- Nothing here changes how Sinbad stores your work; an open route never shows one person's work to another.