GET
/v1/sources/{source_id}Get a source
Returns one source, its installation settings, recent health, and schema enforcement mode.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
source_id | string | Yes | Source identifier. |
Response schema · 200
{
"id": "src_123",
"name": "Storefront",
"type": "web",
"status": "active",
"schema_mode": "warn"
}Response example
{
"id": "src_123",
"name": "Storefront",
"type": "web",
"status": "active",
"schema_mode": "warn"
}Code examples
curl https://api.tracklayer.com/v1/sources/src_123 \
-H "Authorization: Bearer ${API_KEY}"Try it out
Use the dashboard to create an API key, then run one of the examples above with TRACKLAYER_API_KEY set in your environment.