Skip to content

subscription_inspect

← MCP reference
View in MCP reference →
TOOL subscription_inspect

Inspect one Port OS event subscription by its exact ID returned by subscription_list.

Returns its safe query, source endpoint, catalog name and lifecycle status. A retained active subscription establishes registration; it does not prove that any client has received or acted on a camera event.

Required scope

subscription:read

Input

Fields

idstringRequired

Exact subscription ID returned by subscription_list. Never use a display name or endpoint ID.

maxLength: 2048

minLength: 1

pattern: "\\S"

Result

Fields

catalogNamestringRequired
endpointIdstringRequired
expiresAtstring | nullRequired

format: "date-time"

generationintegerRequired
idstringRequired
nameobjectRequired
queryobjectRequired
reasonCodestring
revisionintegerRequired
statusstringRequired

Errors

A failed call returns this error object as its result instead.

Fields

familystringRequired

The broad class of an error. The family decides the HTTP status of a REST error, so clients can handle every code of a family alike.

codestringRequired

The specific error, one of a closed set of Port OS codes. Every REST error body, MCP tool error, batch item error and discovery item error uses this enum; each code belongs to an `ErrorFamily` that decides its HTTP status. Provider-specific codes are never codes: they travel in `details.providerCode`. New failure kinds are added here, never as free strings.

messagestringRequired

Plain-language description of the failure and the suggested next action.

detailsErrorDetails

Optional typed context for an error. Fields are additive and only populated when the error can safely expose that context to API clients.

errorsarray<SynchronizationItemError>

Every rejected item when a request that is validated item by item and applied atomically fails, such as a discovery `SynchronizationRequest` whose routes, group routes or relationships are rejected. Omitted for single-item failures.