Inspect an authorized subscription
/{namespace}/{principalType}/{principalId}/subscriptions/{subscriptionId}Returns the authorized canonical subscription. The verified MCP target is a same-ID binding reference; callback credentials and URL are never included.
Required scope
subscription:readReturns
200
Inspect an authorized subscription
Fields
- query
QueryRequired Shared Port OS query AST modeled as a recursive JSON graph supporting match, comparison, pattern, freeform, and boolean operators.
- context
object Structured filter criteria for granular device event matching. Keys are dot-notation paths into the message (e.g., "header.namespace", "header.name"). Values are the expected values to match. All context entries must match for the subscription to fire. Omitting context matches all events.
Errors
400 BAD_REQUESTInvalid request; stable code identifies the validation failure.
Check the request fields and any validation details, then correct the payload.
401 UNAUTHORIZEDAuthentication required.
Obtain a valid access token, then retry.
403 FORBIDDENResource authorization denied.
Check the linked account and its permissions for the device or resource.
404 NOT_FOUNDResource inaccessible, missing or past retention.
Verify the target identifier and that its endpoint or plugin route still exists.
500 INTERNALInternal failure.
Retry with backoff only when the operation is safe to repeat. Include the error code when reporting persistent failures.