We've rebuilt the Elastic API reference with a fresh design. Share your feedback.

Feedback on this page

  1. Docs /
  2. APIs /
  3. Kibana API v8
View as Markdown
Download OpenAPI spec (JSON) Download OpenAPI spec (YAML)

Data streams

Version 8.19 View the latest version (v9)

Data stream APIs enable you to manage data streams, which are collections of indices that share the same index template and are managed as a single unit for time-series data.

Endpoints

1 endpoint

  • GET List data streams /api/fleet/data_streams
On this page
  • Endpoints
Version
v9 (latest) v8
Elastic Stack
Elasticsearch API Elasticsearch Serverless API Kibana API Kibana Serverless API Logstash API
Orchestration
Elastic Cloud API Elastic Cloud Billing API Elastic Cloud Connected API Elastic Cloud Enterprise API Elastic Cloud Monitoring API Elastic Cloud Serverless API
All APIs
  • Overview
  • Authentication
  • Spaces
  • Operations
    • Alerting
      • Get the alerting framework health
      • Get rule details
      • Create a rule
      • Update a rule
      • Delete a rule
      • Disable a rule
      • Enable a rule
      • Mute all alerts
      • Unmute all alerts
      • Update the API key for a rule
      • Schedule a snooze for the rule
      • Delete a snooze schedule for a rule
      • Mute an alert
      • Unmute an alert
      • Get the rule types
      • Get information about rules
      • Get an alert by identifier Deprecated
      • Create an alert Deprecated
      • Update an alert Deprecated
      • Delete an alert Deprecated
      • Disable an alert Deprecated
      • Enable an alert Deprecated
      • Mute all alert instances Deprecated
      • Unmute all alert instances Deprecated
      • Mute an alert instance Deprecated
      • Unmute an alert instance Deprecated
      • Get a paginated set of alerts Deprecated
      • Get the alerting framework health Deprecated
      • Get the alert types Deprecated
    • APM agent configuration
      • Get a list of agent configurations
      • Create or update agent configuration
      • Delete agent configuration
      • Get agent name for service
      • Get environments for service
      • Lookup single agent configuration
      • Get single agent configuration
    • APM agent keys
      • Create an APM agent key
    • APM annotations
      • Create a service annotation
      • Search for annotations
    • APM server schema
      • Save APM server schema
    • APM sourcemaps
      • Get source maps
      • Upload source map
      • Delete source map
    • Cases
      • Create a case
      • Update cases
      • Delete cases
      • Search cases
      • Get cases for an alert
      • Get case settings
      • Add case settings
      • Get case connectors
      • Update case settings
      • Get case creators
      • Get case status summary Deprecated
      • Get case tags
      • Get case information
      • Get all alerts for a case
      • Get all case comments Deprecated
      • Add a case comment or alert
      • Update a case comment or alert
      • Delete all case comments and alerts
      • Find case comments and alerts
      • Get a case comment or alert
      • Delete a case comment or alert
      • Push a case to an external service
      • Attach a file to a case
      • Get case activity Deprecated
      • Find case activity
    • Connectors
      • Get all connectors Deprecated
      • Create a connector Deprecated
      • Get connector information Deprecated
      • Update a connector Deprecated
      • Delete a connector Deprecated
      • Run a connector Deprecated
      • Get connector information
      • Create a connector
      • Update a connector
      • Delete a connector
      • Run a connector
      • Get connector types
      • Get all connectors
      • Get connector types Deprecated
    • Data streams
      • List data streams
    • Data views
      • Get all data views
      • Create a data view
      • Get a data view
      • Update a data view
      • Delete a data view
      • Update data view fields metadata
      • Create a runtime field
      • Create or update a runtime field
      • Get a runtime field
      • Update a runtime field
      • Delete a runtime field from a data view
      • Get the default data view
      • Set the default data view
      • Swap saved object references
      • Preview a saved object reference swap
    • Elastic Agent actions
      • Get agent action status
      • Cancel agent action
      • Create agent action
    • Elastic Agent binary download sources
      • List agent binary download sources
      • Create agent binary download source
      • Get agent binary download source by ID
      • Update agent binary download source by ID
      • Delete agent binary download source by ID
    • Elastic Agent policies
      • List agent policies
      • Create agent policy
      • Bulk get agent policies
      • Delete agent policy by ID
      • Get agent policy by ID
      • Update agent policy by ID
      • Copy agent policy by ID
      • Download agent policy by ID
      • Get full agent policy by ID
    • Elastic Agent status
      • Get agent status summary Deprecated
      • Get agent status summary
      • Get incoming agent data
    • Elastic Agents
      • List agents
      • List agents by action ids
      • Bulk reassign agents
      • Bulk request diagnostics from agents
      • Bulk unenroll agents
      • Bulk update agent tags
      • Bulk upgrade agents
      • Delete file uploaded by agent
      • Get file uploaded by agent
      • Get agent setup info
      • Initiate agent setup
      • List agent tags
      • Get agent by ID
      • Update agent by ID
      • Delete agent by ID
      • Reassign agent
      • Reassign agent Deprecated
      • Request agent diagnostics
      • Unenroll agent
      • Upgrade agent
      • List agent uploads
    • Elastic Package Manager (EPM)
      • Bulk get assets
      • List package categories
      • List packages
      • Install by package by direct upload
      • Bulk install packages
      • Get limited package list
      • Get package stats
      • Get package
      • Install package
      • Update package settings
      • Delete package
      • Authorize transforms
      • Get package file
      • Get package Deprecated
      • Install package Deprecated
      • Delete ackage Deprecated
      • Get inputs template
      • Get package signature verification key ID
    • Fleet enrollment API keys
      • List enrollment API keys Deprecated
      • Create enrollment API key Deprecated
      • Get enrollment API key by ID Deprecated
      • Delete enrollment API key by ID Deprecated
      • List enrollment API keys
      • Create enrollment API key
      • Get enrollment API key by ID
      • Revoke enrollment API key by ID by marking it as inactive
    • Fleet internals
      • Fleet Server health check
      • Get settings
      • Update settings
      • Initiate Fleet setup
    • Fleet Kubernetes
      • Get full K8s agent manifest
    • Fleet outputs
      • Generate Logstash API key
      • List outputs
      • Create output
      • Get output by ID
      • Update output by ID
      • Delete output by ID
      • Get latest output health
    • Fleet package policies
      • List package policies
      • Create package policy
      • Bulk get package policies
      • Delete package policy
      • Upgrade package policy to a newer package version
      • Dry run package policy upgrade
      • Get package policy by ID
      • Update package policy by ID
      • Delete package policy by ID
    • Fleet proxies
      • List proxies
      • Create proxy
      • Get proxy by ID
      • Update proxy by ID
      • Delete proxy by ID
    • Fleet Server hosts
      • List Fleet Server hosts
      • Create Fleet Server host
      • Get Fleet Server host by ID
      • Update Fleet Server host by ID
      • Delete Fleet Server host by ID
    • Fleet service tokens
      • Create service token Deprecated
      • Create service token
    • Fleet uninstall tokens
      • List metadata for latest uninstall tokens per agent policy
      • Get one decrypted uninstall token by its ID
    • Logstash configuration management
      • Get a Logstash pipeline
      • Create or update a Logstash pipeline
      • Delete a Logstash pipeline
      • Get all Logstash pipelines
    • Machine learning
      • Sync saved objects in the default space
    • Maintenance windows
      • Create a maintenance window.
      • Get maintenance window details.
      • Update a maintenance window.
      • Delete a maintenance window.
      • Archive a maintenance window.
      • Unarchive a maintenance window.
    • Roles
      • Get all roles
      • Get a role
      • Create or update a role
      • Delete a role
      • Create or update roles
    • Saved objects
      • Rotate a key for encrypted saved objects
      • Create saved objects Deprecated
      • Delete saved objects Deprecated
      • Get saved objects Deprecated
      • Resolve saved objects Deprecated
      • Update saved objects Deprecated
      • Export saved objects
      • Search for saved objects Deprecated
      • Import saved objects
      • Resolve import errors
      • Resolve a saved object Deprecated
      • Create a saved object Deprecated
      • Get a saved object Deprecated
      • Create a saved object Deprecated
      • Update a saved object Deprecated
    • Security AI assistant
      • Apply a bulk action to anonymization fields
      • Get anonymization fields
      • Create a model response
      • Create a conversation
      • Delete conversations
      • Get conversations
      • Get a conversation
      • Update a conversation
      • Delete a conversation
      • Create a Knowledge Base Entry
      • Applies a bulk action to multiple Knowledge Base Entries
      • Finds Knowledge Base Entries that match the given query.
      • Read a Knowledge Base Entry
      • Update a Knowledge Base Entry
      • Deletes a single Knowledge Base Entry using the `id` field
      • Read a KnowledgeBase
      • Create a KnowledgeBase
      • Apply a bulk action to prompts
      • Get prompts
    • Security detections
      • Reads the alert index name if it exists
      • Create an alerts index
      • Delete an alerts index
      • Returns user privileges for the Kibana space
      • Retrieve a detection rule
      • Create a detection rule
      • Update a detection rule
      • Patch a detection rule
      • Delete a detection rule
      • Apply a bulk action to detection rules
      • Create multiple detection rules Deprecated
      • Delete multiple detection rules Deprecated POSTDELETE
      • Update multiple detection rules Deprecated
      • Patch multiple detection rules Deprecated
      • Export detection rules
      • List all detection rules
      • Import detection rules
      • Install prebuilt detection rules and Timelines
      • Retrieve the status of prebuilt detection rules and Timelines
      • Preview rule alerts generated on specified time range
      • Assign and unassign users from detection alerts
      • Finalize detection alert migrations Deprecated
      • Initiate a detection alert migration Deprecated
      • Clean up detection alert migrations Deprecated
      • Retrieve the status of detection alert migrations Deprecated
      • Find and/or aggregate detection alerts
      • Set a detection alert status
      • Add and remove detection alert tags
      • List all detection rule tags
    • Security Elastic Endpoint exceptions
      • Create an Elastic Endpoint rule exception list
      • Get an Elastic Endpoint rule exception list item
      • Create an Elastic Endpoint rule exception list item
      • Update an Elastic Endpoint rule exception list item
      • Delete an Elastic Endpoint exception list item
      • Get Elastic Endpoint exception list items
    • Security endpoint management
      • Get response actions
      • Run a command
      • Get a file
      • Isolate an endpoint
      • Terminate a process
      • Get running processes
      • Run a script
      • Scan a file or directory
      • Get actions state
      • Suspend a process
      • Release an isolated endpoint
      • Upload a file
      • Get action details
      • Get file information
      • Download a file
      • Get an action request log Deprecated
      • Get response actions status
      • Isolate an endpoint Deprecated
      • Get a metadata list
      • Get metadata transforms Deprecated
      • Get metadata
      • Get an agent policy summary Deprecated
      • Get a policy response
      • Get a protection updates note
      • Create or update a protection updates note
      • Get suggestions Deprecated
      • Release an isolated endpoint Deprecated
    • Security entity analytics
      • Get an asset criticality record
      • Upsert an asset criticality record
      • Delete an asset criticality record
      • Bulk upsert asset criticality records
      • List asset criticality records
      • Initialize the Entity Store
      • List the Entity Engines
      • Apply DataView indices to all installed engines
      • Get an Entity Engine
      • Delete the Entity Engine
      • Initialize an Entity Engine
      • Start an Entity Engine
      • Stop an Entity Engine
      • List Entity Store Entities
      • Get the status of the Entity Store
      • Cleanup the Risk Engine
      • Configure the Risk Engine Saved Object
      • Run the risk scoring engine
    • Security exceptions
      • Exceptions requirements
      • Create rule exception list items
      • Get exception list details
      • Create an exception list
      • Update an exception list
      • Delete an exception list
      • Duplicate an exception list
      • Export an exception list
      • Get exception lists
      • Import an exception list
      • Get an exception list item
      • Create an exception list item
      • Update an exception list item
      • Delete an exception list item
      • Get exception list items
      • Get an exception list summary
      • Create a shared exception list
    • Security lists
      • Lists requirements
      • Get list details
      • Create a list
      • Update a list
      • Patch a list
      • Delete a list
      • Get lists
      • Get status of list data streams
      • Create list data streams
      • Delete list data streams
      • Get a list item
      • Create a list item
      • Update a list item
      • Patch a list item
      • Delete a list item
      • Export list items
      • Get list items
      • Import list items
      • Get list privileges
    • Security Osquery
      • Get live queries
      • Create a live query
      • Get live query details
      • Get live query results
      • Get packs
      • Create a pack
      • Get pack details
      • Update a pack
      • Delete a pack
      • Get saved queries
      • Create a saved query
      • Get saved query details
      • Update a saved query
      • Delete a saved query
    • Security timeline
      • Get notes
      • Add or update a note
      • Delete a note
      • Pin/unpin an event
      • Get Timeline or Timeline template details
      • Create a Timeline or Timeline template
      • Update a Timeline
      • Delete Timelines or Timeline templates
      • Copies timeline or timeline template
      • Get draft Timeline or Timeline template details
      • Create a clean draft Timeline or Timeline template
      • Export Timelines
      • Favorite a Timeline or Timeline template
      • Import Timelines
      • Install prepackaged Timelines
      • Get an existing saved Timeline or Timeline template
      • Get Timelines or Timeline templates
    • Service level objectives
      • Get a paginated list of SLOs
      • Create an SLO
      • Bulk delete SLO definitions and their associated summary and rollup data.
      • Retrieve the status of the bulk deletion
      • Batch delete rollup and summary data
      • Batch delete rollup and summary data
      • Get an SLO
      • Update an SLO
      • Delete an SLO
      • Reset an SLO
      • Disable an SLO
      • Enable an SLO
      • Get the SLO definitions
    • Short URLs
      • Create a short URL
      • Resolve a short URL
      • Get a short URL
      • Delete a short URL
    • Spaces
      • Copy saved objects between spaces
      • Disable legacy URL aliases
      • Get shareable references
      • Update saved objects in spaces
      • Get all spaces
      • Create a space
      • Get a space
      • Update a space
      • Delete a space
    • Synthetics
      • Get monitors
      • Create a monitor
      • Delete monitors
      • Get a monitor
      • Update a monitor
      • Delete a monitor
      • Get parameters
      • Add parameters
      • Delete parameters
      • Get a parameter
      • Update a parameter
      • Delete a parameter
      • Get private locations
      • Create a private location
      • Get a private location
      • Update a private location
      • Delete a private location
    • System
      • Get Kibana's current status
    • Task manager
      • Get the task manager health
    • Unknown
      • Query roles
      • Resolve conflicts copying saved objects
    • Upgrade assistant
      • Batch start or resume reindexing
      • Get the batch reindex queue
      • Get the reindex status
      • Start or resume reindexing
      • Cancel reindexing
      • Get the upgrade readiness status
    • Uptime
      • Get uptime settings
      • Update uptime settings
    • User session management
      • Invalidate user sessions
Elastic logo
  • Trademarks
  • Terms of Use
  • Privacy
  • Sitemap

© 2026 Elasticsearch B.V. All Rights Reserved.

This content is available in different formats for convenience only. All original licensing terms apply.

Elasticsearch is a trademark of Elasticsearch B.V., registered in the U.S. and in other countries. Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.

Notice at Collection | Your Privacy Choices