---
title: "OTLP logs ingest"
method: POST
path: "/v1/logs"
tags: ["OTLP Ingest"]
---

# OTLP logs ingest

`POST /v1/logs`

## Request

- Base URL: `https://agent.getaxonflow.com`
- URL: `https://agent.getaxonflow.com/v1/logs`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/docs/v1/logs/post.ts> (a function with typed inputs; its response is checked against the schema)

OTLP/HTTP `ExportLogsServiceRequest` ingest for Claude Code
telemetry. Same content-type, auth, edition, and error semantics as
`POST /v1/metrics`.

## Headers

- `Authorization` string, required

## Request body

- object

## Response `200`

OTLP export response (matching request content type)

## Other responses

- `400`: Malformed OTLP payload
- `401`: Missing or invalid authentication. Handler-written 401s use the `{success, error}` envelope; 401s written by the auth middleware use the `{"error": {"code", "message"}}` envelope (JSONError).
- `415`: Unsupported Content-Type
- `501`: Cowork OTLP ingest is not in this deployment's plane set: the Community build, and the Enterprise build in a core-only deployment mode (community, evaluation, community-saas). Both answer the same body.

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/revisions/34d30fcb7fa1?raw)
