How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Dynatrace Logs API

Operations for ingesting, searching, aggregating, and exporting log records

Dynatrace Logs API is one of 34 APIs that Dynatrace publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 106 JSON Schema definitions.

Tagged areas include Logs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a getting-started guide, an AsyncAPI specification, and 106 JSON Schemas.

This API exposes 4 operations across 4 paths, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against a single base URL, https://{environmentId}.live.dynatrace.com/api/v2.

4 operations 4 paths 9 schemas 3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://mySampleEnv.live.dynatrace.com/api/v2
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Dynatrace Logs API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (api-token). By default, every request must be authenticated.

  • api-token — Dynatrace API token. Use the format: Api-Token {your-token} Required scopes: logs.read (for GET operations), logs.ingest (for POST /logs/ingest)

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Logs 4

Operations for ingesting, searching, aggregating, and exporting log records

GET
/logs/search
Dynatrace Search Log Records
searchLogs 7 params → 200400401403
POST
/logs/ingest
Dynatrace Ingest Log Records
ingestLogs body → 204400401403
GET
/logs/aggregate
Dynatrace Aggregate Log Records
aggregateLogs 5 params → 200400401403
GET
/logs/export
Dynatrace Export Log Records
exportLogs 7 params → 200400401403

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are LogRecord (6 properties), LogIngestRecord (5 properties), ConstraintViolation (4 properties), Error (3 properties). Each schema is shown below with its type and property counts.

Error
object
Details of an API error.
3 properties
LogRecordSearchResult
object
The result of a log search query.
2 properties
LogExportResult
object
The result of a log export operation, containing a page of records.
2 properties
LogAggregateGroup
object
A single aggregation group result.
2 properties
LogRecord
object
A log record retrieved from the Dynatrace Grail data lakehouse. Contains the original log content plus enriched metadata added by Dynatrace during ingestion an…
6 properties
ConstraintViolation
object
Details of a single constraint violation in a request.
4 properties
ErrorEnvelope
object
Error response envelope returned when a request fails.
1 property
LogIngestRecord
object
A single log record to ingest into the Dynatrace Grail data lakehouse. The content field is required. Additional fields provide context for routing, filtering,…
5 properties 1 required
LogAggregateResult
object
The result of a log aggregation query.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

dynatrace-logs-api-openapi.yml Raw ↑

Other APIs Dynatrace publishes across the network.

Dynatrace Environment API
Dynatrace Synthetic API v2
Dynatrace Configuration API
Dynatrace OpenPipeline API
Dynatrace Automation API
Dynatrace Settings API 2.0
Dynatrace Extensions API 2.0
Dynatrace DQL/Grail Query API
Dynatrace Access Tokens API v2
Dynatrace Service-Level Objectives API
Dynatrace Releases API
Dynatrace Network Zones API
Where this information came from

This is an independent, third-party profile of Dynatrace Logs API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.