Logo
Log inBook a demo
  • Getting started
    • Introduction
    • Obtaining API keys
    • Quickstart
    • Native clients
    • Concepts
    • Embedding authentication
    • Versioning
    • Idempotent requests
    • Events
  • Configuring your connections
    • CDC streaming from databases
  • Code examples
    • Bulk sync (ELT) from HubSpot to PostgreSQL
    • Bulk sync (ELT) from Salesforce to S3
    • Bulk sync (ELT) from Salesforce to Snowflake
    • Model sync (Reverse ETL) from MongoDB to Salesforce
  • API Reference
Log inBook a demo
API ReferenceModel SyncExecutions

List Executions

GET
https://app.polytomic.com/api/syncs/:sync_id/executions
GET
/api/syncs/:sync_id/executions
1curl -G https://app.polytomic.com/api/syncs/248df4b7-aa70-47b8-a036-33ac447e668d/executions \
2 -H "Authorization: Bearer <token>" \
3 -d page_token=AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K \
4 -d only_completed=true \
5 -d ascending=true
Try it
1{
2 "data": [
3 {
4 "completed_at": "2024-01-01T00:00:00Z",
5 "counts": {
6 "delete": 42,
7 "error": 5,
8 "insert": 80,
9 "total": 100,
10 "update": 15,
11 "upserts": 10,
12 "warnings": 10
13 },
14 "created_at": "2024-01-01T00:00:00Z",
15 "errors": [
16 "something went wrong"
17 ],
18 "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
19 "started_at": "2024-01-01T00:00:00Z",
20 "status": "created",
21 "type": "scheduled"
22 }
23 ],
24 "pagination": {
25 "next_page_token": "AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K=="
26 }
27}

Path parameters

sync_idstringRequired

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.
X-Polytomic-VersionstringOptional

Query parameters

page_tokenstringOptional
only_completedbooleanOptional
ascendingbooleanOptional

Response

OK
datalist of objects or null
paginationobject or null

Errors

Was this page helpful?
Previous

Get Execution

Next
Built with
OK

Bearer authentication of the form Bearer <token>, where token is your auth token.