List data streams

GET /api/fleet/data_streams

List data streams

Headers

  • The version of the API to use

    Value is 2023-10-31. Default value is 2023-10-31.

Responses

GET /api/fleet/data_streams
curl \
 -X GET https://localhost:5601/api/fleet/data_streams \
 -H "elastic-api-version: 2023-10-31"
Response examples (200)
{
  "data_streams": [
    {
      "dashboards": [
        {
          "id": "string",
          "title": "string"
        }
      ],
      "dataset": "string",
      "index": "string",
      "last_activity_ms": 42.0,
      "namespace": "string",
      "package": "string",
      "package_version": "string",
      "serviceDetails": {
        "environment": "string",
        "serviceName": "string"
      },
      "size_in_bytes": 42.0,
      "size_in_bytes_formatted": 42.0,
      "type": "string"
    }
  ]
}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "statusCode": 42.0
}