Read synced action data from the datasync index
Returns previously synced data for the specified action from the OpenSearch index. The 200 response is one of two shapes: ActionsSyncedResponse when a sync served the read (its data, or aggregations instead of data when the request set aggs), or ActionsSyncedRefusal (synced: false) when nothing has been synced for this action yet, or the account has more than one sync of it and sync_id was not given to choose one — syncs then lists the available choices. A sync_id that names a sync which no longer exists is a caller error and is rejected with 400, not returned as a 200 shape.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
The number of results to return per page
25
The number of results to skip before returning results
0
Body
The action to execute
"create_employee"
Accepted for backwards compatibility but ignored on this endpoint: synced reads no longer select the run by path parameters. Use sync_id to choose which sync to read.
Accepted for backwards compatibility but ignored on this endpoint: synced reads no longer select the run by query parameters. Use sync_id to choose which sync to read.
Accepted for backwards compatibility but ignored on this endpoint: synced reads no longer select the run by request body. Use sync_id to choose which sync to read.
Accepted for backwards compatibility but ignored on this endpoint: synced reads no longer select the run by headers. Use sync_id to choose which sync to read.
OpenSearch-style filter (Query DSL) (term / terms / range / wildcard / match / match_phrase / exists / bool) over synced fields. match / match_phrase do word-level search (string fields only, case-insensitive); wildcard matches patterns (case-sensitive). Use field names exactly as returned in the action's "queryable_fields".
Free-text search over the record's text fields, ranked by relevance. Supports "quoted phrases", +required / -excluded terms, and prefix* — lenient (never errors). Combine with filter to narrow; results are relevance-ranked unless an explicit sort is given.
"onboarding safety"
Which sync to read, when the account has more than one sync of this action. Omit when there is only one; a named sync is never substituted if it is gone.
"sch_01J8Z3Q4"
Field names to return (projection) — omit to return all fields. Shrinks the response.
OpenSearch-style sort. Each entry is either a field name (ascending) or an object keyed by field name: {"last_name": "desc"}, or the nested form {"last_name": {"order": "desc"}}. Earlier entries take priority.
OpenSearch aggregations object. When set, aggregation results are returned instead of records, and source, sort, page_size and skip are ignored (filter still applies).
Response
Synced action data, or a refusal payload explaining why none was returned.