Skip to main content

Read Endpoints

Read endpoints are safe to call and never mutate state. The complete generated read surface, with exact JSON Schema for each procedure input, lives in api-contract.json.

Public Read Procedures

These routes do not require authentication:

ProcedurePurpose
healthControl-plane health probe
platformOverviewProduct thesis, architecture summary, and guardrails
roadmapSmall public roadmap summary, optionally filtered by lane

Authenticated Read Procedures

These routes currently require authentication but do not advertise a narrower token scope at the procedure layer:

  • Identity and governance: viewer, agents, adminControlPlane, agentTokenInventory, principalInventory
  • Deploy and infra observation: recentDeployments, deploymentDetails, executionQueue, infrastructureInventory, serverReadiness, deploymentInsights, deploymentRollbackPlans, deploymentLogs, operationsTimeline, approvalQueue, auditTrail
  • Project and service inventory: projects, projectDetails, projectEnvironments, projectServices, services, serviceDetails, serviceDomainState
  • Git and secret-provider inventory: gitProviders, gitInstallations, listSecretProviders, validateSecretRef
  • Backup inventory: backupDestinations, backupDestination, backupMetrics, backupDiagnosis
  • Notification reads: listPushSubscriptions, listChannels, getUserPreferences, getProjectOverrides, listDeliveryLogs

Notable queryable observation inputs:

  • deploymentLogs supports optional deploymentId, service, query, stream, and limit filters for targeted log retrieval.
  • operationsTimeline supports optional deploymentId and limit.
  • serverReadiness and infrastructureInventory now surface persisted swarmTopology snapshots for docker-swarm-manager targets when that metadata exists.

Scoped Read Procedures

These routes require both authentication and the listed scope set:

ProcedureRequired Scope(s)Notes
composePreviewsdeploy:readPreview deployment inventory for one compose service
composePreviewReconciliationdeploy:readDesired-vs-observed preview routing and stale preview analysis
rollbackTargetsdeploy:readRollback candidates for one service
backupOverviewbackup:readBackup policy and recent run summary
backupRestoreQueuebackup:readRestore queue inventory
persistentVolumesbackup:readPersistent volume inventory
backupRunDetailsbackup:readOne backup run with detailed metadata
resolveEnvironmentSecretssecrets:readSecret resolution inventory for one environment
listDestinationFilesbackup:runRemote file listing for one backup destination
managedTunnelsserver:readManaged tunnel inventory with observed routes
managedTunnelserver:readOne managed tunnel with observed routes
logDrainsserver:readConfigured external log drains
logDrainDeliveriesserver:readRecent log drain delivery attempts
accessLogslogs:readRedacted request, auth, webhook, and API token usage logs

Access Logs

accessLogs exposes durable request records for operators who need to inspect API usage without shell access to container logs. Results are redacted and do not include request bodies, response bodies, authorization headers, or raw token values.

Supported filters include status, method, path, actorType, tokenId, requestId, search, since, minDurationMs, limit, and cursor. Status buckets include failed auth, denied scopes, API token usage, webhooks, slow requests, and server errors.

Examples

The generated contract artifact also includes machine-readable examples for:

  • viewer auth inspection
  • deployment planning and deploy execution
  • environment variable writes
  • backup run and restore flows
  • approval request and approval decision flows