Environments
Base URLs
- REST API:
https://api.metabind.ai/app/v1 - GraphQL API:
https://api.metabind.ai/graphql - CDN:
https://cdn.metabind.ai
URL Structure
REST API Path Pattern
All REST API endpoints follow this pattern:| Resource | Path |
|---|---|
| List components | /app/v1/organizations/org123/projects/proj456/components |
| Get content | /app/v1/organizations/org123/projects/proj456/content/cont789 |
| Upload asset | /app/v1/organizations/org123/projects/proj456/assets |
| Create package | /app/v1/organizations/org123/projects/proj456/packages |
CDN Asset URLs
Assets are served from the CDN with this pattern:API Versioning
The API uses semantic versioning in the URL path (e.g.,/app/v1/).
| Version | Status | Description |
|---|---|---|
v1 | Current | Initial release with core functionality |
Versioning Policy
- Breaking changes are introduced in new major versions (
v2,v3, etc.) - Backward-compatible changes may be added to existing versions
- Deprecated features will be announced with a migration timeline
- Old versions will be supported for at least 12 months after a new major version
Response Format
All successful responses follow a consistent format:Paginated Responses
List endpoints include pagination information:| Field | Description |
|---|---|
page | Current page number |
limit | Items per page |
total | Total number of items |
pages | Total number of pages |
lastKey | Cursor for next page (use in subsequent request) |
Pagination Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
page | number | 1 | Page number |
limit | number | 20 | Items per page (max: 100) |
lastKey | string | - | Pagination cursor from previous response |
Request Headers
Required Headers
Optional Headers
| Header | Description |
|---|---|
Accept-Language | Preferred response language |
X-Request-ID | Custom request identifier for tracing |
