getOrCreateTable
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.
Body
Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed.
The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1.
1 <= x <= 30
A table designated as "frozen" is immutable in terms of its name and schema structure; modifications to its schema or a renaming operation are not permitted. The only action that can be taken on such a table is deletion. The schema established at the time of creation is locked in as the final structure. To implement any changes, the table must be duplicated with the desired alterations.
Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs.
Indicates if the table is enabled for computation.
Response
Flag indicating if the table was newly created.
The total number of rows present in the table.
The number of stale rows that are waiting to be processed
The number of rows that are waiting to be indexed (for search)
Was this page helpful?