Sources API response parameters

Response Parameters

Parameter Type Values
id String The ID of the source. String representation of a number.
type String source
attributes Object Attributes object. See below.
attributes.team_id Integer The ID of the team.
attributes.name String Name of the source.
attributes.platform String Source platform.
attributes.token String Unique source token.
attributes.live_tail_pattern String Freeform text template for formatting Live tail output with columns wrapped in {column} brackets. Example: "PID: {message_json.pid} {level} {message}"
attributes.logs_retention Integer Data retention for logs in days. There might be additional charges for longer retention.
attributes.metrics_retention Integer Data retention for metrics in days. There might be additional charges for longer retention.
attributes.created_at String (ISO DateTime) When was the source created.
attributes.updated_at String (ISO DateTime) When was the source last updated.