REST API
- Introduction
- Models
- Connector Definitions
- Connectors
- Syncs
- Sync Runs
- Sync Records
- Reports
- Roles
- Catalogs
Syncs
List Syncs
GET
/
api
/
v1
/
syncs
curl --request GET \
--url https://api.squared.ai/api/v1/syncs \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "syncs",
"attributes": {
"source_id": 123,
"destination_id": 123,
"model_id": 123,
"configuration": {},
"schedule_type": "automated",
"sync_mode": "full_refresh",
"sync_interval": 123,
"sync_interval_unit": "minutes",
"cron_expression": "<string>",
"cursor_field": "<string>",
"stream_name": "<string>",
"status": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Page number for pagination
Number of items per page for pagination
Response
200 - application/json
A list of sync operations
Available options:
syncs
Available options:
automated
Available options:
full_refresh
Available options:
minutes
Was this page helpful?
curl --request GET \
--url https://api.squared.ai/api/v1/syncs \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"type": "syncs",
"attributes": {
"source_id": 123,
"destination_id": 123,
"model_id": 123,
"configuration": {},
"schedule_type": "automated",
"sync_mode": "full_refresh",
"sync_interval": 123,
"sync_interval_unit": "minutes",
"cron_expression": "<string>",
"cursor_field": "<string>",
"stream_name": "<string>",
"status": "<string>"
}
}
],
"links": {
"self": "<string>",
"first": "<string>",
"prev": "<string>",
"next": "<string>",
"last": "<string>"
}
}