Apply table schema

Beta

Current TraceDB v1 product route. This OpenAPI artifact is generated from the checked-in route manifest.

Authentication

AuthorizationBearer

Required by gateway-managed routes; direct local engine development can use any token.

Headers

Idempotency-KeystringOptional

Optional local data-dir replay key scoped by method and path. Receipts are WAL/checkpoint-backed in the local engine. same key plus same raw request body replays the first successful response; same key with a different body returns 409 Conflict.

Request

This endpoint expects an object.
namestringOptional
primary_id_columnstringOptional
scalar_columnslist of stringsOptional
tenant_id_columnstringOptional
text_indexed_columnslist of stringsOptional
vector_columnslist of maps from strings to anyOptional

Response

Successful TraceDB response.
epochintegerOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error