APILog sources
Get a log source
Get one log source by ID, including its log streams and their endpoint card(s).
Path Parameters
logSourceId*string
Log source ID to fetch.
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/log-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "logSource": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "provider": "vercel", "mode": "managed", "name": "string", "streamCount": -9007199254740991, "createdAt": "2019-08-24T14:15:22Z", "streams": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "logSourceId": "7efc89d3-d050-4aa1-9ef7-0c937654d327", "displayName": "string", "config": { "property1": null, "property2": null }, "status": "pending", "errorMessage": "string", "enabled": true, "createdAt": "2019-08-24T14:15:22Z", "endpointCards": [ { "kind": "url", "label": "string", "url": "string", "host": "string", "port": -9007199254740991, "description": "string", "extraCredential": { "label": "string", "value": "string", "description": "string" } } ] } ] }}