Sazabi
APILog streams

Get a log stream

GET
/log-streams/{streamId}

Get one log stream by ID. Use to poll provisioning status.

Path Parameters

streamId*string

Log stream ID to fetch.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/log-streams/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "stream": {    "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"        }      }    ]  }}