Skip to content

List Sync Job Run States ​


List all sync job run states for a given namespace (state_key).

Endpoint ​

http
GET /sync-job-run-state

Query parameters ​

Refer Specifying query parameters in Truto APIs

state_key
string
REQUIRED · 

The state_key attribute found in a sync job run and defined in the sync job. Used as a namespace for the states.

Example: sync_job_123

Response Body ​

result
object[]
key
string

Key for this state entry. Unique within the namespace identified by state_key.

Example: last_processed_id
value
string

The stored value. Encode structured data (for example, JSON) as a string before storing.

Example: eyJpZCI6IjEyMzQ1IiwidGltZXN0YW1wIjoiMjAyMy0wMS0wMVQwMDowMDowMFoifQ==
sync_job_run_id
string · uuid

The ID of the sync job run that wrote this entry, if any.

Example: 4a4de828-f4db-4c9e-adfd-434e0864c3c7
created_at
string · date-time

Time at which the state entry was first created.

Example: 2023-01-01T10:00:00.000Z
updated_at
string · date-time

Time at which the state entry was last updated.

Example: 2023-01-02T10:00:00.000Z