Get a single source

Get a single source by its ID.

GET https://logtail.com/api/v1/sources/{source_id}

URL parameters

id
required string

Headers

Authorization
required string
200

Response body

{
  "id": "95",
  "type": "source",
  "attributes": {
    "team_id": 123,
    "name": "Real-Time Flights",
    "table_name": "real_time_flights",
    "platform": "flights",
    "token": "FczKcxEhjEDE58dBX7XaeX1q",
    "retention": 14,
    "ingesting_paused": false,
    "autogenerate_views": false,
    "created_at": "2021-05-27T12:30:41.695Z",
    "updated_at": "2021-06-11T14:00:50.756Z"
  }
}
404

Response body

{
  "errors": "Resource with provided ID was not found"
}