---
title: "Create Trace"
method: POST
path: "/api/v2/traces"
tags: ["traces"]
---

# Create Trace

`POST /api/v2/traces`

OTel Ingest v2 — passthrough endpoint.

Accepts OTLP/HTTP JSON (primary) or protobuf (fallback).
Promotes recognized Gen AI semantic conventions to typed columns.
Stores ALL remaining attributes in metadata — nothing is dropped.

## Headers

- `Authorization` string, required

## Response `200`

No response body

- TracesCreateTraceResponse200 — Empty response body

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c26d550029f8/schema)
