Skip to main content
After uploading a statement, use this endpoint to check the status of staging and processing.

Get Statement Processes

Returns the staging and processing status for a specific statement.

Request

GET /v1/statements/{statement_id}/processes

Path Parameters

ParameterTypeRequiredDescription
statement_idintegerYesThe staging or statement ID

Query Parameters

ParameterTypeRequiredDefaultDescription
projectIdUUIDYesThe project the statement belongs to

Headers

HeaderRequiredDescription
AuthorizationYesBearer <token> — must be scoped to the requested project

Response

FieldTypeDescription
staging_idintegerThe staging record identifier
statement_idintegerThe statement ID (available after staging completes)
staging_donebooleanWhether staging (pre-processing) has completed
processing_donebooleanWhether statement processing has completed
staging_processesobjectStaging stage and info
staging_processes.stagestringCurrent staging stage (queued, completed, failed)
staging_processes.infoobjectStaging details
processing_processesobjectProcessing status (null until staging completes)
processing_processes.statusstringCurrent processing status (processing, completed, failed)
processing_processes.stageintegerCurrent processing stage number
processing_processes.remarksobjectProcessing remarks and details
{
  "data": {
    "staging_id": 456,
    "statement_id": 1234,
    "staging_done": true,
    "processing_done": false,
    "staging_processes": {
      "stage": "completed",
      "info": {}
    },
    "processing_processes": {
      "status": "processing",
      "stage": 2,
      "remarks": {}
    }
  }
}
You can pass either the staging ID (returned from upload) or the statement ID. The endpoint resolves both. statement_id and processing_processes are null until staging completes successfully.

Errors

StatusDescription
400Missing or invalid projectId
403Token is not scoped to the requested project
404Statement not found
429Rate limit exceeded

Example

curl "https://api.royaltyport.com/v1/statements/456/processes?projectId=a1b2c3d4-..." \
  -H "Authorization: Bearer rp_your_token_here"