Sazabi
APILog streams

Create a log stream

POST
/log-streams

Create a new log stream under a managed log source. Triggers async provisioning; poll the log stream to track it. Connectionless log sources are single-stream — create another log source instead.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/log-streams" \  -H "Content-Type: application/json" \  -d '{    "logSourceId": "7efc89d3-d050-4aa1-9ef7-0c937654d327"  }'
{  "streamId": "22cb260b-fac8-4ce4-8488-8f1949304300"}