Layers
Partner APIAPI reference

API reference

Every endpoint, grouped by domain. Start with /v1/whoami; branch from there.

View as Markdown

The full Partner API surface — seventeen resources, every endpoint documented. Hit GET /v1/whoami first to confirm your key's org and rate-limit tier, then work down to the resource you need.

Conventions

Every page uses the same shape: an <Endpoint> block with method, path, auth, and phase; a Parameters table; request examples in curl, TypeScript, and Python; a response block; and a stable error table. See errors, rate limits, and idempotency for cross-cutting behavior every endpoint inherits.

All examples use X-Api-Key: $LAYERS_API_KEY for auth. Authorization: Bearer $LAYERS_API_KEY is accepted as a fallback.

On this page