Skip to content
Proud to collaborate with Microsoft for Startups

sentry.sync_errors ​

Sync Sentry issues and events to database

Sync Sentry issues and events to DB (no PII). Triggered only by explicit POST /api/app/sentry/sync.

DB operations use context.session (ADR-011). Sentry API calls use self.get_plugin("sentry").

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-sentry
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—Sentry cloud-connection UUID
organization_uuiduuidYes—Organization that owns the connection
sentry_project_uuiduuidNo—Optional filter: sync only this Sentry project
organization_slugstringNo—Optional filter: Sentry organization slug
project_slugstringNo—Optional filter: Sentry project slug

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuidstringNo——
organization_uuidstringNo——
sentry_project_uuidstringNo——
organization_slugstringNo——
project_slugstringNo——
issues_syncedintegerNo——
events_syncedintegerNo——
completed_atstringNo——
failed_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—sync_issuesSync started
syncing_errorsNoNo—completeSyncing events
syncing_issuesNoNo—sync_errorsSyncing issues
completedNoYesYes—Sync complete
failedNoYesNo—Sync failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedsync_issuessyncing_issues—
syncing_issuessync_errorssyncing_errors—
syncing_errorscompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "sentry.sync_errors",
  "initial_data": {
    "connection_uuid": "value",
    "organization_uuid": "value"
  }
}