Get Or Create Table
Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.
Path Parameters
The table's name or unique identifier for targeting specific table operations.
Request Body
application/json
Schema defining the structure of the table
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/tables/string" \ -H "Content-Type: application/json" \ -d '{ "schema": {} }'{ "table": { "id": "string", "name": "string", "factor": 1, "frozen": true, "keyColumn": "string", "schema": { "$schema": "string", "properties": { "property1": { "type": "string", "format": "date-time", "description": "string", "pattern": "string", "enum": [ "string" ], "items": { "type": "string" }, "nullable": true, "properties": { "property1": { "type": "string" }, "property2": { "type": "string" } }, "x-zui": { "index": 0, "id": "string", "searchable": true, "hidden": true, "order": 0, "width": 0, "schemaId": "string", "computed": { "action": "ai", "dependencies": [], "prompt": "string", "code": "string", "model": "gpt-4o", "workflowId": "string", "enabled": true }, "typings": "string" } }, "property2": { "type": "string", "format": "date-time", "description": "string", "pattern": "string", "enum": [ "string" ], "items": { "type": "string" }, "nullable": true, "properties": { "property1": { "type": "string" }, "property2": { "type": "string" } }, "x-zui": { "index": 0, "id": "string", "searchable": true, "hidden": true, "order": 0, "width": 0, "schemaId": "string", "computed": { "action": "ai", "dependencies": [], "prompt": "string", "code": "string", "model": "gpt-4o", "workflowId": "string", "enabled": true }, "typings": "string" } } }, "additionalProperties": true, "required": [ "string" ], "type": "object" }, "tags": { "property1": "string", "property2": "string" }, "isComputeEnabled": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "created": true, "rows": 0, "stale": 0, "indexing": 0}{ "table": { "id": "string", "name": "string", "factor": 1, "frozen": true, "keyColumn": "string", "schema": { "$schema": "string", "properties": { "property1": { "type": "string", "format": "date-time", "description": "string", "pattern": "string", "enum": [ "string" ], "items": { "type": "string" }, "nullable": true, "properties": { "property1": { "type": "string" }, "property2": { "type": "string" } }, "x-zui": { "index": 0, "id": "string", "searchable": true, "hidden": true, "order": 0, "width": 0, "schemaId": "string", "computed": { "action": "ai", "dependencies": [], "prompt": "string", "code": "string", "model": "gpt-4o", "workflowId": "string", "enabled": true }, "typings": "string" } }, "property2": { "type": "string", "format": "date-time", "description": "string", "pattern": "string", "enum": [ "string" ], "items": { "type": "string" }, "nullable": true, "properties": { "property1": { "type": "string" }, "property2": { "type": "string" } }, "x-zui": { "index": 0, "id": "string", "searchable": true, "hidden": true, "order": 0, "width": 0, "schemaId": "string", "computed": { "action": "ai", "dependencies": [], "prompt": "string", "code": "string", "model": "gpt-4o", "workflowId": "string", "enabled": true }, "typings": "string" } } }, "additionalProperties": true, "required": [ "string" ], "type": "object" }, "tags": { "property1": "string", "property2": "string" }, "isComputeEnabled": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "created": true, "rows": 0, "stale": 0, "indexing": 0}Find Table Rows POST
Enables the search and filtering of rows within a table based on specific criteria. This operation supports complex queries for advanced data manipulation and retrieval.
Get Table GET
Retrieves detailed information about a specific table, identified by its name or unique identifier.