Skip to main content
royaltyport statements status <project_id> <staging_id>
Checks the staging and processing status for a previously uploaded statement.

Arguments

ArgumentRequiredDescription
project_idYesThe project UUID
staging_idYesStaging ID returned from statements upload

Options

OptionShortDescription
--watch-wPoll for updates until all processing completes

Behavior

  • Without --watch: fetches and prints the current status once
  • With --watch: polls every 3 seconds, showing a live spinner with progress, and exits when both staging and processing are complete
  • If staging failed, the error type and message are displayed

Output

Prints a status line with:
FieldDescription
Staging IDThe staging identifier
Statement IDThe statement ID (available after staging completes)
StagingCurrent staging stage (color-coded)
Staging DoneWhether staging has completed
Processing DoneWhether processing has completed

Examples

Check status once:
royaltyport statements status a1b2c3d4-e5f6-7890-abcd-ef1234567890 stg_abc123
Watch until processing completes:
royaltyport statements status a1b2c3d4-e5f6-7890-abcd-ef1234567890 stg_abc123 --watch