v13
OpenAPI 3.0.32026-07-31359869.4 MBlogDrains
Retrieves a list of Integration log drains (deprecated)
Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.
get/v2/integrations/log-drains
Query parameters
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
The Team identifier to perform the request on behalf of.
slugstring
Example:my-team-url-slug
The Team slug to perform the request on behalf of.
Response
A list of log drains
Example response
[
{
"clientId": "oac_xRhY4LAB7yLhUADD69EvV7ct",
"configurationId": "icfg_3bwCLgxL8qt5kjRLcv2Dit7F",
"createdAt": 1558531915505,
"id": "ld_nBuA7zCID8g4QZ8g",
"deliveryFormat": "json",
"name": "My first log drain",
"ownerId": "kr1PsOIzqEL5Xg6M4VZcZosf",
"projectId": "AbCgVkqoxXeXCDWehVir51LHGrrcWL4mkYm14W6UBPWQeb",
"url": "https://example.com/log-drain",
"sources": [
"build",
"edge"
],
"createdFrom": "integration",
"environments": [
"production"
],
"branch": "feature/*",
"samplingRate": 0.5
}
]