Agent telemetry HTTP API reference
Scoped crash investigation, session timelines, usage and release health used by the local AppPortal MCP CLI.
Workflow guide · Download OpenAPI JSON
- API origin
https://{apiHost}- API version
1.0.0- Reference source
8bda8e8302d4ea5bd005ef1132f7267e82e6337c- Download SHA-256
dd20c346dac8067c3c3406f4cbfd4496a4e540374b15c68f53db6fb47ca1b8f8
Authentication
mcpBearer- MCP-audience OAuth access token for a current explicitly consented CLI connection. Dashboard cookies and SDK/server/upload keys are not substitutes. Current server-side membership, organization selection, app permissions, exclusions and plan eligibility still apply; selectors and OAuth scopes confer no new authority.
Credentials stay with their intended audience. A browser session, SDK key, upload key and Automation credential grant different access.
Operations
39 operations
GET/mcp/action-capabilities
Discover approved actions for this app and organization
Access: mcpBearer
Required OAuth scopes:
Current governed CLI OAuth connection and organization/app access. Returns the current action scopes for this selection. An empty list means no actions are available. Refresh discovery after switching selection. Each tool call checks authority again. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentActionCapabilities" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/builds
Read registered build and symbol availability
Registered build metadata and uploaded artifact counts. symbolCount and symbolKinds do not establish exact module matching or successful symbol resolution. No symbol bytes, private storage keys or credentials are returned.
Access: mcpBearer
Required OAuth scopes:
mcp:releases.read
Current governed CLI OAuth connection and organization/app access. ManageReleases. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Optional selected environment.
{ "type": "string", "maxLength": 128 } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } platform(query, optional)- One concrete supported platform.
{ "type": "string" } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 50 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentBuildPage" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/crash-assignees
List eligible crash collaborators
Access: mcpBearer
Required OAuth scopes:
mcp:crashes.readmcp:crashes.writemcp:crashes.assign
Current governed CLI OAuth connection and organization/app access. ViewCrashes and AssignCrashOwners; active eligible app collaborators only. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashAssignees" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/crash-occurrences
Read bounded crash occurrence context
App-scoped occurrences; environment is optional. An absent environment queries authorized app environments. Legacy diagnostic text is bounded; derived symbolication text uses its sanitized projection. No user/device identity object or raw retained payload is returned.
Access: mcpBearer
Required OAuth scopes:
mcp:crashes.read
Current governed CLI OAuth connection and organization/app access. ViewCrashes. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } sessionId(query, optional)- Exact session ID.
{ "type": "string", "maxLength": 256 } bucketId(query, required)- Opaque visible triage bucket ID.
{ "type": "string", "maxLength": 200 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 10, "minimum": 1, "maximum": 25 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashOccurrencePage" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- Occurrences are unavailable; null totals are not zero.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashOccurrencePage" } } }
GET/mcp/crash-triage
Read the bounded ranked crash queue
An app header is required; environment may be omitted for authorized app-wide reads. Ranked subset from a bounded candidate capture; it does not accept continuation. totalCount and ranking may be unknown when capture is incomplete. distinctReporters is the existing bucket's affected-user aggregate, not necessarily unique identified people.
Access: mcpBearer
Required OAuth scopes:
mcp:crashes.read
Current governed CLI OAuth connection and organization/app access. ViewCrashes. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } sessionId(query, optional)- Exact session ID.
{ "type": "string", "maxLength": 256 } status(query, optional)- Recognized crash bucket status.
{ "type": "string" } severity(query, optional)- Recognized handled-error or unhandled-crash severity.
{ "type": "string" } search(query, optional)- Bounded search.
{ "type": "string", "maxLength": 256 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 25 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashTriagePage" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
POST/mcp/crash-triage/{bucketId}/notes
Add a crash investigation note
Requires the crash-specific protected preview and the same caller key and normalized body. New/pending work rechecks current authority, identity, expiry and resource state after locks. Current per-connection impact, rate and optional human-approval policy governs new work. When required, supply the separate bounded humanApprovalReference minted through the authenticated Portal approval route; a preview token alone is not human approval. An exact completed immutable receipt may replay after proof expiry only with valid cryptographic binding and current authority; no new policy admission is consumed. Different intent, legacy operation or pending command is never adopted; reconcile unknown outcomes instead of creating another operation.
Access: mcpBearer
Required OAuth scopes:
mcp:crashes.readmcp:crashes.write
Current governed CLI OAuth connection and organization/app access. ViewCrashes and ManageCrashWorkflow; current operational permission and identifiable eligible actor. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } bucketId(path, required)- Visible crash bucket ID.
{ "type": "string", "maxLength": 200 } Idempotency-Key(header, required)- Trimmed stable 1–200 UTF-16-code-unit key for the exact mutation intent. Reuse only for its retries.
{ "type": "string", "x-appportal-max-normalized-utf16-code-units": 200 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpCrashNoteApplyRequest"
}
}
}
} Responses
201- Created note or the same durable activity identity on exact retry. occurredAt and the full response are the original committed receipt on exact replay.
Response headers
{ "Location": { "schema": { "type": "string" }, "description": "Activity resource identifier returned by this operation; no GET /mcp/crash-triage/{bucketId}/activity route is implemented." }, "Idempotency-Replayed": { "description": "When present, true identifies an exact replay of the original committed receipt.", "schema": { "type": "string", "enum": [ "true", "false" ] } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashNoteCreated" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Missing/mismatched/expired confirmation, changed intent/resource or a legacy/pending operation requiring reconciliation.
{ "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentCrashConfirmationConflict" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 423- Organization operational policy currently denies management.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Current action rate limit or policy revision changed; no new mutation committed.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 503- Workflow/telemetry authority is unavailable. Preserve the exact idempotency intent and retry conservatively.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/crash-triage/{bucketId}/notes/preview
Preview the exact protected crash notes intent
Read-only protected intent: binds current actor, connection, full app selection, caller key, normalized payload and crash identity. Workflow also binds its current state. The summary contains no note text or collaborator email. A preview is not proof that a human reviewed it and grants no permission.
Access: mcpBearer
Required OAuth scopes:
mcp:crashes.readmcp:crashes.write
Current governed CLI OAuth connection and organization/app access. ViewCrashes and ManageCrashWorkflow; current connection, app access and operational policy. Delegated assignment also requires current assignment consent and capability. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } bucketId(path, required)- Visible crash bucket ID.
{ "type": "string", "maxLength": 200 } Idempotency-Key(header, required)- Trimmed stable 1–200 UTF-16-code-unit key for the exact mutation intent. Reuse only for its retries.
{ "type": "string", "x-appportal-max-normalized-utf16-code-units": 200 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CrashBucketNoteRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashConfirmationPreview" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Missing/mismatched/expired confirmation, changed intent/resource or a legacy/pending operation requiring reconciliation.
{ "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentCrashConfirmationConflict" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 423- Current account policy denies management.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- Current crash identity is unavailable; no action occurred.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/crash-triage/{bucketId}/workflow
Update the permitted crash workflow
Requires the crash-specific protected preview and the same caller key and normalized body. New/pending work rechecks current authority, identity, expiry and resource state after locks. Current per-connection impact, rate and optional human-approval policy governs new work. When required, supply the separate bounded humanApprovalReference minted through the authenticated Portal approval route; a preview token alone is not human approval. An exact completed immutable receipt may replay after proof expiry only with valid cryptographic binding and current authority; no new policy admission is consumed. Different intent, legacy operation or pending command is never adopted; reconcile unknown outcomes instead of creating another operation.
Access: mcpBearer
Required OAuth scopes:
mcp:crashes.readmcp:crashes.write
Current governed CLI OAuth connection and organization/app access. ViewCrashes and ManageCrashWorkflow. Assigning another collaborator or replacing an existing owner requires mcp:crashes.assign and AssignCrashOwners. An eligible actor may claim an unassigned bucket or keep their own assignment with crash-write consent; assigneeUserId must identify a currently eligible collaborator. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } bucketId(path, required)- Visible crash bucket ID.
{ "type": "string", "maxLength": 200 } Idempotency-Key(header, required)- Trimmed stable 1–200 UTF-16-code-unit key for the exact mutation intent. Reuse only for its retries.
{ "type": "string", "x-appportal-max-normalized-utf16-code-units": 200 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpCrashWorkflowApplyRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Idempotency-Replayed": { "description": "When present, true identifies an exact replay of the original committed receipt.", "schema": { "type": "string", "enum": [ "true", "false" ] } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashWorkflow" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Missing/mismatched/expired confirmation, changed intent/resource or a legacy/pending operation requiring reconciliation.
{ "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentCrashConfirmationConflict" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 423- Organization operational policy currently denies management.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Current action rate limit or policy revision changed; no new mutation committed.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 503- Workflow/telemetry authority is unavailable. Preserve the exact idempotency intent and retry conservatively.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/crash-triage/{bucketId}/workflow/preview
Preview the exact protected crash workflow intent
Read-only protected intent: binds current actor, connection, full app selection, caller key, normalized payload and crash identity. Workflow also binds its current state. The summary contains no note text or collaborator email. A preview is not proof that a human reviewed it and grants no permission.
Access: mcpBearer
Required OAuth scopes:
mcp:crashes.readmcp:crashes.write
Current governed CLI OAuth connection and organization/app access. ViewCrashes and ManageCrashWorkflow; current connection, app access and operational policy. Delegated assignment also requires current assignment consent and capability. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } bucketId(path, required)- Visible crash bucket ID.
{ "type": "string", "maxLength": 200 } Idempotency-Key(header, required)- Trimmed stable 1–200 UTF-16-code-unit key for the exact mutation intent. Reuse only for its retries.
{ "type": "string", "x-appportal-max-normalized-utf16-code-units": 200 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpCrashWorkflowRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentCrashConfirmationPreview" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Missing/mismatched/expired confirmation, changed intent/resource or a legacy/pending operation requiring reconciliation.
{ "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentCrashConfirmationConflict" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 423- Current account policy denies management.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- Current crash identity is unavailable; no action occurred.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
GET/mcp/events
Read sanitized event occurrences
Access: mcpBearer
Required OAuth scopes:
mcp:overview.read
Current governed CLI OAuth connection and organization/app access. ViewAnalytics. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } sessionId(query, optional)- Exact session ID.
{ "type": "string", "maxLength": 256 } eventType(query, optional)- Valid event type, compared case-insensitively.
{ "type": "string", "maxLength": 64 } eventName(query, optional)- Exact valid event name.
{ "type": "string", "maxLength": 200 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 50 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentEventsPage" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
501- Provider capability is unsupported, not a factual empty result.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentEventsPage" } } } 503- The provider or capture is unavailable; counts/metrics remain unknown.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentEventsPage" } } }
POST/mcp/funnel
Read an ordered event funnel
Structured read: 2–8 canonical event keys, conversionWindowHours 1–720 (default 24). UTF-8 JSON object; unknown properties and case-insensitive duplicate keys are rejected. Counts are distinct ordered users and conversion/drop-off denominators are explicit. A missing or mixed identity population can return 200 unavailable with captureComplete=false, not zero conversion.
Access: mcpBearer
Required OAuth scopes:
mcp:overview.read
Current governed CLI OAuth connection and organization/app access. ViewAnalytics. This POST is a structured read, not a mutation. Scope/header selectors never grant access.
Maximum request body: 16,384 bytes.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } sessionId(query, optional)- Exact session ID.
{ "type": "string", "maxLength": 256 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpFunnelRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentFunnel" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
413- Body exceeds 16,384 bytes; no query executed.
415- JSON content type required.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
501- Provider capability is unsupported, not a factual empty result.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentFunnel" } } } 503- The provider or capture is unavailable; counts/metrics remain unknown.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentFunnel" } } }
POST/mcp/geofence-tags/apply
Apply the reviewed geofence tag cooldown policy
Request and confirmationToken are JSON body fields. Recheck tag revision and configuration; the response retains any affectedGeofence revision projection from the actual DTO. Supply the Location proof in the body, not X-AppPortal-MCP-Confirmation. Every apply action requires the same stable Idempotency-Key and can replay its immutable original result after proof expiry under current authority and cryptographic binding. Changed intent or missing original receipt fails closed; do not generate a replacement key after uncertainty. Idempotency-Replayed=true marks an exact completed replay. New work observes current per-connection impact/rate policy and, when required, a separately minted humanApprovalReference from the authenticated Portal session. Preview alone is not human approval.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.readmcp:geofences.write
Current governed CLI OAuth connection and organization/app access. Current Admin, AppOwner or ProductOwner; active governed connection with both stored Location grants, current organization membership, app visibility, concrete canonical environment and Location entitlement. All action stores recheck current authority after transaction waits before effects and commit. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } Idempotency-Key(header, required)- Required for every apply action, including Update, Deactivate, bulk-radial and tag policy. Trim outer whitespace, then require 8–128 ASCII letters/digits or - _ . :. Repeated values join with a comma and fail this grammar. Keep the same key and exact action intent after uncertainty.
{ "type": "string", "x-appportal-normalized-min-length": 8, "x-appportal-normalized-max-length": 128, "x-appportal-normalized-pattern": "^[A-Za-z0-9_.:-]{8,128}$" }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpGeofenceTagApplyRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Idempotency-Replayed": { "schema": { "const": "true" }, "description": "Exact immutable completed-result replay under current authority." } }{ "application/json": { "schema": { "$ref": "#/components/schemas/GeofenceTagDefinition" } } } 400- Invalid domain/scope or protected proof; Every apply validates its stable key. Framework binding may be bodyless.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed resource/configuration, expired or mismatched Location proof or selection. Every apply rejects a key reused for a different request or an unavailable original outcome.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- The existing JSON body binder requires a supported JSON content type; no native JSON error body is guaranteed.
429- Current action rate limit or policy revision changed; no new mutation committed.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 500- A command could not produce a verified result; an error does not prove that no commit occurred.
GET/mcp/geofence-tags/page
Read one authorized geofence tag-policy page
A bounded SQL keyset page of current authorized configuration. Forward nextCursor unchanged with the same actor, OAuth connection, canonical selection, data owner, query and limit. Null nextCursor is the observed end; totalCount remains unknown/null. Configuration may change between pages; no snapshot or complete capture guarantee is implied. Geofence records include their effective cooldowns and app settings; the tag catalog is independently paged through /mcp/geofence-tags/page rather than repeated without a bound.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.read
Current governed CLI OAuth connection and organization/app access. Current app visibility, active app, canonical environment and Location entitlement; authority and resolved data owner are rechecked before response. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } query(query, optional)- Optional trimmed literal search. Locations match name/metadata values/attribute keys and values, geofences name/tags, tag policies tag name.
{ "type": "string", "maxLength": 200 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 100 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentGeofenceTagCatalogPage" } } } 400- location_page_invalid: invalid/repeated/unknown selectors or transferred, changed or malformed cursor.
{ "application/json": { "schema": { "oneOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentLocationPageError" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- location_page_unavailable; retry the unchanged page without inventing empty configuration.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLocationPageError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/geofence-tags/preview
Preview a geofence tag cooldown policy
Tag is trimmed and lowercased. policy.expectedRevision must equal the current tag revision, including zero for a new tag. affectedGeofences is the actual current tag membership count; nullable proposedCooldowns remains null. Explicit preview only: no Idempotency-Key or X-AppPortal-MCP-Confirmation header is required. The opaque confirmation binds connection, security subject, owner, app/environment, request digest, resource/configuration version and a ten-minute expiry; it is not new authority.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.readmcp:geofences.write
Current governed CLI OAuth connection and organization/app access. Current Admin, AppOwner or ProductOwner; active governed connection with both stored Location grants, current organization membership, app visibility, concrete canonical environment and Location entitlement. All action stores recheck current authority after transaction waits before effects and commit. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpGeofenceTagActionRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentGeofenceTagPreview" } } } 400- Invalid domain/scope or protected proof; Every apply validates its stable key. Framework binding may be bodyless.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed resource/configuration, expired or mismatched Location proof or selection. Every apply rejects a key reused for a different request or an unavailable original outcome.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- The existing JSON body binder requires a supported JSON content type; no native JSON error body is guaranteed.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/geofences
Read the authorized geofence catalog
Name and tags use case-insensitive matching of the trimmed query. Tags and app-level measurement settings are returned alongside the selected geofences. Legacy compatibility requires a complete result within the selected 1–100 limit, default 100. Larger results return 400 pagination_required; use the matching /page route. The geofence legacy wrapper also requires the entire tag catalog to fit 100. No query other than query/limit is accepted. Actual configuration records are returned, not sanitized telemetry, positions or event history.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.read
Current governed CLI OAuth connection and organization/app access. Current app visibility, active app, concrete canonical environment and location-services entitlement. Hidden or disabled resources return 404. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } query(query, optional)- Optional trimmed literal search; blank means no search.
{ "type": "string", "maxLength": 200 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 100, "minimum": 1, "maximum": 100 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentGeofenceCatalog" } } } 400- location_page_invalid or pagination_required; selectors and complete-result bound must be satisfied.
{ "application/json": { "schema": { "oneOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentLocationPageError" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- location_page_unavailable; an unverifiable source is not an empty catalog.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLocationPageError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/geofences/apply
Apply the reviewed geofence action
Request and confirmationToken are JSON body fields. A create returns the actual record with HTTP 200, not a new 201 contract. Update/Deactivate recheck the retained resource revision inside the command. Supply the Location proof in the body, not X-AppPortal-MCP-Confirmation. Every apply action requires the same stable Idempotency-Key and can replay its immutable original result after proof expiry under current authority and cryptographic binding. Changed intent or missing original receipt fails closed; do not generate a replacement key after uncertainty. Idempotency-Replayed=true marks an exact completed replay. New work observes current per-connection impact/rate policy and, when required, a separately minted humanApprovalReference from the authenticated Portal session. Preview alone is not human approval.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.readmcp:geofences.write
Current governed CLI OAuth connection and organization/app access. Current Admin, AppOwner or ProductOwner; active governed connection with both stored Location grants, current organization membership, app visibility, concrete canonical environment and Location entitlement. All action stores recheck current authority after transaction waits before effects and commit. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } Idempotency-Key(header, required)- Required for every apply action, including Update, Deactivate, bulk-radial and tag policy. Trim outer whitespace, then require 8–128 ASCII letters/digits or - _ . :. Repeated values join with a comma and fail this grammar. Keep the same key and exact action intent after uncertainty.
{ "type": "string", "x-appportal-normalized-min-length": 8, "x-appportal-normalized-max-length": 128, "x-appportal-normalized-pattern": "^[A-Za-z0-9_.:-]{8,128}$" }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpGeofenceApplyRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Idempotency-Replayed": { "schema": { "const": "true" }, "description": "Exact immutable completed-result replay under current authority." } }{ "application/json": { "schema": { "$ref": "#/components/schemas/GeofenceRecord" } } } 400- Invalid domain/scope or protected proof; Every apply validates its stable key. Framework binding may be bodyless.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed resource/configuration, expired or mismatched Location proof or selection. Every apply rejects a key reused for a different request or an unavailable original outcome.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- The existing JSON body binder requires a supported JSON content type; no native JSON error body is guaranteed.
429- Current action rate limit or policy revision changed; no new mutation committed.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 500- A command could not produce a verified result; an error does not prove that no commit occurred.
POST/mcp/geofences/bulk-radial/apply
Apply the reviewed radial geofence selection
request, previewDigest and confirmationToken are separate JSON fields. For new work, validate the protected selected place IDs, revisions, coordinates and template digest; return actual selected/created/skipped counts and records. Completed replay returns the original selection result. Supply the Location proof in the body, not X-AppPortal-MCP-Confirmation. Every apply action requires the same stable Idempotency-Key and can replay its immutable original result after proof expiry under current authority and cryptographic binding. Changed intent or missing original receipt fails closed; do not generate a replacement key after uncertainty. Idempotency-Replayed=true marks an exact completed replay. New work observes current per-connection impact/rate policy and, when required, a separately minted humanApprovalReference from the authenticated Portal session. Preview alone is not human approval.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.readmcp:geofences.write
Current governed CLI OAuth connection and organization/app access. Current Admin, AppOwner or ProductOwner; active governed connection with both stored Location grants, current organization membership, app visibility, concrete canonical environment and Location entitlement. All action stores recheck current authority after transaction waits before effects and commit. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } Idempotency-Key(header, required)- Required for every apply action, including Update, Deactivate, bulk-radial and tag policy. Trim outer whitespace, then require 8–128 ASCII letters/digits or - _ . :. Repeated values join with a comma and fail this grammar. Keep the same key and exact action intent after uncertainty.
{ "type": "string", "x-appportal-normalized-min-length": 8, "x-appportal-normalized-max-length": 128, "x-appportal-normalized-pattern": "^[A-Za-z0-9_.:-]{8,128}$" }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpBulkRadialGeofenceApplyRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Idempotency-Replayed": { "schema": { "const": "true" }, "description": "Exact immutable completed-result replay under current authority." } }{ "application/json": { "schema": { "$ref": "#/components/schemas/BulkRadialGeofenceResult" } } } 400- Invalid domain/scope or protected proof; Every apply validates its stable key. Framework binding may be bodyless.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed resource/configuration, expired or mismatched Location proof or selection. Every apply rejects a key reused for a different request or an unavailable original outcome.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- The existing JSON body binder requires a supported JSON content type; no native JSON error body is guaranteed.
429- Current action rate limit or policy revision changed; no new mutation committed.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 500- A command could not produce a verified result; an error does not prove that no commit occurred.
POST/mcp/geofences/bulk-radial/preview
Preview radial geofences for a Location selection
Review the actual selectedLocations/plannedCreates/existingGeofences and warnings. Bulk impact is additionally checked against the actual planned create count; zero planned creates remains a factual zero. Explicit preview only: no Idempotency-Key or X-AppPortal-MCP-Confirmation header is required. The opaque confirmation binds connection, security subject, owner, app/environment, request digest, resource/configuration version and a ten-minute expiry; it is not new authority.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.readmcp:geofences.write
Current governed CLI OAuth connection and organization/app access. Current Admin, AppOwner or ProductOwner; active governed connection with both stored Location grants, current organization membership, app visibility, concrete canonical environment and Location entitlement. All action stores recheck current authority after transaction waits before effects and commit. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkRadialGeofenceRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentBulkRadialGeofencePreview" } } } 400- Invalid domain/scope or protected proof; Every apply validates its stable key. Framework binding may be bodyless.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed resource/configuration, expired or mismatched Location proof or selection. Every apply rejects a key reused for a different request or an unavailable original outcome.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- The existing JSON body binder requires a supported JSON content type; no native JSON error body is guaranteed.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/geofences/page
Read one authorized geofence page
A bounded SQL keyset page of current authorized configuration. Forward nextCursor unchanged with the same actor, OAuth connection, canonical selection, data owner, query and limit. Null nextCursor is the observed end; totalCount remains unknown/null. Configuration may change between pages; no snapshot or complete capture guarantee is implied. Geofence records include their effective cooldowns and app settings; the tag catalog is independently paged through /mcp/geofence-tags/page rather than repeated without a bound.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.read
Current governed CLI OAuth connection and organization/app access. Current app visibility, active app, canonical environment and Location entitlement; authority and resolved data owner are rechecked before response. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } query(query, optional)- Optional trimmed literal search. Locations match name/metadata values/attribute keys and values, geofences name/tags, tag policies tag name.
{ "type": "string", "maxLength": 200 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 100 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentGeofenceCatalogPage" } } } 400- location_page_invalid: invalid/repeated/unknown selectors or transferred, changed or malformed cursor.
{ "application/json": { "schema": { "oneOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentLocationPageError" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- location_page_unavailable; retry the unchanged page without inventing empty configuration.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLocationPageError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/geofences/preview
Preview a geofence action
Create requires a named geofence payload; Update/Deactivate require the current geofenceId and expectedRevision. Update validates the same current geometry and links. Deactivate may return proposed=null. Explicit preview only: no Idempotency-Key or X-AppPortal-MCP-Confirmation header is required. The opaque confirmation binds connection, security subject, owner, app/environment, request digest, resource/configuration version and a ten-minute expiry; it is not new authority.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.readmcp:geofences.write
Current governed CLI OAuth connection and organization/app access. Current Admin, AppOwner or ProductOwner; active governed connection with both stored Location grants, current organization membership, app visibility, concrete canonical environment and Location entitlement. All action stores recheck current authority after transaction waits before effects and commit. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpGeofenceActionRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentGeofencePreview" } } } 400- Invalid domain/scope or protected proof; Every apply validates its stable key. Framework binding may be bodyless.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed resource/configuration, expired or mismatched Location proof or selection. Every apply rejects a key reused for a different request or an unavailable original outcome.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- The existing JSON body binder requires a supported JSON content type; no native JSON error body is guaranteed.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/locations
Read the authorized Location catalog
Name, metadata values and attribute keys/values use case-insensitive matching of the trimmed query. Legacy compatibility requires a complete result within the selected 1–100 limit, default 100. Larger results return 400 pagination_required; use the matching /page route. The geofence legacy wrapper also requires the entire tag catalog to fit 100. No query other than query/limit is accepted. Actual configuration records are returned, not sanitized telemetry, positions or event history.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.read
Current governed CLI OAuth connection and organization/app access. Current app visibility, active app, concrete canonical environment and location-services entitlement. Hidden or disabled resources return 404. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } query(query, optional)- Optional trimmed literal search; blank means no search.
{ "type": "string", "maxLength": 200 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 100, "minimum": 1, "maximum": 100 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLocationCatalog" } } } 400- location_page_invalid or pagination_required; selectors and complete-result bound must be satisfied.
{ "application/json": { "schema": { "oneOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentLocationPageError" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- location_page_unavailable; an unverifiable source is not an empty catalog.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLocationPageError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
GET/mcp/locations/page
Read one authorized Location page
A bounded SQL keyset page of current authorized configuration. Forward nextCursor unchanged with the same actor, OAuth connection, canonical selection, data owner, query and limit. Null nextCursor is the observed end; totalCount remains unknown/null. Configuration may change between pages; no snapshot or complete capture guarantee is implied. Geofence records include their effective cooldowns and app settings; the tag catalog is independently paged through /mcp/geofence-tags/page rather than repeated without a bound.
Access: mcpBearer
Required OAuth scopes:
mcp:geofences.read
Current governed CLI OAuth connection and organization/app access. Current app visibility, active app, canonical environment and Location entitlement; authority and resolved data owner are rechecked before response. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } query(query, optional)- Optional trimmed literal search. Locations match name/metadata values/attribute keys and values, geofences name/tags, tag policies tag name.
{ "type": "string", "maxLength": 200 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 100 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLocationCatalogPage" } } } 400- location_page_invalid: invalid/repeated/unknown selectors or transferred, changed or malformed cursor.
{ "application/json": { "schema": { "oneOf": [ { "$ref": "#/components/schemas/AgentError" }, { "$ref": "#/components/schemas/AgentLocationPageError" } ] } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- location_page_unavailable; retry the unchanged page without inventing empty configuration.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLocationPageError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
GET/mcp/logs
Search sanitized logs
Access: mcpBearer
Required OAuth scopes:
mcp:logs.read
Current governed CLI OAuth connection and organization/app access. ViewLogs. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } sessionId(query, optional)- Exact session ID.
{ "type": "string", "maxLength": 256 } severity(query, optional)- Recognized severity; minimumSeverity is an equivalent selector and may not disagree.
{ "type": "string", "maxLength": 32 } minimumSeverity(query, optional)- Alias of severity.
{ "type": "string", "maxLength": 32 } category(query, optional)- Exact category.
{ "type": "string", "maxLength": 128 } search(query, optional)- Bounded message search.
{ "type": "string", "maxLength": 256 } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 50 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLogPage" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- Logs are unavailable; null totals are not zero.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLogPage" } } }
GET/mcp/logs/{logId}
Read a protected log detail
Access: mcpBearer
Required OAuth scopes:
mcp:logs.read
Current governed CLI OAuth connection and organization/app access. ViewLogs; the returned protected handle is bound to this subject/app/scope. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } logId(path, required)- Use the exact logId returned by /mcp/logs; raw provider IDs and another scope's handle return 404.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentLogDetail" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/overview
Read visible apps and permitted diagnostics
Counts visible apps. Conditional release/crash fields require corresponding app capabilities. An unavailable crash population is null, never an invented zero. continuationAvailable remains true even on the last complete page; inspect nextCursor/hasMore.
Access: mcpBearer
Required OAuth scopes:
mcp:overview.read
Current governed CLI OAuth connection and organization/app access. Current app visibility; release/crash fields appear only with their corresponding app capabilities. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, optional)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } search(query, optional)- Bounded app name/ID search.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Filter the visible app environment catalog.
{ "type": "string" } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 10, "minimum": 1, "maximum": 25 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentOverview" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/release-comparison
Compare exact release health
Adoption uses selected-version sessions / all sessions in the same window. Crash-free sessions uses (sessions − crashed sessions) / sessions; errors per session counts reports, not affected users. P95 startup is milliseconds with sample count. Crash-free users and ANR remain explicitly unsupported. A bounded or ambiguous release registry cannot infer a predecessor; catalog completeness differs from metric completeness.
Access: mcpBearer
Required OAuth scopes:
mcp:releases.readmcp:overview.readmcp:crashes.read
Current governed CLI OAuth connection and organization/app access. ViewAnalytics, ManageReleases and ViewCrashes. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Selected concrete environment.
{ "type": "string" } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string" } version(query, required)- Exact current release version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Window start; default is thirty days before to.
{ "type": "string", "format": "date-time" } to(query, optional)- Window end; default is current time.
{ "type": "string", "format": "date-time" } baselineVersion(query, optional)- Optional explicit different baseline. Otherwise capture the complete bounded registry before selecting an unambiguous previous release.
{ "type": "string", "maxLength": 128 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentReleaseHealth" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
501- Provider capability is unsupported, not a factual empty result.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentReleaseHealth" } } } 503- The provider or capture is unavailable; counts/metrics remain unknown.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentReleaseHealth" } } }
GET/mcp/release-health
Read exact release health
Adoption uses selected-version sessions / all sessions in the same window. Crash-free sessions uses (sessions − crashed sessions) / sessions; errors per session counts reports, not affected users. P95 startup is milliseconds with sample count. Crash-free users and ANR remain explicitly unsupported. A bounded or ambiguous release registry cannot infer a predecessor; catalog completeness differs from metric completeness.
Access: mcpBearer
Required OAuth scopes:
mcp:releases.readmcp:overview.readmcp:crashes.read
Current governed CLI OAuth connection and organization/app access. ViewAnalytics, ManageReleases and ViewCrashes. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Selected concrete environment.
{ "type": "string" } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string" } version(query, required)- Exact current release version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Window start; default is thirty days before to.
{ "type": "string", "format": "date-time" } to(query, optional)- Window end; default is current time.
{ "type": "string", "format": "date-time" }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentReleaseHealth" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
501- Provider capability is unsupported, not a factual empty result.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentReleaseHealth" } } } 503- The provider or capture is unavailable; counts/metrics remain unknown.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentReleaseHealth" } } }
GET/mcp/release-summary
Read release metadata
Access: mcpBearer
Required OAuth scopes:
mcp:releases.read
Current governed CLI OAuth connection and organization/app access. ManageReleases. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Optional selected environment.
{ "type": "string", "maxLength": 128 } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact release version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } state(query, optional)- Recognized ReleaseState; status is an alias and may not disagree.
{ "type": "string" } status(query, optional)- Alias of state; if both are supplied their values must agree.
{ "type": "string" } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 50 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentReleasePage" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/rum
Read sanitized performance markers
Access: mcpBearer
Required OAuth scopes:
mcp:overview.read
Current governed CLI OAuth connection and organization/app access. ViewAnalytics. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } sessionId(query, optional)- Exact session ID.
{ "type": "string", "maxLength": 256 } kind(query, optional)- AppStart, ScreenLoad, NetworkRequest or Custom; case-insensitive names, not numeric aliases.
{ "type": "string" } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 50 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentRumPage" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
501- Provider capability is unsupported, not a factual empty result.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentRumPage" } } } 503- The provider or capture is unavailable; counts/metrics remain unknown.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentRumPage" } } }
GET/mcp/session-story
Follow a sanitized session timeline
Access: mcpBearer
Required OAuth scopes:
mcp:overview.readmcp:logs.readmcp:crashes.read
Current governed CLI OAuth connection and organization/app access. ViewLogs, ViewAnalytics and ViewCrashes. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match the selected concrete environment.
{ "type": "string" } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string" } sessionId(query, required)- Exact session ID.
{ "type": "string", "maxLength": 256 } focusTimestamp(query, optional)- Optional focus; the timestamp must support the bounded focus window.
{ "type": "string", "format": "date-time" } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 25, "minimum": 1, "maximum": 50 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentSessionStory" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- The captured session changed. Restart from the beginning instead of mixing snapshots.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentSessionStoryChanged" } } } 429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- Session capture or continuation unavailable; inspect code and unknown coverage.
Response headers
{ "Cache-Control": { "schema": { "const": "no-store, private" } }, "Pragma": { "schema": { "const": "no-cache" } }, "X-Content-Type-Options": { "schema": { "const": "nosniff" } }, "X-AppPortal-Diagnostic-Classification": { "schema": { "const": "sanitized" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentSessionStory" } } }
GET/mcp/smart-link-environments
List the app's domain catalog
This is the app-wide catalog. An optional concrete environment is validated, not used as a filter or bound into this app-wide continuation. Only limit (default50, range1–100) and one exact opaque cursor are accepted. The protected continuation binds subject, account, app, collection and limit; invalid/cross-scope continuation does not silently restart. nextCursor=null is terminal, not a total population assertion.
Access: mcpBearer
Required OAuth scopes:
mcp:smart-links.read
Current governed CLI OAuth connection and organization/app access. Current authorized app visibility. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 50, "minimum": 1, "maximum": 100 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "private, no-store" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentSmartLinkEnvironmentPage" } } } 400- Invalid closed query or protected continuation; smart_link_page_invalid.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- Protected continuation unavailable; smart_link_page_unavailable. No successful partial page is invented.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/smart-link-environments
Create an environment domain variant
Explicit apply requires JSON request and confirmationToken from the matching preview, plus the same Idempotency-Key. Fresh proof and live authority are checked after locks before any new or pending mutation. Current per-connection impact, rate and optional human-approval policy is enforced; when required, supply humanApprovalReference from the authenticated Portal approval route. Completed replay does not consume another policy admission. The Links resource, durable receipt and domain audit event commit atomically in AppData. Completed exact receipts replay their original body/status/location after current authority and cryptographic binding checks, including after proof expiry. An uncertain DNS attempt remains pending for reconciliation; matching host/target does not prove ownership, and retries neither adopt existing records nor automatically provision or delete them. This reference makes no deployment/provider-configuration claim.
Access: mcpBearer
Required OAuth scopes:
mcp:smart-links.readmcp:smart-links.write
Current governed CLI OAuth connection and organization/app access. Current active connection, live grants, current Admin/AppOwner app visibility and account management policy. Preview is not authority. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } Idempotency-Key(header, required)- One stable caller operation identity, reused for preview, apply and reconciliation. A changed intent conflicts; never generate a replacement after an uncertain result.
{ "type": "string", "minLength": 1, "maxLength": 128 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpSmartLinkEnvironmentApplyRequest"
}
}
}
} Responses
201- Created resource, or the immutable completed result for this exact operation.
Response headers
{ "Location": { "schema": { "type": "string" }, "description": "Created identifier; this does not add a detail GET route." }, "Idempotency-Replayed": { "schema": { "type": "string" }, "description": "true only for an exact completed receipt replay." } }{ "application/json": { "schema": { "$ref": "#/components/schemas/SmartLinkDomainRecord" } } } 400- Invalid bounded JSON, operation identity or confirmation; smart_link_confirmation_invalid.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed proof/request/resource, conflicting operation or unresolved DNS ownership; smart_link_confirmation_conflict.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- A supported JSON content type is required.
423- Current account management policy denies the action.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Current action rate limit or policy revision changed; no new mutation committed.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/smart-link-environments/preview
Preview an environment domain variant
Explicit preview only; no resource or DNS mutation. The ten-minute purpose-separated confirmation binds the current connection, subject, canonical scope/selection, request digest and current binding/base-domain fingerprint. The summary excludes destination URLs, caller keys and provider diagnostics.
Access: mcpBearer
Required OAuth scopes:
mcp:smart-links.readmcp:smart-links.write
Current governed CLI OAuth connection and organization/app access. Current active connection, live grants, current Admin/AppOwner app visibility and account management policy. Preview is not authority. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, optional)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } Idempotency-Key(header, required)- One stable caller operation identity, reused for preview, apply and reconciliation. A changed intent conflicts; never generate a replacement after an uncertain result.
{ "type": "string", "minLength": 1, "maxLength": 128 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SmartLinkEnvironmentDomainRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentSmartLinkPreview" } } } 400- Invalid bounded JSON, operation identity or confirmation; smart_link_confirmation_invalid.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed proof/request/resource, conflicting operation or unresolved DNS ownership; smart_link_confirmation_conflict.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- A supported JSON content type is required.
423- Current account management policy denies the action.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/smart-links
List authorized Smart Links
One concrete environment is required and is bound into continuation. totalClicks remains null in the catalog; analytics is separate. Only limit (default50, range1–100) and one exact opaque cursor are accepted. The protected continuation binds subject, account, app, collection and limit; invalid/cross-scope continuation does not silently restart. nextCursor=null is terminal, not a total population assertion.
Access: mcpBearer
Required OAuth scopes:
mcp:smart-links.read
Current governed CLI OAuth connection and organization/app access. Current authorized app visibility. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 50, "minimum": 1, "maximum": 100 } cursor(query, optional)- Opaque protected continuation bound to subject, collection, app and filter/window fingerprint; cannot retarget scope.
{ "type": "string", "maxLength": 8192 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{ "Cache-Control": { "schema": { "const": "private, no-store" } } }{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentSmartLinkPage" } } } 400- Invalid closed query or protected continuation; smart_link_page_invalid.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
503- Protected continuation unavailable; smart_link_page_unavailable. No successful partial page is invented.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
POST/mcp/smart-links
Create Smart Link
Explicit apply requires JSON request and confirmationToken from the matching preview, plus the same Idempotency-Key. Fresh proof and live authority are checked after locks before any new or pending mutation. Current per-connection impact, rate and optional human-approval policy is enforced; when required, supply humanApprovalReference from the authenticated Portal approval route. Completed replay does not consume another policy admission. The Links resource, durable receipt and domain audit event commit atomically in AppData. Completed exact receipts replay their original body/status/location after current authority and cryptographic binding checks, including after proof expiry. An uncertain DNS attempt remains pending for reconciliation; matching host/target does not prove ownership, and retries neither adopt existing records nor automatically provision or delete them. This reference makes no deployment/provider-configuration claim.
Access: mcpBearer
Required OAuth scopes:
mcp:smart-links.readmcp:smart-links.write
Current governed CLI OAuth connection and organization/app access. Current active connection, live grants, current Admin/AppOwner app visibility and account management policy. Preview is not authority. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } Idempotency-Key(header, required)- One stable caller operation identity, reused for preview, apply and reconciliation. A changed intent conflicts; never generate a replacement after an uncertain result.
{ "type": "string", "minLength": 1, "maxLength": 128 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/McpSmartLinkApplyRequest"
}
}
}
} Responses
201- Created resource, or the immutable completed result for this exact operation.
Response headers
{ "Location": { "schema": { "type": "string" }, "description": "Created identifier; this does not add a detail GET route." }, "Idempotency-Replayed": { "schema": { "type": "string" }, "description": "true only for an exact completed receipt replay." } }{ "application/json": { "schema": { "$ref": "#/components/schemas/SmartLinkRecord" } } } 400- Invalid bounded JSON, operation identity or confirmation; smart_link_confirmation_invalid.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed proof/request/resource, conflicting operation or unresolved DNS ownership; smart_link_confirmation_conflict.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- A supported JSON content type is required.
423- Current account management policy denies the action.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Current action rate limit or policy revision changed; no new mutation committed.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } }
GET/mcp/smart-links/{linkId}/analytics
Read Smart Link funnel evidence
Access: mcpBearer
Required OAuth scopes:
mcp:smart-links.read
Current governed CLI OAuth connection and organization/app access. Current app visibility and ViewAnalytics. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } linkId(path, required)- Exact authorized link identifier.
{ "type": "string", "maxLength": 200 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/SmartLinkClickStats" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
POST/mcp/smart-links/preview
Preview Smart Link
Explicit preview only; no resource or DNS mutation. The ten-minute purpose-separated confirmation binds the current connection, subject, canonical scope/selection, request digest and current binding/base-domain fingerprint. The summary excludes destination URLs, caller keys and provider diagnostics.
Access: mcpBearer
Required OAuth scopes:
mcp:smart-links.readmcp:smart-links.write
Current governed CLI OAuth connection and organization/app access. Current active connection, live grants, current Admin/AppOwner app visibility and account management policy. Preview is not authority. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } Idempotency-Key(header, required)- One stable caller operation identity, reused for preview, apply and reconciliation. A changed intent conflicts; never generate a replacement after an uncertain result.
{ "type": "string", "minLength": 1, "maxLength": 128 }
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SmartLinkUpsertRequest"
}
}
}
} Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentSmartLinkPreview" } } } 400- Invalid bounded JSON, operation identity or confirmation; smart_link_confirmation_invalid.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
409- Changed proof/request/resource, conflicting operation or unresolved DNS ownership; smart_link_confirmation_conflict.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 415- A supported JSON content type is required.
423- Current account management policy denies the action.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/TenantOperationDeniedResponse" } } } 429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/usage-breakdown
Read a ranked session dimension
Provider-ranked session values; share calculations use full returned population totals, not the sum of the leading items. IsAvailable=false is not an empty successful population.
Access: mcpBearer
Required OAuth scopes:
mcp:overview.read
Current governed CLI OAuth connection and organization/app access. ViewAnalytics. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } deviceModel(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } osVersion(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } deviceModelIdentifier(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } osFamily(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } manufacturer(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } runtimeName(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } runtimeVersion(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } wrapperName(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } wrapperVersion(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } idiom(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 64 } architecture(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 64 } emulatorState(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 64 } dimension(query, required)- One canonical SessionBreakdownDimension name.
{ "type": "string" } limit(query, optional)- One bounded positive integer limit.
{ "type": "integer", "default": 8, "minimum": 1, "maximum": 20 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/SessionBreakdownResult" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
GET/mcp/usage-summary
Read session engagement
Real session engagement projection with explicit current/previous windows, active-user identity coverage and duration samples. Nullable metrics and IsPartial retain their returned meaning; backgroundedSessions is the legacy always-null compatibility field, not an observed population.
Access: mcpBearer
Required OAuth scopes:
mcp:overview.read
Current governed CLI OAuth connection and organization/app access. ViewAnalytics. Scope/header selectors never grant access.
Parameters
X-AppPortal-AppId(header, required)- Select an already authorized app; query appId does not replace a required header.
{ "type": "string" } X-AppPortal-Environment(header, required)- Select one concrete authorized environment; cannot create app/environment access.
{ "type": "string" } X-AppPortal-Organization(header, optional)- Organization selection for a governed portfolio connection; not an access grant.
{ "type": "string" } X-AppPortal-Platform(header, optional)- Optional supported platform selection.
{ "type": "string" } X-AppPortal-DeploymentTarget(header, optional)- Optional authorized deployment target.
{ "type": "string" } appId(query, optional)- Optional visible app selection.
{ "type": "string", "maxLength": 128 } environment(query, optional)- Must match selected environment.
{ "type": "string", "maxLength": 128 } platform(query, optional)- Optional selected platform.
{ "type": "string" } target(query, optional)- Optional selected target.
{ "type": "string", "maxLength": 128 } version(query, optional)- Exact app version.
{ "type": "string", "maxLength": 128 } build(query, optional)- Exact build number.
{ "type": "string", "maxLength": 128 } sdkName(query, optional)- Exact SDK name.
{ "type": "string", "maxLength": 128 } sdkVersion(query, optional)- Exact SDK version.
{ "type": "string", "maxLength": 128 } from(query, optional)- Optional lower bound.
{ "type": "string", "format": "date-time" } to(query, optional)- Optional upper bound.
{ "type": "string", "format": "date-time" } deviceModel(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } osVersion(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } deviceModelIdentifier(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } osFamily(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } manufacturer(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } runtimeName(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } runtimeVersion(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } wrapperName(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } wrapperVersion(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 128 } idiom(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 64 } architecture(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 64 } emulatorState(query, optional)- Exact stored session dimension.
{ "type": "string", "maxLength": 64 }
Responses
200- Authorized result; inspect coverage, count and null states.
Response headers
{}{ "application/json": { "schema": { "$ref": "#/components/schemas/SessionEngagementResponse" } } } 400- Invalid, conflicting, repeated or unsupported input. Manual validation returns error JSON; framework binding can return problem JSON or an empty body.
{ "application/json": { "schema": { "$ref": "#/components/schemas/AgentError" } }, "application/problem+json": { "schema": { "$ref": "#/components/schemas/AgentProblem" } } } 401- Missing, expired, revoked or wrong-audience authentication.
403- Missing current scope, consent, capability or role.
404- Resource does not exist or is hidden by current app/organization eligibility.
429- Trusted-ingress or current-connection request budget exceeded. Respect Retry-After when supplied.
Declared schemas
Schema references in the operations resolve to these definitions from the same OpenAPI document.
SessionEngagementResponse
{
"type": [
"object",
"null"
],
"properties": {
"from": {
"type": "string",
"format": "date-time"
},
"to": {
"type": "string",
"format": "date-time"
},
"previousFrom": {
"type": "string",
"format": "date-time"
},
"previousTo": {
"type": "string",
"format": "date-time"
},
"hasAnySessionsInScope": {
"type": "boolean"
},
"activeUserWindows": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"days": {
"type": "integer"
},
"from": {
"type": "string",
"format": "date-time"
},
"to": {
"type": "string",
"format": "date-time"
},
"activeUsers": {
"type": [
"integer",
"null"
]
},
"previousActiveUsers": {
"type": [
"integer",
"null"
]
},
"changePercent": {
"type": [
"number",
"null"
]
},
"isAvailable": {
"type": "boolean"
},
"state": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"previousState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"identifiedSessions": {
"type": "integer"
},
"observedIdentifiedUsers": {
"type": "integer"
},
"installedDevices": {
"type": "integer"
},
"totalSessions": {
"type": "integer"
}
},
"required": [
"days",
"from",
"to",
"activeUsers",
"previousActiveUsers",
"changePercent",
"isAvailable",
"state",
"previousState",
"identifiedSessions",
"observedIdentifiedUsers",
"installedDevices",
"totalSessions"
]
}
},
"current": {
"type": "object",
"properties": {
"totalSessions": {
"type": "integer"
},
"activeUsers": {
"type": [
"integer",
"null"
]
},
"installedDevices": {
"type": "integer"
},
"sessionsPerActiveUser": {
"type": [
"number",
"null"
]
},
"userMetricsAvailable": {
"type": "boolean"
},
"userMetricState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"identifiedSessions": {
"type": "integer"
},
"observedIdentifiedUsers": {
"type": "integer"
},
"unidentifiedInstallations": {
"type": [
"integer",
"null"
]
},
"unidentifiedInstallationsAvailable": {
"type": "boolean"
},
"unidentifiedInstallationMetricState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"closedSessions": {
"type": "integer"
},
"stillLiveSessions": {
"type": "integer"
},
"abandonedSessions": {
"type": "integer"
},
"invalidDurationSessions": {
"type": "integer"
},
"durationSampleCount": {
"type": "integer"
},
"averageDurationSeconds": {
"type": [
"number",
"null"
]
},
"medianDurationSeconds": {
"type": [
"number",
"null"
]
},
"p95DurationSeconds": {
"type": [
"number",
"null"
]
},
"durationMetricState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"isPartial": {
"type": "boolean"
},
"backgroundedSessions": {
"type": [
"integer",
"null"
],
"deprecated": true,
"readOnly": true
}
},
"required": [
"totalSessions",
"activeUsers",
"installedDevices",
"sessionsPerActiveUser",
"userMetricsAvailable",
"userMetricState",
"identifiedSessions",
"observedIdentifiedUsers",
"unidentifiedInstallations",
"unidentifiedInstallationsAvailable",
"unidentifiedInstallationMetricState",
"closedSessions",
"stillLiveSessions",
"abandonedSessions",
"invalidDurationSessions",
"durationSampleCount",
"averageDurationSeconds",
"medianDurationSeconds",
"p95DurationSeconds",
"durationMetricState",
"isPartial"
]
},
"previous": {
"type": "object",
"properties": {
"totalSessions": {
"type": "integer"
},
"activeUsers": {
"type": [
"integer",
"null"
]
},
"installedDevices": {
"type": "integer"
},
"sessionsPerActiveUser": {
"type": [
"number",
"null"
]
},
"userMetricsAvailable": {
"type": "boolean"
},
"userMetricState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"identifiedSessions": {
"type": "integer"
},
"observedIdentifiedUsers": {
"type": "integer"
},
"unidentifiedInstallations": {
"type": [
"integer",
"null"
]
},
"unidentifiedInstallationsAvailable": {
"type": "boolean"
},
"unidentifiedInstallationMetricState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"closedSessions": {
"type": "integer"
},
"stillLiveSessions": {
"type": "integer"
},
"abandonedSessions": {
"type": "integer"
},
"invalidDurationSessions": {
"type": "integer"
},
"durationSampleCount": {
"type": "integer"
},
"averageDurationSeconds": {
"type": [
"number",
"null"
]
},
"medianDurationSeconds": {
"type": [
"number",
"null"
]
},
"p95DurationSeconds": {
"type": [
"number",
"null"
]
},
"durationMetricState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
},
"isPartial": {
"type": "boolean"
},
"backgroundedSessions": {
"type": [
"integer",
"null"
],
"deprecated": true,
"readOnly": true
}
},
"required": [
"totalSessions",
"activeUsers",
"installedDevices",
"sessionsPerActiveUser",
"userMetricsAvailable",
"userMetricState",
"identifiedSessions",
"observedIdentifiedUsers",
"unidentifiedInstallations",
"unidentifiedInstallationsAvailable",
"unidentifiedInstallationMetricState",
"closedSessions",
"stillLiveSessions",
"abandonedSessions",
"invalidDurationSessions",
"durationSampleCount",
"averageDurationSeconds",
"medianDurationSeconds",
"p95DurationSeconds",
"durationMetricState",
"isPartial"
]
},
"changes": {
"type": "object",
"properties": {
"totalSessionsPercent": {
"type": [
"number",
"null"
]
},
"sessionsPerActiveUserPercent": {
"type": [
"number",
"null"
]
},
"averageDurationPercent": {
"type": [
"number",
"null"
]
},
"medianDurationPercent": {
"type": [
"number",
"null"
]
},
"p95DurationPercent": {
"type": [
"number",
"null"
]
}
},
"required": [
"totalSessionsPercent",
"sessionsPerActiveUserPercent",
"averageDurationPercent",
"medianDurationPercent",
"p95DurationPercent"
]
},
"daily": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"bucketStart": {
"type": "string",
"format": "date-time"
},
"sessions": {
"type": "integer"
},
"activeUsers": {
"type": [
"integer",
"null"
]
},
"sessionsPerActiveUser": {
"type": [
"number",
"null"
]
},
"userMetricsAvailable": {
"type": "boolean"
},
"userMetricState": {
"enum": [
"Complete",
"PartialCoverage",
"NoQualifyingData",
"NotCollected",
"NotApplicable",
"InsufficientSample",
"WithheldByIdentityPolicy",
"UnsupportedByPlatform",
"TemporarilyUnavailable"
]
}
},
"required": [
"bucketStart",
"sessions",
"activeUsers",
"sessionsPerActiveUser",
"userMetricsAvailable",
"userMetricState"
]
}
},
"durationBuckets": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"sessions": {
"type": "integer"
},
"sharePercent": {
"type": "number"
}
},
"required": [
"key",
"label",
"sessions",
"sharePercent"
]
}
},
"versionAdoption": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"version": {
"type": "string"
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"sessions": {
"type": "integer"
},
"sharePercent": {
"type": "number"
},
"previousSessions": {
"type": "integer"
},
"changePercent": {
"type": [
"number",
"null"
]
},
"installedDevices": {
"type": "integer",
"default": 0
},
"deviceSharePercent": {
"type": "number",
"default": 0
},
"lastSeen": {
"type": [
"string",
"null"
],
"format": "date-time",
"default": null
}
},
"required": [
"version",
"buildNumber",
"sessions",
"sharePercent",
"previousSessions",
"changePercent"
]
}
}
},
"required": [
"from",
"to",
"previousFrom",
"previousTo",
"hasAnySessionsInScope",
"activeUserWindows",
"current",
"previous",
"changes",
"daily",
"durationBuckets",
"versionAdoption"
]
}SessionBreakdownResult
{
"type": [
"object",
"null"
],
"properties": {
"dimension": {
"enum": [
"Platform",
"DeviceModel",
"DeviceModelIdentifier",
"OsFamily",
"OsVersion",
"OperatingSystemVersion",
"Manufacturer",
"FormFactor",
"Idiom",
"Architecture",
"EmulatorState",
"RuntimeName",
"RuntimeVersion",
"WrapperName",
"WrapperVersion",
"SdkName",
"SdkVersion",
"AppVersion",
"BuildNumber"
]
},
"totalSessions": {
"type": "integer"
},
"distinctValues": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"dimension": {
"type": "string"
},
"value": {
"type": "string"
},
"metricValue": {
"type": "number"
},
"sampleCount": {
"type": "integer"
}
},
"required": [
"dimension",
"value",
"metricValue",
"sampleCount"
]
}
},
"isAvailable": {
"type": "boolean",
"default": true
}
},
"required": [
"dimension",
"totalSessions",
"distinctValues",
"items"
]
}AgentError
{
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
],
"additionalProperties": false
}AgentProblem
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "integer"
},
"detail": {
"type": [
"string",
"null"
]
},
"instance": {
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"title",
"status"
],
"additionalProperties": true
}AgentWindow
{
"type": "object",
"properties": {
"from": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"to": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
}AgentLatestRelease
{
"type": "object",
"properties": {
"releaseId": {
"type": "string"
},
"version": {
"type": "string"
},
"state": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"releaseId",
"version",
"state",
"environment",
"createdAt"
],
"additionalProperties": false
}AgentApp
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"name": {
"type": "string"
},
"environments": {
"type": "array",
"items": {
"type": "string"
}
},
"latestRelease": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentLatestRelease"
},
{
"type": "null"
}
]
},
"crashTriageStatus": {
"type": "string"
},
"crashTriageCaptureComplete": {
"type": [
"boolean",
"null"
]
},
"crashTriageRequiresNarrowerFilter": {
"type": "boolean"
},
"crashBucketCountLowerBound": {
"type": [
"integer",
"null"
]
},
"crashBucketCount": {
"type": [
"integer",
"null"
]
},
"crashTriageGeneratedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"openCrashBuckets": {
"type": [
"integer",
"null"
]
}
},
"required": [
"appId",
"name",
"environments"
],
"additionalProperties": false
}AgentOverview
{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": "integer"
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": "boolean"
},
"hasMore": {
"type": "boolean"
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"apps": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentApp"
}
}
},
"required": [
"tenantId",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"apps"
],
"additionalProperties": false
}AgentCrashBucket
{
"type": "object",
"properties": {
"bucketId": {
"type": "string"
},
"title": {
"type": "string"
},
"exceptionType": {
"type": "string"
},
"severity": {
"type": "string"
},
"status": {
"type": "string"
},
"occurrences": {
"type": "integer"
},
"distinctReporters": {
"type": "integer"
},
"firstSeen": {
"type": "string",
"format": "date-time"
},
"lastSeen": {
"type": "string",
"format": "date-time"
},
"externalIssueUrl": {
"type": [
"string",
"null"
]
}
},
"required": [
"bucketId",
"title",
"exceptionType",
"severity",
"status",
"occurrences",
"distinctReporters",
"firstSeen",
"lastSeen",
"externalIssueUrl"
],
"additionalProperties": false
}AgentCrashTriagePage
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"buckets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentCrashBucket"
}
},
"platform": {
"type": [
"string",
"null"
]
},
"candidateCountLowerBound": {
"type": "integer"
},
"hasMoreRankedBuckets": {
"type": [
"boolean",
"null"
]
},
"selection": {
"type": "string"
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"buckets",
"platform",
"candidateCountLowerBound",
"hasMoreRankedBuckets",
"selection"
],
"additionalProperties": false
}AgentFrameCounts
{
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"matching": {
"type": "integer"
},
"resolved": {
"type": "integer"
},
"ambiguous": {
"type": "integer"
}
},
"required": [
"total",
"matching",
"resolved",
"ambiguous"
],
"additionalProperties": false
}AgentNativeSymbolicationSummary
{
"type": "object",
"properties": {
"availability": {
"type": "string"
},
"status": {
"type": "string"
},
"reason": {
"type": "string"
},
"inputStatus": {
"type": "string"
},
"imagesTruncated": {
"type": "boolean"
},
"frameCounts": {
"$ref": "#/components/schemas/AgentFrameCounts"
},
"displayTruncated": {
"type": "boolean"
},
"omittedFrameCount": {
"type": "integer"
}
},
"required": [
"availability",
"status",
"reason",
"inputStatus",
"imagesTruncated"
],
"additionalProperties": false
}AgentSymbolicationSummary
{
"type": "object",
"properties": {
"availability": {
"type": "string"
},
"status": {
"type": "string"
},
"reason": {
"type": "string"
},
"readRevision": {
"type": "string"
},
"frameCounts": {
"$ref": "#/components/schemas/AgentFrameCounts"
},
"unavailableStackNodeCount": {
"type": "integer"
},
"displayTruncated": {
"type": "boolean"
},
"omittedFrameCount": {
"type": "integer"
},
"omittedNodeCount": {
"type": "integer"
},
"native": {
"$ref": "#/components/schemas/AgentNativeSymbolicationSummary"
}
},
"required": [
"availability",
"status",
"reason",
"readRevision"
],
"additionalProperties": false
}AgentCrashOccurrence
{
"type": "object",
"properties": {
"crashId": {
"type": "string"
},
"crashIdTruncated": {
"type": "boolean"
},
"severity": {
"type": "string"
},
"exceptionType": {
"type": "string"
},
"message": {
"type": "string"
},
"messageTruncated": {
"type": "boolean"
},
"stackTrace": {
"type": "string"
},
"stackTraceTruncated": {
"type": "boolean"
},
"symbolicationStatus": {
"type": [
"string",
"null"
]
},
"symbolArtifactId": {
"type": [
"string",
"null"
]
},
"appVersion": {
"type": "string"
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"environment": {
"type": "string"
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"sdkName": {
"type": [
"string",
"null"
]
},
"sdkVersion": {
"type": [
"string",
"null"
]
},
"deviceModel": {
"type": [
"string",
"null"
]
},
"osVersion": {
"type": [
"string",
"null"
]
},
"wasInForeground": {
"type": "boolean"
},
"occurredAt": {
"type": "string",
"format": "date-time"
},
"contentTruncated": {
"type": "boolean"
},
"symbolication": {
"$ref": "#/components/schemas/AgentSymbolicationSummary"
}
},
"required": [
"crashId",
"crashIdTruncated",
"severity",
"exceptionType",
"message",
"messageTruncated",
"stackTrace",
"stackTraceTruncated",
"symbolicationStatus",
"symbolArtifactId",
"appVersion",
"buildNumber",
"environment",
"deploymentTarget",
"sdkName",
"sdkVersion",
"deviceModel",
"osVersion",
"wasInForeground",
"occurredAt",
"contentTruncated"
],
"additionalProperties": false
}AgentCrashOccurrencePage
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"occurrences": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentCrashOccurrence"
}
},
"platform": {
"type": [
"string",
"null"
]
},
"bucketId": {
"type": "string"
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"occurrences",
"platform",
"bucketId"
],
"additionalProperties": false
}AgentLogDevice
{
"type": "object",
"properties": {
"osFamily": {
"type": [
"string",
"null"
]
},
"osVersion": {
"type": [
"string",
"null"
]
},
"manufacturer": {
"type": [
"string",
"null"
]
},
"model": {
"type": [
"string",
"null"
]
},
"modelName": {
"type": [
"string",
"null"
]
},
"idiom": {
"type": [
"string",
"null"
]
},
"architecture": {
"type": [
"string",
"null"
]
},
"isEmulator": {
"type": [
"boolean",
"null"
]
},
"runtimeName": {
"type": [
"string",
"null"
]
},
"runtimeVersion": {
"type": [
"string",
"null"
]
},
"wrapperName": {
"type": [
"string",
"null"
]
},
"wrapperVersion": {
"type": [
"string",
"null"
]
}
},
"required": [
"osFamily",
"osVersion",
"manufacturer",
"model",
"modelName",
"idiom",
"architecture",
"isEmulator",
"runtimeName",
"runtimeVersion",
"wrapperName",
"wrapperVersion"
],
"additionalProperties": false
}AgentLogCorrelations
{
"type": "object",
"properties": {
"sessionId": {
"type": [
"string",
"null"
]
},
"traceId": {
"type": [
"string",
"null"
]
},
"spanId": {
"type": [
"string",
"null"
]
},
"crashId": {
"type": [
"string",
"null"
]
}
},
"required": [
"sessionId",
"traceId",
"spanId",
"crashId"
],
"additionalProperties": false
}AgentLogException
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"message": {
"type": [
"string",
"null"
]
}
},
"required": [
"type",
"message"
],
"additionalProperties": false
}AgentLog
{
"type": "object",
"properties": {
"logId": {
"type": [
"string",
"null"
]
},
"detailAvailable": {
"type": "boolean"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"severity": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"appVersion": {
"type": "string"
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"sdkName": {
"type": [
"string",
"null"
]
},
"sdkVersion": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"device": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentLogDevice"
},
{
"type": "null"
}
]
},
"correlations": {
"$ref": "#/components/schemas/AgentLogCorrelations"
},
"properties": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
},
"exception": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentLogException"
},
{
"type": "null"
}
]
},
"dashboardPath": {
"type": [
"string",
"null"
]
}
},
"required": [
"logId",
"detailAvailable",
"timestamp",
"severity",
"category",
"message",
"appVersion",
"buildNumber",
"sdkName",
"sdkVersion",
"platform",
"deploymentTarget",
"device",
"correlations",
"properties",
"exception",
"dashboardPath"
],
"additionalProperties": false
}AgentLogPage
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"logs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentLog"
}
},
"platform": {
"type": [
"string",
"null"
]
},
"window": {
"$ref": "#/components/schemas/AgentWindow"
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"logs",
"platform",
"window"
],
"additionalProperties": false
}AgentLogDetail
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"log": {
"$ref": "#/components/schemas/AgentLog"
}
},
"required": [
"appId",
"environment",
"status",
"generatedAt",
"log"
],
"additionalProperties": false
}AgentRelease
{
"type": "object",
"properties": {
"releaseId": {
"type": "string"
},
"version": {
"type": "string"
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"state": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"promotedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"required": [
"releaseId",
"version",
"buildNumber",
"environment",
"deploymentTarget",
"state",
"createdAt",
"promotedAt"
],
"additionalProperties": false
}AgentReleasePage
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"releases": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentRelease"
}
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"releases"
],
"additionalProperties": false
}AgentBuild
{
"type": "object",
"properties": {
"buildId": {
"type": "string"
},
"bundleId": {
"type": "string"
},
"version": {
"type": "string"
},
"buildNumber": {
"type": "string"
},
"platform": {
"type": "string"
},
"projectType": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"excludedFromMetrics": {
"type": "boolean"
},
"hasIcon": {
"type": "boolean"
},
"hasArtifact": {
"type": "boolean"
},
"artifactId": {
"type": [
"string",
"null"
]
},
"symbolCount": {
"type": "integer"
},
"symbolKinds": {
"type": "array",
"items": {
"type": "string"
}
},
"appleSigningType": {
"type": [
"string",
"null"
]
},
"sourceRevision": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"buildId",
"bundleId",
"version",
"buildNumber",
"platform",
"projectType",
"environment",
"deploymentTarget",
"excludedFromMetrics",
"hasIcon",
"hasArtifact",
"artifactId",
"symbolCount",
"symbolKinds",
"appleSigningType",
"sourceRevision",
"updatedAt"
],
"additionalProperties": false
}AgentBuildPage
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"builds": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentBuild"
}
},
"platform": {
"type": [
"string",
"null"
]
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"builds",
"platform"
],
"additionalProperties": false
}AgentEvent
{
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time"
},
"eventType": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"eventKey": {
"type": [
"string",
"null"
]
},
"funnelEligible": {
"type": "boolean"
},
"appVersion": {
"type": [
"string",
"null"
]
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"sdkName": {
"type": [
"string",
"null"
]
},
"sdkVersion": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"sessionId": {
"type": [
"string",
"null"
]
},
"contentTruncated": {
"type": "boolean"
}
},
"required": [
"timestamp",
"eventType",
"name",
"eventKey",
"funnelEligible",
"appVersion",
"buildNumber",
"sdkName",
"sdkVersion",
"platform",
"deploymentTarget",
"sessionId",
"contentTruncated"
],
"additionalProperties": false
}AgentRumMarker
{
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time"
},
"kind": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"durationMs": {
"type": [
"number",
"null"
]
},
"succeeded": {
"type": [
"boolean",
"null"
]
},
"httpStatusCode": {
"type": [
"integer",
"null"
]
},
"appVersion": {
"type": [
"string",
"null"
]
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"sdkName": {
"type": [
"string",
"null"
]
},
"sdkVersion": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"sessionId": {
"type": [
"string",
"null"
]
},
"contentTruncated": {
"type": "boolean"
}
},
"required": [
"timestamp",
"kind",
"name",
"durationMs",
"succeeded",
"httpStatusCode",
"appVersion",
"buildNumber",
"sdkName",
"sdkVersion",
"platform",
"deploymentTarget",
"sessionId",
"contentTruncated"
],
"additionalProperties": false
}AgentEventsPage
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"events": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentEvent"
}
},
"platform": {
"type": [
"string",
"null"
]
},
"window": {
"$ref": "#/components/schemas/AgentWindow"
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"events",
"platform",
"window"
],
"additionalProperties": false
}AgentRumPage
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"markers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentRumMarker"
}
},
"platform": {
"type": [
"string",
"null"
]
},
"window": {
"$ref": "#/components/schemas/AgentWindow"
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"markers",
"platform",
"window"
],
"additionalProperties": false
}AgentSessionSummary
{
"type": "object",
"properties": {
"startedAt": {
"type": "string",
"format": "date-time"
},
"endedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"lastActivityAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"activeDurationMs": {
"type": [
"integer",
"null"
]
},
"lifecycleState": {
"type": [
"string",
"null"
]
},
"endedInCrash": {
"type": "boolean"
},
"appVersion": {
"type": [
"string",
"null"
]
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"sdkName": {
"type": [
"string",
"null"
]
},
"sdkVersion": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"contentTruncated": {
"type": "boolean"
}
},
"required": [
"startedAt",
"endedAt",
"lastActivityAt",
"activeDurationMs",
"lifecycleState",
"endedInCrash",
"appVersion",
"buildNumber",
"sdkName",
"sdkVersion",
"platform",
"deploymentTarget",
"contentTruncated"
],
"additionalProperties": false
}AgentSessionEntry
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"title": {
"type": "string"
},
"detail": {
"type": [
"string",
"null"
]
},
"severity": {
"type": [
"string",
"null"
]
},
"durationMs": {
"type": [
"number",
"null"
]
},
"offsetMs": {
"type": [
"number",
"null"
]
},
"contentTruncated": {
"type": "boolean"
}
},
"required": [
"kind",
"timestamp",
"title",
"detail",
"severity",
"durationMs",
"offsetMs",
"contentTruncated"
],
"additionalProperties": false
}AgentSessionStory
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"totalCountStatus": {
"type": "string"
},
"resultsTruncated": {
"type": [
"boolean",
"null"
]
},
"hasMore": {
"type": [
"boolean",
"null"
]
},
"continuationAvailable": {
"type": "boolean"
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"timeline": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentSessionEntry"
}
},
"platform": {
"type": [
"string",
"null"
]
},
"capturedCount": {
"type": [
"integer",
"null"
]
},
"contentTruncated": {
"type": [
"boolean",
"null"
]
},
"focusTimestamp": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"session": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentSessionSummary"
},
{
"type": "null"
}
]
},
"code": {
"type": "string"
}
},
"required": [
"appId",
"environment",
"deploymentTarget",
"status",
"captureComplete",
"requiresNarrowerFilter",
"returnedCount",
"totalCount",
"totalCountStatus",
"resultsTruncated",
"hasMore",
"continuationAvailable",
"nextCursor",
"generatedAt",
"timeline",
"platform",
"capturedCount",
"contentTruncated",
"focusTimestamp",
"session"
],
"additionalProperties": false
}AgentMetric
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"value": {
"type": [
"number",
"null"
]
},
"numerator": {
"type": [
"integer",
"null"
]
},
"denominator": {
"type": [
"integer",
"null"
]
},
"sampleCount": {
"type": [
"integer",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"status",
"value",
"numerator",
"denominator",
"sampleCount",
"reason"
],
"additionalProperties": false
}AgentReleaseVitals
{
"type": "object",
"properties": {
"version": {
"type": [
"string",
"null"
]
},
"contentTruncated": {
"type": "boolean"
},
"sessions": {
"type": "integer"
},
"activeUsers": {
"type": "integer"
},
"crashedSessions": {
"type": "integer"
},
"errorReports": {
"type": "integer"
},
"appStartSampleCount": {
"type": "integer"
},
"adoptionPercent": {
"$ref": "#/components/schemas/AgentMetric"
},
"crashFreeSessionsPercent": {
"$ref": "#/components/schemas/AgentMetric"
},
"errorRatePerSession": {
"$ref": "#/components/schemas/AgentMetric"
},
"p95AppStartMs": {
"$ref": "#/components/schemas/AgentMetric"
},
"crashFreeUsersPercent": {
"$ref": "#/components/schemas/AgentMetric"
},
"anrRate": {
"$ref": "#/components/schemas/AgentMetric"
}
},
"required": [
"version",
"contentTruncated",
"sessions",
"activeUsers",
"crashedSessions",
"errorReports",
"appStartSampleCount",
"adoptionPercent",
"crashFreeSessionsPercent",
"errorRatePerSession",
"p95AppStartMs",
"crashFreeUsersPercent",
"anrRate"
],
"additionalProperties": false
}AgentReleaseDeltas
{
"type": "object",
"properties": {
"adoptionPercentagePoints": {
"type": [
"number",
"null"
]
},
"crashFreeSessionPercentagePoints": {
"type": "number"
},
"errorRatePerSession": {
"type": "number"
},
"appStartP95ChangePercent": {
"type": [
"number",
"null"
]
}
},
"required": [
"adoptionPercentagePoints",
"crashFreeSessionPercentagePoints",
"errorRatePerSession",
"appStartP95ChangePercent"
],
"additionalProperties": false
}AgentReleaseComparison
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"isRegression": {
"type": [
"boolean",
"null"
]
},
"regressionScore": {
"type": [
"number",
"null"
]
},
"indicators": {
"type": "array",
"items": {
"type": "string"
}
},
"deltas": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentReleaseDeltas"
},
{
"type": "null"
}
]
}
},
"required": [
"status",
"reason",
"isRegression",
"regressionScore",
"indicators",
"deltas"
],
"additionalProperties": false
}AgentReleaseHealth
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"captureComplete": {
"type": "boolean"
},
"catalogComplete": {
"type": "boolean"
},
"requiresNarrowerFilter": {
"type": "boolean"
},
"requiresExplicitBaseline": {
"type": "boolean"
},
"unavailableReason": {
"type": [
"string",
"null"
]
},
"metricCompleteness": {
"type": "string"
},
"version": {
"type": [
"string",
"null"
]
},
"baselineVersion": {
"type": [
"string",
"null"
]
},
"baselineSelection": {
"type": [
"string",
"null"
]
},
"contentTruncated": {
"type": "boolean"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"window": {
"$ref": "#/components/schemas/AgentWindow"
},
"health": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentReleaseVitals"
},
{
"type": "null"
}
]
},
"baseline": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentReleaseVitals"
},
{
"type": "null"
}
]
},
"comparison": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentReleaseComparison"
},
{
"type": "null"
}
]
}
},
"required": [
"appId",
"environment",
"platform",
"deploymentTarget",
"status",
"captureComplete",
"catalogComplete",
"requiresNarrowerFilter",
"requiresExplicitBaseline",
"unavailableReason",
"metricCompleteness",
"version",
"baselineVersion",
"baselineSelection",
"contentTruncated",
"generatedAt",
"window",
"health",
"baseline",
"comparison"
],
"additionalProperties": false
}AgentFunnelStep
{
"type": "object",
"properties": {
"stepIndex": {
"type": "integer"
},
"eventType": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"users": {
"type": "integer"
},
"dropOffUsers": {
"type": "integer"
},
"previousStepUsers": {
"type": "integer"
},
"firstStepUsers": {
"type": "integer"
},
"conversionFromPreviousPercent": {
"type": "number"
},
"conversionFromFirstPercent": {
"type": "number"
},
"contentTruncated": {
"type": "boolean"
}
},
"required": [
"stepIndex",
"eventType",
"name",
"users",
"dropOffUsers",
"previousStepUsers",
"firstStepUsers",
"conversionFromPreviousPercent",
"conversionFromFirstPercent",
"contentTruncated"
],
"additionalProperties": false
}AgentFunnel
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
},
"deploymentTarget": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"unavailableReason": {
"type": [
"string",
"null"
]
},
"captureComplete": {
"type": "boolean"
},
"returnedCount": {
"type": "integer"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"window": {
"$ref": "#/components/schemas/AgentWindow"
},
"conversionWindowHours": {
"type": "integer"
},
"metricKeys": {
"type": "object",
"properties": {
"users": {
"type": "string"
},
"dropOffUsers": {
"type": "string"
},
"conversionPercent": {
"type": "string"
}
},
"required": [
"users",
"dropOffUsers",
"conversionPercent"
],
"additionalProperties": false
},
"steps": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentFunnelStep"
}
}
},
"required": [
"appId",
"environment",
"platform",
"deploymentTarget",
"status",
"unavailableReason",
"captureComplete",
"returnedCount",
"generatedAt",
"window",
"conversionWindowHours",
"metricKeys",
"steps"
],
"additionalProperties": false
}AgentAssignee
{
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"displayName": {
"type": "string"
}
},
"required": [
"userId",
"displayName"
],
"additionalProperties": false
}AgentCrashAssignees
{
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"environment": {
"type": [
"string",
"null"
]
},
"assignees": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgentAssignee"
}
}
},
"required": [
"appId",
"environment",
"assignees"
],
"additionalProperties": false
}AgentCrashNoteCreated
{
"type": "object",
"properties": {
"activityId": {
"type": "string"
},
"bucketId": {
"type": "string"
},
"kind": {
"type": "string"
},
"occurredAt": {
"type": "string",
"format": "date-time"
},
"summary": {
"type": "string"
}
},
"required": [
"activityId",
"bucketId",
"kind",
"occurredAt",
"summary"
],
"additionalProperties": false
}AgentCrashWorkflow
{
"type": "object",
"properties": {
"bucketId": {
"type": "string"
},
"status": {
"type": "string"
},
"owner": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentAssignee"
},
{
"type": "null"
}
]
}
},
"required": [
"bucketId",
"status",
"owner"
],
"additionalProperties": false
}CrashBucketNoteRequest
{
"type": "object",
"properties": {
"note": {
"type": [
"string",
"null"
]
}
}
}McpCrashWorkflowRequest
{
"type": "object",
"properties": {
"status": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[nN][eE][wW]|[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[lL][iI][nN][kK][eE][dD]|[rR][eE][sS][oO][lL][vV][eE][dD]|[iI][gG][nN][oO][rR][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD])(?:\\s*,\\s*(?:[nN][eE][wW]|[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[lL][iI][nN][kK][eE][dD]|[rR][eE][sS][oO][lL][vV][eE][dD]|[iI][gG][nN][oO][rR][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"x-appportal-canonical-enum-values": [
"New",
"Investigating",
"Linked",
"Resolved",
"Ignored",
"Reopened"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"assigneeUserId": {
"type": [
"string",
"null"
],
"default": null
}
}
}McpCrashNoteApplyRequest
{
"type": "object",
"properties": {
"note": {
"type": [
"string",
"null"
]
},
"confirmationToken": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"description": "Unchanged protected token from the separately reviewed matching crash preview. Missing or invalid proof fails closed with 409."
},
"humanApprovalReference": {
"type": [
"string",
"null"
],
"maxLength": 16384,
"description": "Optional protected human approval from the authenticated Portal session for this exact connection, action, caller key, preview and policy revision. Required only when current connection policy requires approval; never substitutes for current action authority."
}
},
"required": [
"note",
"confirmationToken"
]
}McpCrashWorkflowApplyRequest
{
"type": "object",
"properties": {
"status": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[nN][eE][wW]|[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[lL][iI][nN][kK][eE][dD]|[rR][eE][sS][oO][lL][vV][eE][dD]|[iI][gG][nN][oO][rR][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD])(?:\\s*,\\s*(?:[nN][eE][wW]|[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[lL][iI][nN][kK][eE][dD]|[rR][eE][sS][oO][lL][vV][eE][dD]|[iI][gG][nN][oO][rR][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"x-appportal-canonical-enum-values": [
"New",
"Investigating",
"Linked",
"Resolved",
"Ignored",
"Reopened"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"assigneeUserId": {
"type": [
"string",
"null"
],
"default": null
},
"confirmationToken": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"description": "Unchanged protected token from the separately reviewed matching crash preview. Missing or invalid proof fails closed with 409."
},
"humanApprovalReference": {
"type": [
"string",
"null"
],
"maxLength": 16384,
"description": "Optional protected human approval from the authenticated Portal session for this exact connection, action, caller key, preview and policy revision. Required only when current connection policy requires approval; never substitutes for current action authority."
}
},
"required": [
"status",
"confirmationToken"
]
}McpFunnelRequest
{
"type": "object",
"properties": {
"steps": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
},
"conversionWindowHours": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$",
"default": 24
}
},
"additionalProperties": false,
"patternProperties": {
"^[sS][tT][eE][pP][sS]$": {
"$ref": "#/components/schemas/McpFunnelRequest/properties/steps"
},
"^[cC][oO][nN][vV][eE][rR][sS][iI][oO][nN][wW][iI][nN][dD][oO][wW][hH][oO][uU][rR][sS]$": {
"$ref": "#/components/schemas/McpFunnelRequest/properties/conversionWindowHours"
}
}
}TenantOperationDeniedResponse
{
"type": [
"object",
"null"
],
"properties": {
"errorCode": {
"type": "string"
},
"error": {
"type": "string"
}
},
"required": [
"errorCode",
"error"
]
}AgentSessionStoryChanged
{
"type": "object",
"properties": {
"code": {
"const": "session_story_changed"
},
"restartFromBeginning": {
"const": true
}
},
"required": [
"code",
"restartFromBeginning"
],
"additionalProperties": false
}AgentActionCapabilities
{
"type": "object",
"properties": {
"actionScopes": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
},
"required": [
"actionScopes"
],
"additionalProperties": false
}AgentCrashConfirmationPreview
{
"type": "object",
"properties": {
"action": {
"type": "string"
},
"bucketId": {
"type": "string"
},
"preview": {
"type": "object",
"properties": {
"noteCharacters": {
"type": [
"integer",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"assigneeUserId": {
"type": [
"string",
"null"
]
},
"affectsEntireCrashBucket": {
"type": "boolean"
}
},
"required": [
"noteCharacters",
"status",
"assigneeUserId",
"affectsEntireCrashBucket"
],
"additionalProperties": false
},
"confirmationToken": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"action",
"bucketId",
"preview",
"confirmationToken",
"expiresAt"
],
"additionalProperties": false
}AgentCrashConfirmationConflict
{
"type": "object",
"properties": {
"code": {
"const": "crash_confirmation_conflict"
},
"error": {
"type": "string"
}
},
"required": [
"code",
"error"
],
"additionalProperties": false
}SmartLinkRecord
{
"type": [
"object",
"null"
],
"properties": {
"linkId": {
"type": "string"
},
"tenantId": {
"type": "string"
},
"appId": {
"type": "string"
},
"environment": {
"type": "string"
},
"bindingId": {
"type": "string"
},
"host": {
"type": "string"
},
"publicUrl": {
"type": "string"
},
"slug": {
"type": "string"
},
"displayName": {
"type": "string"
},
"deepLinkUrl": {
"type": [
"string",
"null"
]
},
"fallbackUrl": {
"type": "string"
},
"campaign": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"medium": {
"type": [
"string",
"null"
]
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"iosDeepLinkUrl": {
"type": [
"string",
"null"
],
"default": null
},
"androidDeepLinkUrl": {
"type": [
"string",
"null"
],
"default": null
},
"iosStoreUrl": {
"type": [
"string",
"null"
],
"default": null
},
"androidStoreUrl": {
"type": [
"string",
"null"
],
"default": null
},
"destinationPolicy": {
"type": [
"object",
"null"
],
"properties": {
"defaultApp": {
"type": [
"object",
"null"
],
"properties": {
"kind": {
"enum": [
"DefaultApp",
"IosApp",
"AndroidApp",
"Web",
"IosStore",
"AndroidStore",
"HostFallback"
]
},
"platform": {
"enum": [
"unattributed",
"iOS",
"Android",
"Windows",
"MacCatalyst",
"Web",
"macOS",
"watchOS",
"tvOS",
"WinUI",
"Wpf",
"Linux",
"iPadOS",
null
]
},
"installationContext": {
"enum": [
"Installed",
"NotInstalled"
]
},
"protocol": {
"enum": [
"AppRelative",
"CustomScheme",
"Https"
]
},
"url": {
"type": "string"
},
"precedence": {
"type": "integer"
}
},
"required": [
"kind",
"platform",
"installationContext",
"protocol",
"url",
"precedence"
]
},
"iosApp": {
"type": [
"object",
"null"
],
"properties": {
"kind": {
"enum": [
"DefaultApp",
"IosApp",
"AndroidApp",
"Web",
"IosStore",
"AndroidStore",
"HostFallback"
]
},
"platform": {
"enum": [
"unattributed",
"iOS",
"Android",
"Windows",
"MacCatalyst",
"Web",
"macOS",
"watchOS",
"tvOS",
"WinUI",
"Wpf",
"Linux",
"iPadOS",
null
]
},
"installationContext": {
"enum": [
"Installed",
"NotInstalled"
]
},
"protocol": {
"enum": [
"AppRelative",
"CustomScheme",
"Https"
]
},
"url": {
"type": "string"
},
"precedence": {
"type": "integer"
}
},
"required": [
"kind",
"platform",
"installationContext",
"protocol",
"url",
"precedence"
]
},
"androidApp": {
"type": [
"object",
"null"
],
"properties": {
"kind": {
"enum": [
"DefaultApp",
"IosApp",
"AndroidApp",
"Web",
"IosStore",
"AndroidStore",
"HostFallback"
]
},
"platform": {
"enum": [
"unattributed",
"iOS",
"Android",
"Windows",
"MacCatalyst",
"Web",
"macOS",
"watchOS",
"tvOS",
"WinUI",
"Wpf",
"Linux",
"iPadOS",
null
]
},
"installationContext": {
"enum": [
"Installed",
"NotInstalled"
]
},
"protocol": {
"enum": [
"AppRelative",
"CustomScheme",
"Https"
]
},
"url": {
"type": "string"
},
"precedence": {
"type": "integer"
}
},
"required": [
"kind",
"platform",
"installationContext",
"protocol",
"url",
"precedence"
]
},
"iosStore": {
"type": [
"object",
"null"
],
"properties": {
"kind": {
"enum": [
"DefaultApp",
"IosApp",
"AndroidApp",
"Web",
"IosStore",
"AndroidStore",
"HostFallback"
]
},
"platform": {
"enum": [
"unattributed",
"iOS",
"Android",
"Windows",
"MacCatalyst",
"Web",
"macOS",
"watchOS",
"tvOS",
"WinUI",
"Wpf",
"Linux",
"iPadOS",
null
]
},
"installationContext": {
"enum": [
"Installed",
"NotInstalled"
]
},
"protocol": {
"enum": [
"AppRelative",
"CustomScheme",
"Https"
]
},
"url": {
"type": "string"
},
"precedence": {
"type": "integer"
}
},
"required": [
"kind",
"platform",
"installationContext",
"protocol",
"url",
"precedence"
]
},
"androidStore": {
"type": [
"object",
"null"
],
"properties": {
"kind": {
"enum": [
"DefaultApp",
"IosApp",
"AndroidApp",
"Web",
"IosStore",
"AndroidStore",
"HostFallback"
]
},
"platform": {
"enum": [
"unattributed",
"iOS",
"Android",
"Windows",
"MacCatalyst",
"Web",
"macOS",
"watchOS",
"tvOS",
"WinUI",
"Wpf",
"Linux",
"iPadOS",
null
]
},
"installationContext": {
"enum": [
"Installed",
"NotInstalled"
]
},
"protocol": {
"enum": [
"AppRelative",
"CustomScheme",
"Https"
]
},
"url": {
"type": "string"
},
"precedence": {
"type": "integer"
}
},
"required": [
"kind",
"platform",
"installationContext",
"protocol",
"url",
"precedence"
]
},
"web": {
"type": "object",
"properties": {
"kind": {
"enum": [
"DefaultApp",
"IosApp",
"AndroidApp",
"Web",
"IosStore",
"AndroidStore",
"HostFallback"
]
},
"platform": {
"enum": [
"unattributed",
"iOS",
"Android",
"Windows",
"MacCatalyst",
"Web",
"macOS",
"watchOS",
"tvOS",
"WinUI",
"Wpf",
"Linux",
"iPadOS",
null
]
},
"installationContext": {
"enum": [
"Installed",
"NotInstalled"
]
},
"protocol": {
"enum": [
"AppRelative",
"CustomScheme",
"Https"
]
},
"url": {
"type": "string"
},
"precedence": {
"type": "integer"
}
},
"required": [
"kind",
"platform",
"installationContext",
"protocol",
"url",
"precedence"
]
}
},
"required": [
"defaultApp",
"iosApp",
"androidApp",
"iosStore",
"androidStore",
"web"
],
"default": null
},
"totalClicks": {
"type": [
"integer",
"null"
]
}
},
"required": [
"linkId",
"tenantId",
"appId",
"environment",
"bindingId",
"host",
"publicUrl",
"slug",
"displayName",
"deepLinkUrl",
"fallbackUrl",
"campaign",
"source",
"medium",
"expiresAt",
"active",
"createdAt",
"updatedAt",
"updatedBy"
]
}SmartLinkDomainRecord
{
"type": [
"object",
"null"
],
"properties": {
"domainId": {
"type": "string"
},
"tenantId": {
"type": "string"
},
"label": {
"type": "string"
},
"environmentPrefix": {
"type": [
"string",
"null"
]
},
"host": {
"type": "string"
},
"defaultFallbackUrl": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"PendingReview",
"Approved",
"Declined",
"Withdrawn"
]
},
"active": {
"type": "boolean"
},
"requestedAt": {
"type": "string",
"format": "date-time"
},
"requestedBy": {
"type": "string"
},
"reviewedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"reviewedBy": {
"type": [
"string",
"null"
]
},
"decisionReason": {
"type": [
"string",
"null"
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"assignedAppId": {
"type": [
"string",
"null"
],
"default": null
},
"assignedEnvironment": {
"type": [
"string",
"null"
],
"default": null
},
"familyHosts": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"requestedForAppId": {
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"domainId",
"tenantId",
"label",
"environmentPrefix",
"host",
"defaultFallbackUrl",
"purpose",
"status",
"active",
"requestedAt",
"requestedBy",
"reviewedAt",
"reviewedBy",
"decisionReason",
"updatedAt"
]
}SmartLinkClickStats
{
"type": [
"object",
"null"
],
"properties": {
"slug": {
"type": "string"
},
"totalClicks": {
"type": "integer"
},
"byTarget": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"byOutcome": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"byDay": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"bucketStart": {
"type": "string",
"format": "date-time"
},
"value": {
"type": "number"
}
},
"required": [
"bucketStart",
"value"
]
}
},
"funnel": {
"type": [
"object",
"null"
],
"properties": {
"activations": {
"type": "integer"
},
"humanActivations": {
"type": "integer"
},
"automatedActivations": {
"type": "integer"
},
"destinationsSelected": {
"type": "integer"
},
"redirectsIssued": {
"type": "integer"
},
"storeRedirects": {
"type": "integer"
},
"landingsConfirmed": {
"type": "integer"
},
"routesAccepted": {
"type": "integer"
},
"routesRejected": {
"type": "integer"
},
"routesExpired": {
"type": "integer"
},
"deferredInstallsConfirmed": {
"type": "integer"
},
"firstLaunchesConfirmed": {
"type": "integer"
}
},
"required": [
"activations",
"humanActivations",
"automatedActivations",
"destinationsSelected",
"redirectsIssued",
"storeRedirects",
"landingsConfirmed",
"routesAccepted",
"routesRejected",
"routesExpired",
"deferredInstallsConfirmed",
"firstLaunchesConfirmed"
],
"default": null
},
"byDestination": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"byPlatform": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"byRouteOutcome": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"byBrowser": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"byOperatingSystem": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"byDeviceClass": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"byCampaign": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"byAutomationClass": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "integer"
},
"default": null
},
"recentJourneys": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"journeyId": {
"type": "string"
},
"activatedAt": {
"type": "string",
"format": "date-time"
},
"entryStage": {
"enum": [
"PublicActivation",
"InstalledAppResolution",
"DestinationSelected",
"RedirectIssued",
"StoreRedirect",
"LandingConfirmed",
"RouteAccepted",
"RouteRejected",
"RouteExpired",
"DeferredInstallConfirmed",
"FirstLaunchConfirmed"
]
},
"destinationKind": {
"enum": [
"DefaultApp",
"IosApp",
"AndroidApp",
"Web",
"IosStore",
"AndroidStore",
"HostFallback",
null
]
},
"selectionReason": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
},
"target": {
"enum": [
"Web",
"Ios",
"Android",
"App",
"IosStore",
"AndroidStore"
]
},
"outcome": {
"enum": [
"App",
"Fallback",
"Expired",
"Inactive",
"Store"
]
},
"redirectIssuedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"storeRedirectAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"landingConfirmedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"routeCompletedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"routeOutcome": {
"type": [
"string",
"null"
]
},
"landingState": {
"enum": [
"Unknown",
"Confirmed",
"Rejected",
"Expired",
"Unsupported",
"NotApplicable"
]
},
"routeState": {
"enum": [
"Unknown",
"Confirmed",
"Rejected",
"Expired",
"Unsupported",
"NotApplicable"
]
},
"deferredInstallState": {
"enum": [
"Unknown",
"Confirmed",
"Rejected",
"Expired",
"Unsupported",
"NotApplicable"
]
},
"firstLaunchState": {
"enum": [
"Unknown",
"Confirmed",
"Rejected",
"Expired",
"Unsupported",
"NotApplicable"
]
},
"browserFamily": {
"type": [
"string",
"null"
]
},
"browserMajorVersion": {
"type": [
"integer",
"null"
]
},
"operatingSystem": {
"type": [
"string",
"null"
]
},
"deviceClass": {
"enum": [
"Unknown",
"Mobile",
"Tablet",
"Desktop",
"NotApplicable"
]
},
"automationClass": {
"enum": [
"Unknown",
"Human",
"KnownAutomation",
"SuspectedAutomation",
"NotApplicable"
]
},
"sessionId": {
"type": [
"string",
"null"
]
},
"deviceId": {
"type": [
"string",
"null"
]
},
"appVersion": {
"type": [
"string",
"null"
]
},
"buildNumber": {
"type": [
"string",
"null"
]
},
"sdkName": {
"type": [
"string",
"null"
]
},
"sdkVersion": {
"type": [
"string",
"null"
]
},
"nativeOsFamily": {
"type": [
"string",
"null"
]
},
"nativeDeviceModel": {
"type": [
"string",
"null"
]
},
"campaign": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"medium": {
"type": [
"string",
"null"
]
}
},
"required": [
"journeyId",
"activatedAt",
"entryStage",
"destinationKind",
"selectionReason",
"platform",
"target",
"outcome",
"redirectIssuedAt",
"storeRedirectAt",
"landingConfirmedAt",
"routeCompletedAt",
"routeOutcome",
"landingState",
"routeState",
"deferredInstallState",
"firstLaunchState",
"browserFamily",
"browserMajorVersion",
"operatingSystem",
"deviceClass",
"automationClass",
"sessionId",
"deviceId",
"appVersion",
"buildNumber",
"sdkName",
"sdkVersion",
"nativeOsFamily",
"nativeDeviceModel",
"campaign",
"source",
"medium"
]
},
"default": null
}
},
"required": [
"slug",
"totalClicks",
"byTarget",
"byOutcome",
"byDay"
]
}SmartLinkUpsertRequest
{
"type": "object",
"properties": {
"slug": {
"type": [
"string",
"null"
]
},
"displayName": {
"type": [
"string",
"null"
]
},
"deepLinkUrl": {
"type": [
"string",
"null"
]
},
"fallbackUrl": {
"type": [
"string",
"null"
]
},
"campaign": {
"type": [
"string",
"null"
],
"default": null
},
"source": {
"type": [
"string",
"null"
],
"default": null
},
"medium": {
"type": [
"string",
"null"
],
"default": null
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time",
"default": null
},
"active": {
"type": "boolean",
"default": true
},
"iosDeepLinkUrl": {
"type": [
"string",
"null"
],
"default": null
},
"androidDeepLinkUrl": {
"type": [
"string",
"null"
],
"default": null
},
"iosStoreUrl": {
"type": [
"string",
"null"
],
"default": null
},
"androidStoreUrl": {
"type": [
"string",
"null"
],
"default": null
}
}
}AgentSmartLinkPage
{
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SmartLinkRecord"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"links",
"nextCursor"
],
"additionalProperties": false
}AgentSmartLinkEnvironmentPage
{
"type": "object",
"properties": {
"environments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SmartLinkDomainRecord"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"environments",
"nextCursor"
],
"additionalProperties": false
}McpSmartLinkApplyRequest
{
"type": "object",
"properties": {
"request": {
"type": "object",
"properties": {
"slug": {
"type": [
"string",
"null"
]
},
"displayName": {
"type": [
"string",
"null"
]
},
"deepLinkUrl": {
"type": [
"string",
"null"
]
},
"fallbackUrl": {
"type": [
"string",
"null"
]
},
"campaign": {
"type": [
"string",
"null"
],
"default": null
},
"source": {
"type": [
"string",
"null"
],
"default": null
},
"medium": {
"type": [
"string",
"null"
],
"default": null
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time",
"default": null
},
"active": {
"type": "boolean",
"default": true
},
"iosDeepLinkUrl": {
"type": [
"string",
"null"
],
"default": null
},
"androidDeepLinkUrl": {
"type": [
"string",
"null"
],
"default": null
},
"iosStoreUrl": {
"type": [
"string",
"null"
],
"default": null
},
"androidStoreUrl": {
"type": [
"string",
"null"
],
"default": null
}
}
},
"confirmationToken": {
"type": "string",
"minLength": 1,
"maxLength": 8192,
"description": "Unchanged protected token from the matching Smart Link preview; missing or invalid proof fails closed."
},
"humanApprovalReference": {
"type": [
"string",
"null"
],
"maxLength": 16384,
"description": "Optional protected human approval from the authenticated Portal session for this exact connection, action, caller key, preview and policy revision. Required only when current connection policy requires approval; never substitutes for current action authority."
}
},
"required": [
"request",
"confirmationToken"
],
"additionalProperties": false
}AgentSmartLinkConfirmation
{
"type": "object",
"properties": {
"token": {
"type": "string"
},
"digest": {
"type": "string"
},
"expiresAt": {
"type": "string"
}
},
"required": [
"token",
"digest",
"expiresAt"
],
"additionalProperties": false
}AgentSmartLinkPreview
{
"type": "object",
"properties": {
"action": {
"type": "string"
},
"appId": {
"type": "string"
},
"environment": {
"type": "string"
},
"host": {
"type": "string"
},
"slug": {
"type": [
"string",
"null"
]
},
"alreadyApplied": {
"type": "boolean"
},
"confirmation": {
"$ref": "#/components/schemas/AgentSmartLinkConfirmation"
}
},
"required": [
"action",
"appId",
"environment",
"host",
"slug",
"alreadyApplied",
"confirmation"
],
"additionalProperties": false
}PlaceRecord
{
"type": [
"object",
"null"
],
"properties": {
"placeId": {
"type": "string"
},
"tenantId": {
"type": "string"
},
"appId": {
"type": "string"
},
"environmentName": {
"type": "string"
},
"name": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"attributes": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"type": {
"enum": [
"Text",
"Number",
"Boolean",
"Date",
"TextList"
],
"default": "Text"
},
"visibility": {
"enum": [
"DeviceAndTelemetry",
"DeviceOnly",
"PortalOnly"
],
"default": "DeviceAndTelemetry"
}
},
"required": [
"key",
"value"
]
},
"default": null
},
"revision": {
"type": "integer",
"default": 1
}
},
"required": [
"placeId",
"tenantId",
"appId",
"environmentName",
"name",
"latitude",
"longitude",
"metadata",
"active",
"createdAt",
"updatedAt",
"updatedBy"
]
}GeofenceRecord
{
"type": [
"object",
"null"
],
"properties": {
"geofenceId": {
"type": "string"
},
"placeId": {
"type": [
"string",
"null"
]
},
"tenantId": {
"type": "string"
},
"appId": {
"type": "string"
},
"environmentName": {
"type": "string"
},
"name": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"radiusMeters": {
"type": "number"
},
"groupKey": {
"type": [
"string",
"null"
]
},
"tags": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
}
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"shape": {
"enum": [
"Radial",
"Polygon"
],
"default": "Radial"
},
"polygonVertices": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"required": [
"latitude",
"longitude"
]
},
"default": null
},
"activationMode": {
"enum": [
"Automatic",
"ApplicationManaged"
],
"default": "Automatic"
},
"monitoredTransitions": {
"type": [
"array",
"null"
],
"items": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"default": null
},
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
}
},
"required": [
"transition",
"cooldownSeconds"
]
},
"default": null
},
"effectiveCooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
},
"scope": {
"enum": [
"Geofence",
"Tag"
]
},
"tag": {
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"transition",
"cooldownSeconds",
"scope"
]
},
"default": null
},
"revision": {
"type": "integer",
"default": 1
},
"bulkTemplateKey": {
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"geofenceId",
"placeId",
"tenantId",
"appId",
"environmentName",
"name",
"latitude",
"longitude",
"radiusMeters",
"groupKey",
"tags",
"metadata",
"active",
"createdAt",
"updatedAt",
"updatedBy"
]
}GeofenceTagDefinition
{
"type": [
"object",
"null"
],
"properties": {
"tenantId": {
"type": "string"
},
"appId": {
"type": "string"
},
"environmentName": {
"type": "string"
},
"tag": {
"type": "string"
},
"cooldowns": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
}
},
"required": [
"transition",
"cooldownSeconds"
]
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"revision": {
"type": "integer",
"default": 1
},
"affectedGeofence": {
"type": [
"object",
"null"
],
"properties": {
"geofenceId": {
"type": "string"
},
"previousRevision": {
"type": "integer"
},
"revision": {
"type": "integer"
}
},
"required": [
"geofenceId",
"previousRevision",
"revision"
]
}
},
"required": [
"tenantId",
"appId",
"environmentName",
"tag",
"cooldowns",
"createdAt",
"updatedAt",
"updatedBy"
]
}LocationAppSettingsRecord
{
"type": [
"object",
"null"
],
"properties": {
"tenantId": {
"type": "string"
},
"appId": {
"type": "string"
},
"measurementSystem": {
"enum": [
"Metric",
"Imperial"
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"revision": {
"type": "integer",
"default": 1
}
},
"required": [
"tenantId",
"appId",
"measurementSystem",
"updatedAt",
"updatedBy"
]
}BulkRadialGeofencePreview
{
"type": [
"object",
"null"
],
"properties": {
"digest": {
"type": "string"
},
"configurationVersion": {
"type": "string"
},
"selectedLocations": {
"type": "integer"
},
"plannedCreates": {
"type": "integer"
},
"existingGeofences": {
"type": "integer"
},
"warnings": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
}
}
},
"required": [
"digest",
"configurationVersion",
"selectedLocations",
"plannedCreates",
"existingGeofences",
"warnings"
]
}BulkRadialGeofenceResult
{
"type": [
"object",
"null"
],
"properties": {
"selectedLocations": {
"type": "integer"
},
"created": {
"type": "integer"
},
"skippedExisting": {
"type": "integer"
},
"geofences": {
"type": "array",
"items": {
"type": [
"object",
"null"
],
"properties": {
"geofenceId": {
"type": "string"
},
"placeId": {
"type": [
"string",
"null"
]
},
"tenantId": {
"type": "string"
},
"appId": {
"type": "string"
},
"environmentName": {
"type": "string"
},
"name": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"radiusMeters": {
"type": "number"
},
"groupKey": {
"type": [
"string",
"null"
]
},
"tags": {
"type": "array",
"items": {
"type": [
"string",
"null"
]
}
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"active": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"updatedBy": {
"type": "string"
},
"shape": {
"enum": [
"Radial",
"Polygon"
],
"default": "Radial"
},
"polygonVertices": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"required": [
"latitude",
"longitude"
]
},
"default": null
},
"activationMode": {
"enum": [
"Automatic",
"ApplicationManaged"
],
"default": "Automatic"
},
"monitoredTransitions": {
"type": [
"array",
"null"
],
"items": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"default": null
},
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
}
},
"required": [
"transition",
"cooldownSeconds"
]
},
"default": null
},
"effectiveCooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
},
"scope": {
"enum": [
"Geofence",
"Tag"
]
},
"tag": {
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"transition",
"cooldownSeconds",
"scope"
]
},
"default": null
},
"revision": {
"type": "integer",
"default": 1
},
"bulkTemplateKey": {
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"geofenceId",
"placeId",
"tenantId",
"appId",
"environmentName",
"name",
"latitude",
"longitude",
"radiusMeters",
"groupKey",
"tags",
"metadata",
"active",
"createdAt",
"updatedAt",
"updatedBy"
]
}
}
},
"required": [
"selectedLocations",
"created",
"skippedExisting",
"geofences"
]
}McpGeofenceActionRequest
{
"type": "object",
"properties": {
"action": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[cC][rR][eE][aA][tT][eE]|[uU][pP][dD][aA][tT][eE]|[dD][eE][aA][cC][tT][iI][vV][aA][tT][eE])(?:\\s*,\\s*(?:[cC][rR][eE][aA][tT][eE]|[uU][pP][dD][aA][tT][eE]|[dD][eE][aA][cC][tT][iI][vV][aA][tT][eE]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Create",
"Update",
"Deactivate"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"geofenceId": {
"type": [
"string",
"null"
],
"default": null
},
"geofence": {
"type": [
"object",
"null"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"latitude": {
"type": [
"string",
"number",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"longitude": {
"type": [
"string",
"number",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"radiusMeters": {
"type": [
"string",
"number",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"placeId": {
"type": [
"string",
"null"
],
"default": null
},
"groupKey": {
"type": [
"string",
"null"
],
"default": null
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": null
},
"active": {
"type": [
"boolean",
"null"
],
"default": null
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"shape": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[rR][aA][dD][iI][aA][lL]|[pP][oO][lL][yY][gG][oO][nN])(?:\\s*,\\s*(?:[rR][aA][dD][iI][aA][lL]|[pP][oO][lL][yY][gG][oO][nN]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"x-appportal-canonical-enum-values": [
"Radial",
"Polygon"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
"default": null
},
"polygonVertices": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"latitude": {
"type": [
"string",
"number"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"longitude": {
"type": [
"string",
"number"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
}
},
"required": [
"latitude",
"longitude"
]
},
"default": null
},
"clearPlaceLink": {
"type": "boolean",
"default": false
},
"activationMode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD])(?:\\s*,\\s*(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"x-appportal-canonical-enum-values": [
"Automatic",
"ApplicationManaged"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
"default": null
},
"monitoredTransitions": {
"type": [
"array",
"null"
],
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"default": null
},
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"cooldownSeconds": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
},
"default": null
},
"expectedRevision": {
"type": [
"string",
"integer",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)$",
"default": null
},
"bulkTemplateKey": {
"type": [
"string",
"null"
],
"default": null
}
},
"default": null
},
"expectedRevision": {
"type": [
"string",
"integer",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)$",
"default": null
}
}
}McpGeofenceApplyRequest
{
"type": "object",
"properties": {
"request": {
"type": [
"object",
"null"
],
"properties": {
"action": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[cC][rR][eE][aA][tT][eE]|[uU][pP][dD][aA][tT][eE]|[dD][eE][aA][cC][tT][iI][vV][aA][tT][eE])(?:\\s*,\\s*(?:[cC][rR][eE][aA][tT][eE]|[uU][pP][dD][aA][tT][eE]|[dD][eE][aA][cC][tT][iI][vV][aA][tT][eE]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Create",
"Update",
"Deactivate"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"geofenceId": {
"type": [
"string",
"null"
],
"default": null
},
"geofence": {
"type": [
"object",
"null"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"latitude": {
"type": [
"string",
"number",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"longitude": {
"type": [
"string",
"number",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"radiusMeters": {
"type": [
"string",
"number",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"placeId": {
"type": [
"string",
"null"
],
"default": null
},
"groupKey": {
"type": [
"string",
"null"
],
"default": null
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": null
},
"active": {
"type": [
"boolean",
"null"
],
"default": null
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"shape": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[rR][aA][dD][iI][aA][lL]|[pP][oO][lL][yY][gG][oO][nN])(?:\\s*,\\s*(?:[rR][aA][dD][iI][aA][lL]|[pP][oO][lL][yY][gG][oO][nN]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"x-appportal-canonical-enum-values": [
"Radial",
"Polygon"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
"default": null
},
"polygonVertices": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"latitude": {
"type": [
"string",
"number"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"longitude": {
"type": [
"string",
"number"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
}
},
"required": [
"latitude",
"longitude"
]
},
"default": null
},
"clearPlaceLink": {
"type": "boolean",
"default": false
},
"activationMode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD])(?:\\s*,\\s*(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
},
{
"type": "null"
}
],
"x-appportal-canonical-enum-values": [
"Automatic",
"ApplicationManaged"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
"default": null
},
"monitoredTransitions": {
"type": [
"array",
"null"
],
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"default": null
},
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"cooldownSeconds": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
},
"default": null
},
"expectedRevision": {
"type": [
"string",
"integer",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)$",
"default": null
},
"bulkTemplateKey": {
"type": [
"string",
"null"
],
"default": null
}
},
"default": null
},
"expectedRevision": {
"type": [
"string",
"integer",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)$",
"default": null
}
}
},
"confirmationToken": {
"type": [
"string",
"null"
]
},
"humanApprovalReference": {
"type": [
"string",
"null"
],
"maxLength": 16384,
"description": "Optional protected human approval from the authenticated Portal session for this exact connection, action, caller key, preview and policy revision. Required only when current connection policy requires approval; never substitutes for current action authority."
}
}
}BulkRadialGeofenceRequest
{
"type": "object",
"properties": {
"selection": {
"type": [
"object",
"null"
],
"properties": {
"allMatching": {
"type": "boolean"
},
"search": {
"type": [
"string",
"null"
],
"default": null
},
"placeIds": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"excludedPlaceIds": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
}
}
},
"templates": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"templateKey": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"radiusMeters": {
"type": [
"string",
"number"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"activationMode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD])(?:\\s*,\\s*(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Automatic",
"ApplicationManaged"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
"default": "Automatic"
},
"monitoredTransitions": {
"type": [
"array",
"null"
],
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"default": null
},
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"cooldownSeconds": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
},
"default": null
}
}
}
}
}
}McpBulkRadialGeofenceApplyRequest
{
"type": "object",
"properties": {
"request": {
"type": [
"object",
"null"
],
"properties": {
"selection": {
"type": [
"object",
"null"
],
"properties": {
"allMatching": {
"type": "boolean"
},
"search": {
"type": [
"string",
"null"
],
"default": null
},
"placeIds": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"excludedPlaceIds": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
}
}
},
"templates": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"templateKey": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"radiusMeters": {
"type": [
"string",
"number"
],
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"activationMode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD])(?:\\s*,\\s*(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Automatic",
"ApplicationManaged"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
"default": "Automatic"
},
"monitoredTransitions": {
"type": [
"array",
"null"
],
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"default": null
},
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"cooldownSeconds": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
},
"default": null
}
}
}
}
}
},
"previewDigest": {
"type": [
"string",
"null"
]
},
"confirmationToken": {
"type": [
"string",
"null"
]
},
"humanApprovalReference": {
"type": [
"string",
"null"
],
"maxLength": 16384,
"description": "Optional protected human approval from the authenticated Portal session for this exact connection, action, caller key, preview and policy revision. Required only when current connection policy requires approval; never substitutes for current action authority."
}
}
}McpGeofenceTagActionRequest
{
"type": "object",
"properties": {
"tag": {
"type": [
"string",
"null"
]
},
"policy": {
"type": [
"object",
"null"
],
"properties": {
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"cooldownSeconds": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
}
},
"expectedRevision": {
"type": [
"string",
"integer",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)$",
"default": null
},
"expectedGeofence": {
"type": [
"object",
"null"
],
"properties": {
"geofenceId": {
"type": [
"string",
"null"
]
},
"revision": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
}
}
}
}
}McpGeofenceTagApplyRequest
{
"type": "object",
"properties": {
"request": {
"type": [
"object",
"null"
],
"properties": {
"tag": {
"type": [
"string",
"null"
]
},
"policy": {
"type": [
"object",
"null"
],
"properties": {
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
},
{
"type": "integer"
}
],
"x-appportal-canonical-enum-values": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
],
"description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
},
"cooldownSeconds": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
}
},
"expectedRevision": {
"type": [
"string",
"integer",
"null"
],
"pattern": "^-?(?:0|[1-9]\\d*)$",
"default": null
},
"expectedGeofence": {
"type": [
"object",
"null"
],
"properties": {
"geofenceId": {
"type": [
"string",
"null"
]
},
"revision": {
"type": [
"string",
"integer"
],
"pattern": "^-?(?:0|[1-9]\\d*)$"
}
}
}
}
}
}
},
"confirmationToken": {
"type": [
"string",
"null"
]
},
"humanApprovalReference": {
"type": [
"string",
"null"
],
"maxLength": 16384,
"description": "Optional protected human approval from the authenticated Portal session for this exact connection, action, caller key, preview and policy revision. Required only when current connection policy requires approval; never substitutes for current action authority."
}
}
}AgentLocationGeofenceProposal
{
"type": [
"object",
"null"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"latitude": {
"type": [
"number",
"null"
]
},
"longitude": {
"type": [
"number",
"null"
]
},
"radiusMeters": {
"type": [
"number",
"null"
]
},
"placeId": {
"type": [
"string",
"null"
],
"default": null
},
"groupKey": {
"type": [
"string",
"null"
],
"default": null
},
"metadata": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": [
"string",
"null"
]
},
"default": null
},
"active": {
"type": [
"boolean",
"null"
],
"default": null
},
"tags": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"default": null
},
"shape": {
"enum": [
"Radial",
"Polygon",
null
],
"default": null
},
"polygonVertices": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"required": [
"latitude",
"longitude"
]
},
"default": null
},
"clearPlaceLink": {
"type": "boolean",
"default": false
},
"activationMode": {
"enum": [
"Automatic",
"ApplicationManaged",
null
],
"default": null
},
"monitoredTransitions": {
"type": [
"array",
"null"
],
"items": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"default": null
},
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
}
},
"required": [
"transition",
"cooldownSeconds"
]
},
"default": null
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"default": null
},
"bulkTemplateKey": {
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"name",
"latitude",
"longitude",
"radiusMeters"
]
}AgentLocationTagPolicy
{
"type": [
"object",
"null"
],
"properties": {
"cooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
}
},
"required": [
"transition",
"cooldownSeconds"
]
}
},
"expectedRevision": {
"type": [
"integer",
"null"
],
"default": null
},
"expectedGeofence": {
"type": [
"object",
"null"
],
"properties": {
"geofenceId": {
"type": "string"
},
"revision": {
"type": "integer"
}
},
"required": [
"geofenceId",
"revision"
]
}
},
"required": [
"cooldowns"
]
}AgentLocationCatalog
{
"type": "object",
"properties": {
"locations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PlaceRecord"
}
}
},
"required": [
"locations"
],
"additionalProperties": false
}AgentGeofenceCatalog
{
"type": "object",
"properties": {
"geofences": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GeofenceRecord"
}
},
"tags": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GeofenceTagDefinition"
}
},
"settings": {
"$ref": "#/components/schemas/LocationAppSettingsRecord"
}
},
"required": [
"geofences",
"tags",
"settings"
],
"additionalProperties": false
}AgentLocationPageError
{
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"location_page_invalid",
"pagination_required",
"location_page_unavailable"
]
},
"error": {
"type": "string"
}
},
"required": [
"code",
"error"
],
"additionalProperties": false
}AgentLocationCatalogPage
{
"type": "object",
"properties": {
"locations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PlaceRecord"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"totalCount": {
"type": [
"integer",
"null"
]
}
},
"required": [
"locations",
"nextCursor",
"totalCount"
],
"additionalProperties": false
}AgentGeofenceCatalogPage
{
"type": "object",
"properties": {
"geofences": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GeofenceRecord"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"totalCount": {
"type": [
"integer",
"null"
]
},
"settings": {
"$ref": "#/components/schemas/LocationAppSettingsRecord"
}
},
"required": [
"geofences",
"nextCursor",
"totalCount",
"settings"
],
"additionalProperties": false
}AgentGeofenceTagCatalogPage
{
"type": "object",
"properties": {
"tags": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GeofenceTagDefinition"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
},
"totalCount": {
"type": [
"integer",
"null"
]
}
},
"required": [
"tags",
"nextCursor",
"totalCount"
],
"additionalProperties": false
}AgentLocationConfirmation
{
"type": "object",
"properties": {
"token": {
"type": "string"
},
"digest": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"token",
"digest",
"expiresAt"
],
"additionalProperties": false
}AgentGeofencePreview
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"Create",
"Update",
"Deactivate"
]
},
"appId": {
"type": "string"
},
"environment": {
"type": "string"
},
"currentRevision": {
"type": "integer"
},
"configurationVersion": {
"type": "string"
},
"proposed": {
"anyOf": [
{
"$ref": "#/components/schemas/AgentLocationGeofenceProposal"
},
{
"type": "null"
}
]
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"confirmation": {
"$ref": "#/components/schemas/AgentLocationConfirmation"
}
},
"required": [
"action",
"appId",
"environment",
"currentRevision",
"configurationVersion",
"proposed",
"warnings",
"confirmation"
],
"additionalProperties": false
}AgentBulkRadialGeofencePreview
{
"type": "object",
"properties": {
"preview": {
"$ref": "#/components/schemas/BulkRadialGeofencePreview"
},
"confirmation": {
"$ref": "#/components/schemas/AgentLocationConfirmation"
}
},
"required": [
"preview",
"confirmation"
],
"additionalProperties": false
}AgentGeofenceTagPreview
{
"type": "object",
"properties": {
"tag": {
"type": "string"
},
"currentRevision": {
"type": "integer"
},
"affectedGeofences": {
"type": "integer"
},
"proposedCooldowns": {
"type": [
"array",
"null"
],
"items": {
"type": [
"object",
"null"
],
"properties": {
"transition": {
"enum": [
"Enter",
"Exit",
"Dwell",
"Silent",
"Diagnostic"
]
},
"cooldownSeconds": {
"type": "integer"
}
},
"required": [
"transition",
"cooldownSeconds"
]
}
},
"confirmation": {
"$ref": "#/components/schemas/AgentLocationConfirmation"
}
},
"required": [
"tag",
"currentRevision",
"affectedGeofences",
"proposedCooldowns",
"confirmation"
],
"additionalProperties": false
}SmartLinkEnvironmentDomainRequest
{
"type": "object",
"properties": {
"baseDomainId": {
"type": [
"string",
"null"
]
},
"environment": {
"type": [
"string",
"null"
]
}
},
"description": "The existing baseDomainId and environment body selects an approved active base domain and one configured nonproduction app environment. The current environment ID/slug/name is resolved server-side; production/all and conflicting bindings are rejected."
}McpSmartLinkEnvironmentApplyRequest
{
"type": "object",
"properties": {
"request": {
"type": "object",
"properties": {
"baseDomainId": {
"type": [
"string",
"null"
]
},
"environment": {
"type": [
"string",
"null"
]
}
}
},
"confirmationToken": {
"type": "string",
"minLength": 1,
"maxLength": 8192,
"description": "Unchanged protected token from the matching Smart Link preview; missing or invalid proof fails closed."
},
"humanApprovalReference": {
"type": [
"string",
"null"
],
"maxLength": 16384,
"description": "Optional protected human approval from the authenticated Portal session for this exact connection, action, caller key, preview and policy revision. Required only when current connection policy requires approval; never substitutes for current action authority."
}
},
"required": [
"request",
"confirmationToken"
],
"additionalProperties": false
}