Skip to main content

Data structure

  • Base, that is, an AI Table document.
    • baseId uniquely identifies an AI Table document. You can obtain baseId in the following ways.
  • Sheet (the table). An AI Table document usually contains multiple tables, and must contain at least one table.
    • All APIs that need to access a sheet can use either sheetId or sheetName as the input parameter.
    • You can obtain sheetId by calling the Get all tables API.

Note

sheetId is unique only within the document and is not globally unique.
  • sheetName is the sheet name visible on the front end, such as Task management in the figure below.
  • Field. Each column in a table is a field, and a table usually contains multiple fields.
    • All APIs that need to access a field can use either fieldId or fieldName as the input parameter.
    • You can obtain fieldId by calling the Get all fields API.

Note

fieldId is unique only within the document and is not globally unique.
  • fieldName is the field name visible on the front end, such as Priority in the figure below.
  • The first column of each sheet is the “primary field”. It supports only specific field types and cannot be deleted. To view the supported field types:
    • Open any AI Table.
    • Edit the primary field.
    • View the configurable field types.
  • Record. Each row in a table is a record, and a table usually contains multiple records.
    • All APIs that need to access a record must use recordId.
    • You can obtain recordId by calling APIs such as Insert records or List records.

Note

recordId is unique only within the document and is not globally unique.

Field attributes

The field attribute area is shown in the figure below. For the attributes supported by different field types, refer to the following table.

Record value format

The record value (also known as field value) display is shown in the figure below. For the formats used by different field types, refer to the following table.