Layers Inc. Organizations API

Identify the calling key.

GitHub OpenAPI

Operations 18

GET /v1/organizations List child organizations #
POST /v1/organizations Create a child organization #
GET /v1/organizations/{orgId} Get a child organization with summary stats #
PATCH /v1/organizations/{orgId} Update a child organization #
DELETE /v1/organizations/{orgId} Archive a child organization (terminal) #
GET /v1/organizations/{orgId}/api-keys List a child organization's API keys #
POST /v1/organizations/{orgId}/api-keys Mint an API key for a child organization #
DELETE /v1/organizations/{orgId}/api-keys/{keyId} Revoke a child API key immediately (no grace) #
POST /v1/organizations/{orgId}/api-keys/{keyId}/rotate Rotate a child API key (dual-secret, 24h grace) #
GET /v1/organizations/{orgId}/credit-config Get a child organization's credit config (cap + auto-refill) #
PATCH /v1/organizations/{orgId}/credit-config Set a child organization's credit config (cap + auto-refill) #
GET /v1/organizations/{orgId}/credits Get a child organization's credit wallet #
POST /v1/organizations/{orgId}/credits/allocate Allocate prepaid credits from the parent to a child #
GET /v1/organizations/{orgId}/credits/events List a child organization's credit ledger #
POST /v1/organizations/{orgId}/resume Resume a suspended child organization #
POST /v1/organizations/{orgId}/suspend Suspend a child organization (kill switch) #
POST /v1/organizations/migrate Migrate flat projects into per-customer child organizations #
GET /v1/whoami Identify the calling key #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/layers-com:layers-com-organizations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

layers-com-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Layers Partner Organizations API
  version: v1
  description: The Layers Partner API — one contract for programmatic access to projects, content generation, publishing, and webhooks. See https://layers.com/docs for conventions (auth, pagination, idempotency, errors). Auto-generated from the Zod schemas at `packages/shared-types/src/http/partner/**`; do not edit by hand.
  contact:
    name: Layers Partner Support
    url: https://layers.com/docs/api/operational/status-and-support
servers:
- url: https://api.layers.com
  description: Production
security:
- Bearer: []
tags:


# --- truncated at 32 KB (64 KB total) ---
# Full source: https://artifacts.apis.io/layers-com/openapi/layers-com-organizations-api-openapi.yml