GET
/v1/sourcesList sources
Returns configured website, server, mobile, and warehouse sources with recent ingest counters.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | Filter by source type. |
limit | integer | No | Maximum rows to return. |
Response schema · 200
{
"sources": [
{
"id": "src_123",
"name": "Storefront",
"type": "web",
"status": "active",
"events_24h": 18420
}
]
}Response example
{
"sources": [
{
"id": "src_123",
"name": "Storefront",
"type": "web",
"status": "active",
"events_24h": 18420
}
]
}Code examples
curl https://api.tracklayer.com/v1/sources \
-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.