Skip to content
Proud to collaborate with Microsoft for Startups

sentry.auth.validate_token ​

Validate a Sentry authentication token

Validate a Sentry authentication token and return account information.

Inputs: none (token comes from the sentry plugin).

Outputs (terminal state_data):

  • orgs: list of {slug, name} — organisations the token has access to
  • authenticated: bool — always true on success

Plugin required: context.get_plugin("sentry") must expose:

  • .auth_token — Sentry auth token
  • .base_url — optional, default: https://sentry.io

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-sentry
Version1.0

Input Schema ​

No input fields required.

Output Schema ​

FieldTypeRequiredDefaultDescription
authenticatedbooleanNo——
orgslistNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "sentry.auth.validate_token",
  "initial_data": { }
}