Delete traces in bulk
Changed onDelete traces matching a non-empty filter object. The endpoint resolves at most 1,000 trace IDs per request; requests matching more are rejected with 422. Use the query parameters for the canonical environment and time window; the same fields in the body only narrow that window. Only the documented filter fields and metadata__<key> are supported. Unknown fields and invalid operators return 400 before anything is deleted. ClickHouse deletion is asynchronous, so success_count and deleted_count report traces submitted for deletion, not confirmation that every row has already disappeared. Rate limit: 10 requests per minute per organization and exact endpoint path for API-key calls (shared across API keys), and per user and exact endpoint path for JWT calls.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/traces/bulk/
- Auth
- HTTP bearer
- or HTTP bearer
Query parameters
Start of time range (ISO 8601). Defaults to one hour before end_time when omitted.
End of time range (ISO 8601). Defaults to now when omitted.
Filter by environment.
Request body
Example request
{
"filters": {
"customer_identifier": {
"operator": "",
"value": [
"customer-123"
]
}
}
}Response
Traces were matched and submitted for asynchronous deletion.
Example response
{
"success_count": 1,
"error_count": 0,
"errors": []
}Changes
- breaking
request body became required
- breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the
//request property's minItems was increased to1 - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
api operation id
traces_bulkDeleteTracesremoved and replaced withbulkDeleteTraces - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Tracesadded - info
api tag
tracesremoved - info
added
subschema #2to the response bodyallOflist for the response status
- breaking
- breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
removed the enum value
isof the request property// - breaking
the response's body type changed from no type to
objectfor status - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
the
request property default value changed fromisto - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
added the new
enum value to the request property// - info
removed the non-success response with the status
- info
added the required property
to the response with the status
- breaking