Meridian Profile Layers API
The Profile Layers API from Meridian, for profile layers.
The Profile Layers API from Meridian, for profile layers.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/usemeridian-us:usemeridian-us-profile-layers-api"
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.
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: 3.2.0
info:
title: Meridian Profile Layers API
description: Multi-session Claude coordinator MCP server.
version: 0.1.0
tags:
- name: Profile Layers
paths:
/profile-layers:
get:
summary: List Profile Layers Route
description: 'List every persisted profile_layers row, optionally filtered by
``scope_type``. Mirrors the ``list_profile_layers`` MCP tool.
RT-TI-005 (wave 2) — for a project-scoped caller the ``project`` layers of
projects outside their scope and the ``session`` layers of sessions of other
projects are dropped (the other layer types are not project-keyed and are
returned as before). The scope is resolved only when the listing can contain
a project or session layer, i.e. never for ``?scope_type=workspace`` /
``user`` / ``hosted_default``.'
operationId: list_profile_layers_route_profile_layers_get
parameters:
- name: scope_type
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Scope Type
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
type: object
additionalProperties: true
title: Response List Profile Layers Route Profile Layers Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Profile Layers
/profile-layers/{scope_id}/revisions:
get:
summary: Get Profile Layer Revisions Route
description: 'Return the hosted_default revision/audit history for one scope_id,
newest first. Mirrors the ``get_profile_layer_revisions`` MCP tool —
a non-hosted_default scope_id always returns [].
Registered BEFORE ``get_profile_layer_route`` below: both are GET routes
with the same 2-segment shape (``/profile-layers//``), and
Starlette matches routes in registration order — the literal-suffixed
``.../revisions`` route must be tried first or the fully-wildcarded
``{scope_type}/{scope_id}`` route below would always shadow it (e.g.
``GET /profile-layers/global/revisions`` would resolve as
``scope_type="global", scope_id="revisions"`` instead).'
operationId: get_profile_layer_revisions_route_profile_layers__scope_id__revisions_get
parameters:
- name: scope_id
in: path
required: true
schema:
type: string
title: Scope Id
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
type: object
additionalProperties: true
title: Response Get Profile Layer Revisions Route Profile Layers Scope Id Revisions Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Profile Layers
/profile-layers/{scope_type}/{scope_id}:
get:
summary: Get Profile Layer Route
description: 'Return the raw, single-layer profile for one (scope_type, scope_id).
A scope with no persisted row gets an empty profile back, never a 404 —
mirrors the ``get_profile_layer`` MCP tool.'
operationId: get_profile_layer_route_profile_layers__scope_type___scope_id__get
parameters:
- name: scope_type
in: path
required: true
schema:
type: string
title: Scope Type
- name: scope_id
in: path
required: true
schema:
type: string
title: Scope Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Get Profile Layer Route Profile Layers Scope Type Scope Id Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Profile Layers
put:
summary: Save Profile Layer Route
description: 'Validate and persist one layer''s profile — wholesale-replaces this
scope''s stored fields/reset_fields (not a merge). Body:
``{fields, reset_fields, provenance, expected_revision, actor}``, all
optional. Mirrors the ``save_profile_layer`` MCP tool. Returns 409 (not
500) when ``expected_revision`` is stale.'
operationId: save_profile_layer_route_profile_layers__scope_type___scope_id__put
parameters:
- name: scope_type
in: path
required: true
schema:
type: string
title: Scope Type
- name: scope_id
in: path
required: true
schema:
type: string
title: Scope Id
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: true
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Save Profile Layer Route Profile Layers Scope Type Scope Id Put
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Profile Layers
delete:
summary: Reset Profile Layer Route
description: 'Delete a scope''s entire profile-layer row. Returns 200 with the
post-reset empty-layer dict (not 204) — matches the
``reset_profile_layer`` MCP tool''s return shape so REST and MCP never
disagree about it. Idempotent: resetting an already-empty scope is a
no-op, not an error.'
operationId: reset_profile_layer_route_profile_layers__scope_type___scope_id__delete
parameters:
- name: scope_type
in: path
required: true
schema:
type: string
title: Scope Type
- name: scope_id
in: path
required: true
schema:
type: string
title: Scope Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Reset Profile Layer Route Profile Layers Scope Type Scope Id Delete
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Profile Layers
/profile-layers/{scope_type}/{scope_id}/clone:
post:
summary: Clone Profile Layer Route
description: 'Copy one layer''s fields/reset_fields/provenance onto another scope.
Body: ``{target_scope_type, target_scope_id, actor}`` — the first two
required. Mirrors the ``clone_profile_layer`` MCP tool, including its
"source layer must exist" rejection.'
operationId: clone_profile_layer_route_profile_layers__scope_type___scope_id__clone_post
parameters:
- name: scope_type
in: path
required: true
schema:
type: string
title: Scope Type
- name: scope_id
in: path
required: true
schema:
type: string
title: Scope Id
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: true
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Clone Profile Layer Route Profile Layers Scope Type Scope Id Clone Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Profile Layers
/profile-layers/{scope_id}/activate:
post:
summary: Activate Profile Layer Route
description: 'Advance a hosted_default layer''s lifecycle to ''active''. hosted_default
only — no scope_type in the path, matching the ``activate_profile_layer``
MCP tool''s signature (it doesn''t take scope_type either, since it''s
hardcoded to hosted_default). Body: ``{actor}`` optional.'
operationId: activate_profile_layer_route_profile_layers__scope_id__activate_post
parameters:
- name: scope_id
in: path
required: true
schema:
type: string
title: Scope Id
requestBody:
content:
application/json:
schema:
anyOf:
- type: object
additionalProperties: true
- type: 'null'
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Activate Profile Layer Route Profile Layers Scope Id Activate Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Profile Layers
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError