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. Sources carry no credentials: the Shopify connector reads the public storefront catalogue, so the only stored configuration is the endpoint URL. Nothing is redacted from responses.
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 storefront's public products.json.
shopify-apiactive 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
18Every 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"
}
}