Metrics

Search metrics

Note: This endpoint is deprecated. Use /api/v2/metrics instead.

Search for metrics from the last 24 hours in Datadog.

get/api/v1/search

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/search
  • 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 scopes: metrics_read

Query parameters

qstring required

Query string to search metrics upon. Can optionally be prefixed with metrics:.

Response

OK

Changes

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