Skip to main content

MCP trust drift

Generated from apiome-rest/openapi.yaml (API version 1.204.1) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: mcp-trust-drift · 4 operations

GET /v1/mcp/{tenant_slug}/data-quality/shadowing​

Get Shadowing Report

Report tool/resource/prompt names shadowed across the tenant's enabled host scope (AC3).

Operation id: get_shadowing_report_v1_mcp__tenant_slug__data_quality_shadowing_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get shadowing report.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /v1/mcp/{tenant_slug}/endpoints/{endpoint_id}/trust-baseline​

Get Trust Baseline

Return the endpoint's active trust baseline and its approval history.

Operation id: get_trust_baseline_v1_mcp__tenant_slug__endpoints__endpoint_id__trust_baseline_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
endpoint_idpathstring (uuid)yesMCP endpoint identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get trust baseline.application/json any
422Validation Errorapplication/json HTTPValidationError

POST /v1/mcp/{tenant_slug}/endpoints/{endpoint_id}/trust-baseline​

Approve Trust Baseline

Approve a new trust baseline for an endpoint (AC2).

Body: version_id (optional; defaults to the latest snapshot), rationale (required, non-blank), and gating_categories (optional list of drift categories that block; defaults to security_regression + coverage_loss). Composes the approved snapshot's trust manifest, supersedes the prior baseline, and writes a policy event to the governance audit.

Operation id: approve_trust_baseline_v1_mcp__tenant_slug__endpoints__endpoint_id__trust_baseline_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
endpoint_idpathstring (uuid)yesMCP endpoint identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for approve trust baseline.

  • application/json — object

Responses

StatusDescriptionBody
201Successful response for approve trust baseline.application/json any
422Validation Errorapplication/json HTTPValidationError

GET /v1/mcp/{tenant_slug}/endpoints/{endpoint_id}/trust-drift​

Get Trust Drift

Diff the current snapshot against the approved baseline and classify the drift (AC1/AC4).

Requires an approved baseline (404 otherwise) and a current discovered snapshot (409 otherwise). The response carries every classified change with old→new evidence, the drift gate over the baseline's configured risk deltas, and — when notify=true and the notification kill switch is on — the ids of any alerts fanned out.

Operation id: get_trust_drift_v1_mcp__tenant_slug__endpoints__endpoint_id__trust_drift_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
endpoint_idpathstring (uuid)yesMCP endpoint identifier.
notifyquerybooleannoFan out a push-webhook alert when a regression is found.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for get trust drift.application/json any
422Validation Errorapplication/json HTTPValidationError

Schemas used​

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.