REST API
HTTP endpoints under /v1
The /v1 plane exposes read endpoints for your organization's data. Full schemas are in the
interactive reference and the
OpenAPI 3.1 spec.
Authenticate every request with x-api-key: sk_loom_….
Endpoints
| Method | Path | Description | Scope |
|---|---|---|---|
| GET | /v1/platforms | Supported platforms | — |
| GET | /v1/projects | List projects (paginated) | projects:read |
| GET | /v1/brands | List brands (paginated) | brands:read |
| GET | /v1/brands/{brandId} | Brand detail | brands:read |
| GET | /v1/analytics/summary | Analytics summary | analytics:read |
| GET | /v1/mentions | Mention feed | mentions:read |
| GET | /v1/overview | Dashboard overview | overview:read |
Examples
# List brands
curl https://api.loomscape.space/v1/brands -H "x-api-key: sk_loom_…"
# Competitor brands matching "glow", 50 per page, newest first
curl "https://api.loomscape.space/v1/brands?search=glow&types=competitor&sort=-createdAt&limit=50" -H "x-api-key: sk_loom_…"
# Analytics summary
curl "https://api.loomscape.space/v1/analytics/summary" -H "x-api-key: sk_loom_…"Responses use the standard envelope { success, message, data, meta }; 429 + Retry-After on limits.
Pagination
/v1/projects and /v1/brands return one page at a time. The items are in data and
meta.pagination holds { nextCursor, hasMore, total, limit }. To read the next page, repeat the
request with cursor=<nextCursor> and the same sort. limit accepts 1 to 100 (default 25), and
sort accepts name, -name, createdAt or -createdAt.