Infer schema from a CSV file
Uploads a CSV file and returns the inferred Arrow schema, detected domain-eligible fields (columns with a small set of distinct values), and the row count. Use this before `CreateTable` to preview and adjust the schema. **Required scope:** `tables:modify`
Authorization
BearerAuth Security scheme for OpenAPI endpoints. Validates both JWT tokens and API keys.
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/tables/infer" \ -F file="string"{ "schema": { "fields": [ { "name": "id", "data_type": "Int64", "nullable": false, "dict_id": 0, "dict_is_ordered": false, "metadata": {} }, { "name": "name", "data_type": "Utf8", "nullable": true, "dict_id": 0, "dict_is_ordered": false, "metadata": {} } ], "metadata": {} }, "fieldsWithDomains": { "property1": [ "string" ], "property2": [ "string" ] }, "length": 0, "hasHeader": true, "delimiter": "string"}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}{ "code": "string", "message": "string", "request_id": "string", "details": [ { "field": "string", "message": "string" } ]}Check if an enum value is in use
Scans the table to determine whether a specific fixed-domain (enum) value is referenced by any rows. Call this before removing a domain value to avoid creating orphaned references. **Required scope:** `tables:read`
Resolve a Delta metadata UUID to a fully-qualified table name
Looks up a table by its stable Delta protocol `metaData.id` UUID. This UUID survives rename and move operations, making it ideal for shareable table links. **Required scope:** `tables:read`