Retrieve a data source
/v1/datasets/{datasetId}/sources/{sourceId}Returns a single source by id. Unlike the list endpoint, this response does
not include sync.lastStats; read the source's sync logs for run history.
The source is looked up by sourceId within your organization and the
datasetId in the path; a source that belongs to a different dataset returns 404.
Path parameters
2The dataset the source belongs to.
The source to retrieve.
Response
Always true on a 2xx response.
A store connection that feeds a dataset. A shopify-api source reads the
store's public products.json catalogue and stores only its endpoint. A
shopify-storefront source reads the
Storefront API and also carries the fields marked Storefront below; its
storefront access token is never part of the documented response.
Unique identifier of the source. Generated on create.
The dataset this source feeds.
The organization that owns the source.
Connector type. shopify-api reads a Shopify store's public products.json; shopify-storefront reads its Storefront API, priced in a chosen market.
shopify-apishopify-storefrontactive sources are picked up by the scheduler and accept manual sync jobs.
inactive sources are ignored by the scheduler and reject manual jobs.
activeinactiveScheduling state.
Connector configuration.
When the source was created.
When the source was last modified, including scheduler updates to sync.previous.
Errors
26Every error is JSON with a single error string unless noted. Match on the status code; the message is for humans.
Data source not found or access deniedNo source with that sourceId belongs to the organization that owns the key, or the source belongs to a different datasetId than the path.
curl -X GET "https://stylor.ai/api/v1/datasets/YOUR_DATASET_ID/sources/YOUR_SOURCE_ID" \
-H "Authorization: Bearer $STYLOR_API_KEY"{
"success": true,
"source": {
"sourceId": "8a4d2f1e-3c5b-4e6a-9d7f-2b1c3d4e5f6a",
"datasetId": "3f1c2a9e-6b7d-4c1e-9a2b-1d4e5f6a7b8c",
"organizationId": "5b7e9c1a-2d4f-4a6b-8c1d-9e2f3a4b5c6d",
"type": "shopify-api",
"status": "active",
"sync": {
"period": 1440,
"previous": "2026-09-11T03:00:12.418Z"
},
"config": {
"endpoint": "https://example-store.myshopify.com/products.json",
"disableGenerativeAssets": true
},
"createdAt": "2026-08-01T14:22:09.101Z",
"updatedAt": "2026-09-11T03:00:12.420Z"
}
}