URL parameters
The ID of the source group.
Query parameters
Page number
Number of sources per page. Default 50, maximum 250.
Headers
Bearer $TOKEN
Returns a list of all sources in a specific source group.
URL parameters
The ID of the source group.
Query parameters
Page number
Number of sources per page. Default 50, maximum 250.
Headers
Bearer $TOKEN
Returns a paginated list of sources in the source group.
Response body
Response attributes
The ID of the source.
The resource type, always source.
The ID of the source group the source belongs to, or null when the source isn't in a group.
The ID of the team that owns the source.
The name of the team that owns the source.
The name of the source.
The platform of the source, for example nginx.
The table name used to query the source's data.
The source token that authenticates data sent to the source.
Whether ingesting is paused for the source.
The host to send the source's data to, or null for the prometheus_scrape and cloudflare_prometheus_exporter platforms, where Better Stack scrapes the data instead.
When the source was created, as an ISO 8601 date-time in UTC.
When the source was last updated, as an ISO 8601 date-time in UTC.
Data retention for logs in days, a deprecated duplicate of logs_retention.
Data retention for logs in days.
Data retention for metrics in days.
The live tail message format with columns wrapped in {column} brackets, or null when the source uses the default format.
The URLs Better Stack scrapes, present only for the prometheus_scrape and cloudflare_prometheus_exporter platforms.
How often the URLs are scraped in seconds, one of 15, 30, 60, 120 or 300, present only for the prometheus_scrape and cloudflare_prometheus_exporter platforms.
Request headers sent with each scrape as objects with name and value fields, present only for the prometheus_scrape and cloudflare_prometheus_exporter platforms.
The basic auth username for scraping or null when none is set, present only for the prometheus_scrape and cloudflare_prometheus_exporter platforms.
The basic auth password for scraping or null when none is set, present only for the prometheus_scrape and cloudflare_prometheus_exporter platforms.
Whether SSL/TLS certificate verification is skipped when scraping, present only for the prometheus_scrape and cloudflare_prometheus_exporter platforms.
The storage region of the source's data, for example eu-nbg-2.
The custom S3-compatible bucket that hosts the source's data, or null when the source uses Better Stack storage.
The name of the bucket.
The full URL endpoint of the bucket.
The access key ID used to access the bucket, whose secret access key is never returned.
Whether data stays in the bucket after the retention period.
The VRL code applied to logs during ingestion, a deprecated duplicate of vrl_transformation_logs.
The VRL code applied to logs during ingestion, or an empty string when there's none or it equals the platform default.
The VRL code applied to traces during ingestion, or an empty string when there's none.
Metric names marked as spam, which are rejected during ingestion and aren't billed.
URL of the first page. Read more about pagination.
URL of the last page.
URL of the previous page, or null on the first page.
URL of the next page, or null on the last page.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.