This page gets you to a working REST call in five minutes. We’ll list a project’s content with the admin API, using a JWT bearer token.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
What you’ll need
- A Metabind organization and project. Don’t have one? See Create an account.
- A JWT for the admin API, or an API key for the client API.
curl, or any HTTP client.
1. Pick the right base URL and route prefix
The REST API lives at:| Prefix | Auth | Use for |
|---|---|---|
/api/v1/... | x-api-key header | Client API — read published content |
/app/v1/... | Authorization: Bearer <JWT> | Admin API — full CRUD |
2. Get a JWT
In App Studio:- Open Settings → API Keys at the organization level.
- Click Create JWT and pick a scope (your project, expiry).
- Copy the JWT — you’ll see it once.
3. Make your first call
List published content in a project:{org} and {project} with your IDs (visible in the App Studio URL when the project is open).
A successful response:
4. Try a few common patterns
Get a single entry by ID:id and a draft status. Publish via POST .../content/{contentId}/publish.
5. Pagination
List endpoints return up to 50 items per page by default. Usepagination.lastKey to fetch the next page:
lastKey is absent in the response, you’ve reached the end.
6. Error responses
Errors come back as JSON with an HTTP status code:| Status | Meaning |
|---|---|
| 401 | Token missing, invalid, or expired |
| 403 | Token authenticated but doesn’t have permission |
| 404 | Resource not found |
| 422 | Body validation failed (bad shape, missing required fields) |
| 429 | Rate limit exceeded |
7. Rate limits
Default limits:- 600 requests/minute per token
- 30,000 requests/hour per token
429 Too Many Requests with a Retry-After header. Back off and retry. For higher limits, see Rate limiting.
What to read next
Authentication
JWTs, API keys, scopes, rotation.
Core concepts
Resource model and data shapes.
Content
The most common resource — read, create, update content.
Errors
Status codes and recovery patterns.