Metrics API - POST ingest data points

Pushes custom data points to Dynatrace.

Provided data points must follow the Metrics ingestion protocol. You don't have to register the metric first. After Dynatrace has ingested and processed the data, you can use it just like any other metrics in Dynatrace, such as in charts or metric events.

To view your ingested metrics you must use the new Explorer.

The request consumes a plain/text payload. The payload is limited to 1,000 lines.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

  • Managed https://{your-domain}/e/{your-environment-id}/api/v2/metrics/ingest
  • SaaS https://{your-environment-id}


To execute this request, you need the Ingest metrics (metrics.ingest) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.


Parameter Type Description In Required

Data points, provided in the line protocol. Each line represents a single data point.

body optional

Response codes

Code Description
202 The provided metric data points are accepted and will be processed in background.
400 Some data points are invalid. Valid data points are accepted and will be processed in background.

Response format

A successful request doesn't return any content.


With this curl command, you'll ingest the cpu.temperature metric assigned to the HOST-06F288EE2A930951 dimension.

curl  -X POST --data-ascii "cpu.temperature,,cpu=1 55" \
-H 'Authorization: Api-Token abcdefjhij1234567890' \
-H "Content-Type: text/plain; charset=utf-8" \