Returns all log drains configured in the current project.
curl --request GET \
--url https://api.strait.dev/v1/log-drains \
--header 'Authorization: Bearer <token>'[
{
"auth_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"drain_type": "<string>",
"enabled": true,
"endpoint_url": "<string>",
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"$schema": "<string>",
"auth_config": {},
"level_filter": [
"<string>"
]
}
]Documentation Index
Fetch the complete documentation index at: https://docs.strait.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key passed as Bearer token
OK
A URL to the JSON Schema for this object.
"https://api.strait.dev/schemas/LogDrain.json"
Show child attributes
curl --request GET \
--url https://api.strait.dev/v1/log-drains \
--header 'Authorization: Bearer <token>'[
{
"auth_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"drain_type": "<string>",
"enabled": true,
"endpoint_url": "<string>",
"id": "<string>",
"name": "<string>",
"project_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"$schema": "<string>",
"auth_config": {},
"level_filter": [
"<string>"
]
}
]