---
title: "Get hourly usage for observability pipelines"
method: GET
path: "/api/v2/usage/observability_pipelines"
tags: ["Usage Metering"]
deprecated: true
---

# Get hourly usage for observability pipelines

`GET /api/v2/usage/observability_pipelines`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/usage/observability_pipelines`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `usage_read`

> **Deprecated.**

Get hourly usage for observability pipelines.
**Note:** This endpoint has been deprecated. Hourly usage data for all products is now available in the [Get hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)

## Query parameters

- `start_hr` string, date-time, required
- `end_hr` string, date-time

## Response `200`

OK

- UsageObservabilityPipelinesResponse: Observability Pipelines usage response.
  - `data` UsageDataObject[]: Response containing Observability Pipelines usage.
    - `attributes` UsageAttributesObject: Usage attributes data.
      - `org_name` string: The organization name.
      - `product_family` string: The product for which usage is being reported.
      - `public_id` string: The organization public ID.
      - `region` string: The region of the Datadog instance that the organization belongs to.
      - `timeseries` UsageTimeSeriesObject[]: List of usage data reported for each requested hour.
        - `timestamp` string, date-time: Datetime in ISO-8601 format, UTC. The hour for the usage.
        - `value` integer, nullable: Contains the number measured for the given usage_type during the hour.
      - `usage_type` 'app_sec_host_count' | 'observability_pipelines_bytes_processed' | 'lambda_traced_invocations_count': Usage type that is being measured.
    - `id` string: Unique ID of the response.
    - `type` 'usage_timeseries': Type of usage data.

## Other responses

- `400`: Bad Request
- `403`: Forbidden - User is not authorized
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
