Create Traces
POSThttps://cloud.agenta.ai/api/observability/trace/
Create Traces
Request
- application/json
Body
required
trace Trace (string)required
spansobject[]required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
message Message (string)required
data objectrequired
{
"message": "string",
"data": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
detailobject[]
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
ResponseClear