Containers

Get All Containers

Get all containers for your organization.

get/api/v2/containers

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/containers
  • Auth
    • API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
    • or OAuth 2
      Authorization code: /oauth2/v1/authorize
      Token URL: /oauth2/v1/token

Query parameters

filter[tags]string

Comma-separated list of tags to filter containers by.

group_bystring

Comma-separated list of tags to group containers by.

sortstring

Attribute to sort containers by.

page[size]integer

Maximum number of results returned.

page[cursor]string

String to query the next page of results. This key is provided with each valid response from the API in meta.pagination.next_cursor.

Response

OK

Example response

{
  "data": [
    {
      "type": "container"
    }
  ],
  "meta": {
    "pagination": {
      "type": "cursor_limit"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.