Authentication and scope
Discover current permissions before choosing a target Workspace.
Discover identity
Prefer the ShieldON CLI, which loads and refreshes OAuth tokens from the operating-system credential vault. After signing in, run:
shieldon api GET /v1/auth/context
shieldon api GET /v1/workspacesGET /v1/auth/context returns the user, organization, current roles, authentication method, and permissions for accessible Workspaces. Join names by Workspace ID; names and local configuration do not establish authorization.
Permission boundaries
| Permission | Purpose |
|---|---|
| read | Query Workspace resources |
| write | Change Workspace drafts |
| publish | Publish a candidate Release |
| manage_members | Manage Workspace membership |
Organization Integration mutations require owner/admin. Organization-shared resources are read-only in a Workspace. Personal API keys inherit current roles and cannot create more personal keys or replace sessions for membership and login operations.
Request conventions
For direct API access, send the personal key in a Bearer authorization header, never a URL. Send Content-Type: application/json for JSON mutations. Do not send X-Shieldon-Organization-ID: the authenticated identity determines the organization. Keep X-Request-ID for troubleshooting.
Discovery informs navigation and preflight checks. The server authorizes every request again; cached permissions cannot grant access after roles change.