Loomscape Docs

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

MethodPathDescriptionScope
GET/v1/platformsSupported platforms—
GET/v1/projectsList projects (paginated)projects:read
GET/v1/brandsList brands (paginated)brands:read
GET/v1/brands/{brandId}Brand detailbrands:read
GET/v1/analytics/summaryAnalytics summaryanalytics:read
GET/v1/mentionsMention feedmentions:read
GET/v1/overviewDashboard overviewoverview: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.

On this page