Skip to main content
POST
Ingest trace data as logs. This endpoint allows you to convert trace data into log format for storage and analysis using the universal input/output design.

Universal input/output support

This endpoint accepts logs with:
  • input: Any JSON-serializable structure (string, object, array)
  • output: Any JSON-serializable structure (string, object, array)
  • log_type: Determines how input/output are interpreted ("chat", "embedding", "workflow", "task", etc.)
The system automatically extracts type-specific fields based on the log_type. See log types for complete specifications and the Create Log documentation for all field details.

Authentication

All endpoints require API key authentication:

Request body

The request body should be an array of log objects. Each log object should contain trace and span information.

Examples

Response

200 OK