diff --git a/content/en/api/v2/reference-tables/examples.json b/content/en/api/v2/reference-tables/examples.json index 9ba08dae0dfbc..7704a60d430a1 100644 --- a/content/en/api/v2/reference-tables/examples.json +++ b/content/en/api/v2/reference-tables/examples.json @@ -91,7 +91,7 @@ } ] }, - "html": "
data [required]
\n[object]
The reference tables.
attributes
\nobject
The definition of TableResultV2DataAttributes object.
created_by
\nstring
UUID of the user who created the reference table.
description
\nstring
The description of the reference table.
file_metadata
\n<oneOf>
The definition of TableResultV2DataAttributesFileMetadata object.
Option 1
\nobject
File metadata for reference tables created by cloud storage.
access_details
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetails object.
aws_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsAwsDetail object.
aws_account_id
\nstring
The ID of the AWS account.
aws_bucket_name
\nstring
The name of the AWS bucket.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsAzureDetail object.
azure_client_id
\nstring
The Azure client ID.
azure_container_name
\nstring
The name of the Azure container.
azure_storage_account_name
\nstring
The name of the Azure storage account.
azure_tenant_id
\nstring
The ID of the Azure tenant.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsGcpDetail object.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
The name of the GCP bucket.
gcp_project_id
\nstring
The ID of the GCP project.
gcp_service_account_email
\nstring
The email of the GCP service account.
error_message
\nstring
The error message returned from the sync.
error_row_count
\nint64
The number of rows that failed to sync.
error_type
\nenum
The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors. \nAllowed enum values: TABLE_SCHEMA_ERROR,FILE_FORMAT_ERROR,CONFIGURATION_ERROR,QUOTA_EXCEEDED,CONFLICT_ERROR,VALIDATION_ERROR,STATE_ERROR,OPERATION_ERROR,SYSTEM_ERROR
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
File metadata for reference tables created by upload.
error_message
\nstring
The error message returned from the creation/update.
error_row_count
\nint64
The number of rows that failed to create/update.
upload_id
\nstring
The upload ID that was used to create/update the table.
last_updated_by
\nstring
UUID of the user who last updated the reference table.
row_count
\nint64
The number of successfully processed rows in the reference table.
schema
\nobject
The definition of TableResultV2DataAttributesSchema object.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source
\nenum
The source type for reference table data. Includes all possible source types that can appear in responses. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE,SERVICENOW,SALESFORCE,DATABRICKS,SNOWFLAKE
status
\nstring
The status of the reference table.
table_name
\nstring
The name of the reference table.
tags
\n[string]
The tags of the reference table.
updated_at
\nstring
The timestamp of the last update to the reference table in ISO 8601 format.
id
\nstring
The ID of the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data [required]
\n[object]
The reference tables.
attributes
\nobject
Attributes that define the reference table's configuration and properties.
created_by
\nstring
UUID of the user who created the reference table.
description
\nstring
Optional text describing the purpose or contents of this reference table.
file_metadata
\n<oneOf>
Metadata specifying where and how to access the reference table's data file.
Option 1
\nobject
File metadata for reference tables created by cloud storage.
access_details [required]
\nobject
Cloud storage access configuration for the reference table data file.
aws_detail
\nobject
Amazon Web Services S3 storage access configuration.
aws_account_id
\nstring
AWS account ID where the S3 bucket is located.
aws_bucket_name
\nstring
S3 bucket containing the CSV file.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
Azure Blob Storage access configuration.
azure_client_id
\nstring
Azure service principal (application) client ID with permissions to read from the container.
azure_container_name
\nstring
Azure Blob Storage container containing the CSV file.
azure_storage_account_name
\nstring
Azure storage account where the container is located.
azure_tenant_id
\nstring
Azure Active Directory tenant ID.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
Google Cloud Platform storage access configuration.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
GCP bucket containing the CSV file.
gcp_project_id
\nstring
GCP project ID where the bucket is located.
gcp_service_account_email
\nstring
Service account email with read permissions for the GCS bucket.
error_message
\nstring
The error message returned from the sync.
error_row_count
\nint64
The number of rows that failed to sync.
error_type
\nenum
The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors. \nAllowed enum values: TABLE_SCHEMA_ERROR,FILE_FORMAT_ERROR,CONFIGURATION_ERROR,QUOTA_EXCEEDED,CONFLICT_ERROR,VALIDATION_ERROR,STATE_ERROR,OPERATION_ERROR,SYSTEM_ERROR
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
File metadata for reference tables created by upload. Note that upload_id is only returned in the immediate create/replace response and is not available in subsequent GET requests.
error_message
\nstring
The error message returned from the creation/update.
error_row_count
\nint64
The number of rows that failed to create/update.
last_updated_by
\nstring
UUID of the user who last updated the reference table.
row_count
\nint64
The number of successfully processed rows in the reference table.
schema
\nobject
Schema defining the structure and columns of the reference table.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source
\nenum
The source type for reference table data. Includes all possible source types that can appear in responses. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE,SERVICENOW,SALESFORCE,DATABRICKS,SNOWFLAKE
status
\nstring
The processing status of the table.
table_name
\nstring
Unique name to identify this reference table. Used in enrichment processors and API calls.
tags
\n[string]
Tags for organizing and filtering reference tables.
updated_at
\nstring
When the reference table was last updated, in ISO 8601 format.
id
\nstring
Unique identifier for the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The definition of TableResultV2Data object.
attributes
\nobject
The definition of TableResultV2DataAttributes object.
created_by
\nstring
UUID of the user who created the reference table.
description
\nstring
The description of the reference table.
file_metadata
\n<oneOf>
The definition of TableResultV2DataAttributesFileMetadata object.
Option 1
\nobject
File metadata for reference tables created by cloud storage.
access_details
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetails object.
aws_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsAwsDetail object.
aws_account_id
\nstring
The ID of the AWS account.
aws_bucket_name
\nstring
The name of the AWS bucket.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsAzureDetail object.
azure_client_id
\nstring
The Azure client ID.
azure_container_name
\nstring
The name of the Azure container.
azure_storage_account_name
\nstring
The name of the Azure storage account.
azure_tenant_id
\nstring
The ID of the Azure tenant.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsGcpDetail object.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
The name of the GCP bucket.
gcp_project_id
\nstring
The ID of the GCP project.
gcp_service_account_email
\nstring
The email of the GCP service account.
error_message
\nstring
The error message returned from the sync.
error_row_count
\nint64
The number of rows that failed to sync.
error_type
\nenum
The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors. \nAllowed enum values: TABLE_SCHEMA_ERROR,FILE_FORMAT_ERROR,CONFIGURATION_ERROR,QUOTA_EXCEEDED,CONFLICT_ERROR,VALIDATION_ERROR,STATE_ERROR,OPERATION_ERROR,SYSTEM_ERROR
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
File metadata for reference tables created by upload.
error_message
\nstring
The error message returned from the creation/update.
error_row_count
\nint64
The number of rows that failed to create/update.
upload_id
\nstring
The upload ID that was used to create/update the table.
last_updated_by
\nstring
UUID of the user who last updated the reference table.
row_count
\nint64
The number of successfully processed rows in the reference table.
schema
\nobject
The definition of TableResultV2DataAttributesSchema object.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source
\nenum
The source type for reference table data. Includes all possible source types that can appear in responses. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE,SERVICENOW,SALESFORCE,DATABRICKS,SNOWFLAKE
status
\nstring
The status of the reference table.
table_name
\nstring
The name of the reference table.
tags
\n[string]
The tags of the reference table.
updated_at
\nstring
The timestamp of the last update to the reference table in ISO 8601 format.
id
\nstring
The ID of the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The data object containing the reference table configuration and state.
attributes
\nobject
Attributes that define the reference table's configuration and properties.
created_by
\nstring
UUID of the user who created the reference table.
description
\nstring
Optional text describing the purpose or contents of this reference table.
file_metadata
\n<oneOf>
Metadata specifying where and how to access the reference table's data file.
Option 1
\nobject
File metadata for reference tables created by cloud storage.
access_details [required]
\nobject
Cloud storage access configuration for the reference table data file.
aws_detail
\nobject
Amazon Web Services S3 storage access configuration.
aws_account_id
\nstring
AWS account ID where the S3 bucket is located.
aws_bucket_name
\nstring
S3 bucket containing the CSV file.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
Azure Blob Storage access configuration.
azure_client_id
\nstring
Azure service principal (application) client ID with permissions to read from the container.
azure_container_name
\nstring
Azure Blob Storage container containing the CSV file.
azure_storage_account_name
\nstring
Azure storage account where the container is located.
azure_tenant_id
\nstring
Azure Active Directory tenant ID.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
Google Cloud Platform storage access configuration.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
GCP bucket containing the CSV file.
gcp_project_id
\nstring
GCP project ID where the bucket is located.
gcp_service_account_email
\nstring
Service account email with read permissions for the GCS bucket.
error_message
\nstring
The error message returned from the sync.
error_row_count
\nint64
The number of rows that failed to sync.
error_type
\nenum
The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors. \nAllowed enum values: TABLE_SCHEMA_ERROR,FILE_FORMAT_ERROR,CONFIGURATION_ERROR,QUOTA_EXCEEDED,CONFLICT_ERROR,VALIDATION_ERROR,STATE_ERROR,OPERATION_ERROR,SYSTEM_ERROR
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
File metadata for reference tables created by upload. Note that upload_id is only returned in the immediate create/replace response and is not available in subsequent GET requests.
error_message
\nstring
The error message returned from the creation/update.
error_row_count
\nint64
The number of rows that failed to create/update.
last_updated_by
\nstring
UUID of the user who last updated the reference table.
row_count
\nint64
The number of successfully processed rows in the reference table.
schema
\nobject
Schema defining the structure and columns of the reference table.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source
\nenum
The source type for reference table data. Includes all possible source types that can appear in responses. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE,SERVICENOW,SALESFORCE,DATABRICKS,SNOWFLAKE
status
\nstring
The processing status of the table.
table_name
\nstring
Unique name to identify this reference table. Used in enrichment processors and API calls.
tags
\n[string]
Tags for organizing and filtering reference tables.
updated_at
\nstring
When the reference table was last updated, in ISO 8601 format.
id
\nstring
Unique identifier for the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The definition of CreateTableRequestData object.
attributes
\nobject
The definition of CreateTableRequestDataAttributes object.
description
\nstring
The description of the reference table.
file_metadata
\n<oneOf>
The definition of CreateTableRequestDataAttributesFileMetadata object.
Option 1
\nobject
Cloud storage file metadata for create requests. Both access_details and sync_enabled are required.
access_details [required]
\nobject
The definition of CreateTableRequestDataAttributesFileMetadataOneOfAccessDetails object.
aws_detail
\nobject
The definition of CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail object.
aws_account_id [required]
\nstring
The ID of the AWS account.
aws_bucket_name [required]
\nstring
The name of the Amazon S3 bucket.
file_path [required]
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
The definition of CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail object.
azure_client_id [required]
\nstring
The Azure client ID.
azure_container_name [required]
\nstring
The name of the Azure container.
azure_storage_account_name [required]
\nstring
The name of the Azure storage account.
azure_tenant_id [required]
\nstring
The ID of the Azure tenant.
file_path [required]
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
The definition of CreateTableRequestDataAttributesFileMetadataOneOfAccessDetailsGcpDetail object.
file_path [required]
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name [required]
\nstring
The name of the GCP bucket.
gcp_project_id [required]
\nstring
The ID of the GCP project.
gcp_service_account_email [required]
\nstring
The email of the GCP service account.
sync_enabled [required]
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
Local file metadata for create requests using the upload ID.
upload_id [required]
\nstring
The upload ID.
schema [required]
\nobject
The definition of CreateTableRequestDataAttributesSchema object.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source [required]
\nenum
The source type for creating reference table data. Only these source types can be created through this API. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE
table_name [required]
\nstring
The name of the reference table.
tags
\n[string]
The tags of the reference table.
id
\nstring
The ID of the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The data object containing the table definition.
attributes
\nobject
Attributes that define the reference table's configuration and properties.
description
\nstring
Optional text describing the purpose or contents of this reference table.
file_metadata
\n<oneOf>
Metadata specifying where and how to access the reference table's data file.
Option 1
\nobject
Cloud storage file metadata for create requests. Both access_details and sync_enabled are required.
access_details [required]
\nobject
Cloud storage access configuration for the reference table data file.
aws_detail
\nobject
Amazon Web Services S3 storage access configuration.
aws_account_id [required]
\nstring
AWS account ID where the S3 bucket is located.
aws_bucket_name [required]
\nstring
S3 bucket containing the CSV file.
file_path [required]
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
Azure Blob Storage access configuration.
azure_client_id [required]
\nstring
Azure service principal (application) client ID with permissions to read from the container.
azure_container_name [required]
\nstring
Azure Blob Storage container containing the CSV file.
azure_storage_account_name [required]
\nstring
Azure storage account where the container is located.
azure_tenant_id [required]
\nstring
Azure Active Directory tenant ID.
file_path [required]
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
Google Cloud Platform storage access configuration.
file_path [required]
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name [required]
\nstring
GCP bucket containing the CSV file.
gcp_project_id [required]
\nstring
GCP project ID where the bucket is located.
gcp_service_account_email [required]
\nstring
Service account email with read permissions for the GCS bucket.
sync_enabled [required]
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
Local file metadata for create requests using the upload ID.
upload_id [required]
\nstring
The upload ID.
schema [required]
\nobject
Schema defining the structure and columns of the reference table.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source [required]
\nenum
The source type for creating reference table data. Only these source types can be created through this API. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE
table_name [required]
\nstring
Name to identify this reference table.
tags
\n[string]
Tags for organizing and filtering reference tables.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The definition of TableResultV2Data object.
attributes
\nobject
The definition of TableResultV2DataAttributes object.
created_by
\nstring
UUID of the user who created the reference table.
description
\nstring
The description of the reference table.
file_metadata
\n<oneOf>
The definition of TableResultV2DataAttributesFileMetadata object.
Option 1
\nobject
File metadata for reference tables created by cloud storage.
access_details
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetails object.
aws_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsAwsDetail object.
aws_account_id
\nstring
The ID of the AWS account.
aws_bucket_name
\nstring
The name of the AWS bucket.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsAzureDetail object.
azure_client_id
\nstring
The Azure client ID.
azure_container_name
\nstring
The name of the Azure container.
azure_storage_account_name
\nstring
The name of the Azure storage account.
azure_tenant_id
\nstring
The ID of the Azure tenant.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
The definition of TableResultV2DataAttributesFileMetadataOneOfAccessDetailsGcpDetail object.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
The name of the GCP bucket.
gcp_project_id
\nstring
The ID of the GCP project.
gcp_service_account_email
\nstring
The email of the GCP service account.
error_message
\nstring
The error message returned from the sync.
error_row_count
\nint64
The number of rows that failed to sync.
error_type
\nenum
The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors. \nAllowed enum values: TABLE_SCHEMA_ERROR,FILE_FORMAT_ERROR,CONFIGURATION_ERROR,QUOTA_EXCEEDED,CONFLICT_ERROR,VALIDATION_ERROR,STATE_ERROR,OPERATION_ERROR,SYSTEM_ERROR
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
File metadata for reference tables created by upload.
error_message
\nstring
The error message returned from the creation/update.
error_row_count
\nint64
The number of rows that failed to create/update.
upload_id
\nstring
The upload ID that was used to create/update the table.
last_updated_by
\nstring
UUID of the user who last updated the reference table.
row_count
\nint64
The number of successfully processed rows in the reference table.
schema
\nobject
The definition of TableResultV2DataAttributesSchema object.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source
\nenum
The source type for reference table data. Includes all possible source types that can appear in responses. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE,SERVICENOW,SALESFORCE,DATABRICKS,SNOWFLAKE
status
\nstring
The status of the reference table.
table_name
\nstring
The name of the reference table.
tags
\n[string]
The tags of the reference table.
updated_at
\nstring
The timestamp of the last update to the reference table in ISO 8601 format.
id
\nstring
The ID of the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The data object containing the reference table configuration and state.
attributes
\nobject
Attributes that define the reference table's configuration and properties.
created_by
\nstring
UUID of the user who created the reference table.
description
\nstring
Optional text describing the purpose or contents of this reference table.
file_metadata
\n<oneOf>
Metadata specifying where and how to access the reference table's data file.
Option 1
\nobject
File metadata for reference tables created by cloud storage.
access_details [required]
\nobject
Cloud storage access configuration for the reference table data file.
aws_detail
\nobject
Amazon Web Services S3 storage access configuration.
aws_account_id
\nstring
AWS account ID where the S3 bucket is located.
aws_bucket_name
\nstring
S3 bucket containing the CSV file.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
Azure Blob Storage access configuration.
azure_client_id
\nstring
Azure service principal (application) client ID with permissions to read from the container.
azure_container_name
\nstring
Azure Blob Storage container containing the CSV file.
azure_storage_account_name
\nstring
Azure storage account where the container is located.
azure_tenant_id
\nstring
Azure Active Directory tenant ID.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
Google Cloud Platform storage access configuration.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
GCP bucket containing the CSV file.
gcp_project_id
\nstring
GCP project ID where the bucket is located.
gcp_service_account_email
\nstring
Service account email with read permissions for the GCS bucket.
error_message
\nstring
The error message returned from the sync.
error_row_count
\nint64
The number of rows that failed to sync.
error_type
\nenum
The type of error that occurred during file processing. This field provides high-level error categories for easier troubleshooting and is only present when there are errors. \nAllowed enum values: TABLE_SCHEMA_ERROR,FILE_FORMAT_ERROR,CONFIGURATION_ERROR,QUOTA_EXCEEDED,CONFLICT_ERROR,VALIDATION_ERROR,STATE_ERROR,OPERATION_ERROR,SYSTEM_ERROR
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
File metadata for reference tables created by upload. Note that upload_id is only returned in the immediate create/replace response and is not available in subsequent GET requests.
error_message
\nstring
The error message returned from the creation/update.
error_row_count
\nint64
The number of rows that failed to create/update.
last_updated_by
\nstring
UUID of the user who last updated the reference table.
row_count
\nint64
The number of successfully processed rows in the reference table.
schema
\nobject
Schema defining the structure and columns of the reference table.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
source
\nenum
The source type for reference table data. Includes all possible source types that can appear in responses. \nAllowed enum values: LOCAL_FILE,S3,GCS,AZURE,SERVICENOW,SALESFORCE,DATABRICKS,SNOWFLAKE
status
\nstring
The processing status of the table.
table_name
\nstring
Unique name to identify this reference table. Used in enrichment processors and API calls.
tags
\n[string]
Tags for organizing and filtering reference tables.
updated_at
\nstring
When the reference table was last updated, in ISO 8601 format.
id
\nstring
Unique identifier for the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The definition of PatchTableRequestData object.
attributes
\nobject
The definition of PatchTableRequestDataAttributes object.
description
\nstring
The description of the reference table.
file_metadata
\n<oneOf>
The definition of PatchTableRequestDataAttributesFileMetadata object.
Option 1
\nobject
Cloud storage file metadata for patch requests. Allows partial updates of access_details and sync_enabled.
access_details
\nobject
The definition of PatchTableRequestDataAttributesFileMetadataOneOfAccessDetails object.
aws_detail
\nobject
The definition of PatchTableRequestDataAttributesFileMetadataOneOfAccessDetailsAwsDetail object.
aws_account_id
\nstring
The ID of the AWS account.
aws_bucket_name
\nstring
The name of the AWS bucket.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
The definition of PatchTableRequestDataAttributesFileMetadataOneOfAccessDetailsAzureDetail object.
azure_client_id
\nstring
The Azure client ID.
azure_container_name
\nstring
The name of the Azure container.
azure_storage_account_name
\nstring
The name of the Azure storage account.
azure_tenant_id
\nstring
The ID of the Azure tenant.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
The definition of PatchTableRequestDataAttributesFileMetadataOneOfAccessDetailsGcpDetail object.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
The name of the GCP bucket.
gcp_project_id
\nstring
The ID of the GCP project.
gcp_service_account_email
\nstring
The email of the GCP service account.
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
Local file metadata for patch requests using upload ID.
upload_id [required]
\nstring
The upload ID.
schema
\nobject
The definition of PatchTableRequestDataAttributesSchema object.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.
sync_enabled
\nboolean
Whether this table is synced automatically.
tags
\n[string]
The tags of the reference table.
id
\nstring
The ID of the reference table.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data
\nobject
The data object containing the partial table definition updates.
attributes
\nobject
Attributes that define the updates to the reference table's configuration and properties.
description
\nstring
Optional text describing the purpose or contents of this reference table.
file_metadata
\n<oneOf>
Metadata specifying where and how to access the reference table's data file.
Option 1
\nobject
Cloud storage file metadata for patch requests. Allows partial updates of access_details and sync_enabled.
access_details
\nobject
Cloud storage access configuration for the reference table data file.
aws_detail
\nobject
Amazon Web Services S3 storage access configuration.
aws_account_id
\nstring
AWS account ID where the S3 bucket is located.
aws_bucket_name
\nstring
S3 bucket containing the CSV file.
file_path
\nstring
The relative file path from the S3 bucket root to the CSV file.
azure_detail
\nobject
Azure Blob Storage access configuration.
azure_client_id
\nstring
Azure service principal (application) client ID with permissions to read from the container.
azure_container_name
\nstring
Azure Blob Storage container containing the CSV file.
azure_storage_account_name
\nstring
Azure storage account where the container is located.
azure_tenant_id
\nstring
Azure Active Directory tenant ID.
file_path
\nstring
The relative file path from the Azure container root to the CSV file.
gcp_detail
\nobject
Google Cloud Platform storage access configuration.
file_path
\nstring
The relative file path from the GCS bucket root to the CSV file.
gcp_bucket_name
\nstring
GCP bucket containing the CSV file.
gcp_project_id
\nstring
GCP project ID where the bucket is located.
gcp_service_account_email
\nstring
Service account email with read permissions for the GCS bucket.
sync_enabled
\nboolean
Whether this table is synced automatically.
Option 2
\nobject
Local file metadata for patch requests using upload ID.
upload_id [required]
\nstring
The upload ID.
schema
\nobject
Schema defining the updates to the structure and columns of the reference table. Schema fields cannot be deleted or renamed.
fields [required]
\n[object]
The schema fields.
name [required]
\nstring
The field name.
type [required]
\nenum
The field type for reference table schema fields. \nAllowed enum values: STRING,INT32
primary_keys [required]
\n[string]
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows. Primary keys cannot be changed after table creation.
sync_enabled
\nboolean
Whether this table is synced automatically.
tags
\n[string]
Tags for organizing and filtering reference tables.
type [required]
\nenum
Reference table resource type. \nAllowed enum values: reference_table
default: reference_table
data [required]
\n[object]
The rows.
attributes
\nobject
The definition of TableRowResourceDataAttributes object.
values
\nobject
The values of the row.
id
\nstring
The ID of the row.
type [required]
\nenum
Row resource type. \nAllowed enum values: row
default: row
data [required]
\n[object]
The rows.
attributes
\nobject
Column values for this row in the reference table.
values
\nobject
Key-value pairs representing the row data, where keys are field names from the schema.
id
\nstring
Row identifier, corresponding to the primary key value.
type [required]
\nenum
Row resource type. \nAllowed enum values: row
default: row
data
\nobject
The definition of CreateUploadResponseData object.
attributes
\nobject
The definition of CreateUploadResponseDataAttributes object.
part_urls
\n[string]
The URLs of the parts in the upload.
id
\nstring
The ID of the upload.
type [required]
\nenum
Upload resource type. \nAllowed enum values: upload
default: upload
data
\nobject
Upload ID and attributes of the created upload.
attributes
\nobject
Pre-signed URLs for uploading parts of the file.
part_urls
\n[string]
The pre-signed URLs for uploading parts. These URLs expire after 5 minutes.
id
\nstring
Unique identifier for this upload. Use this ID when creating the reference table.
type [required]
\nenum
Upload resource type. \nAllowed enum values: upload
default: upload
data
\nobject
The definition of CreateUploadRequestData object.
attributes
\nobject
The definition of CreateUploadRequestDataAttributes object.
headers [required]
\n[string]
The headers of the file to upload.
part_count [required]
\nint32
The number of parts in the upload.
part_size [required]
\nint64
The size of each part in the upload in bytes. For multipart uploads (part_count > 1), all parts except the last one must be at least 5,000,000 bytes. For single-part uploads (part_count = 1), any size is allowed.
table_name [required]
\nstring
The name of the reference table.
id
\nstring
The ID of the upload.
type [required]
\nenum
Upload resource type. \nAllowed enum values: upload
default: upload
data
\nobject
Request data for creating an upload for a file to be ingested into a reference table.
attributes
\nobject
Upload configuration specifying how data is uploaded by the user, and properties of the table to associate the upload with.
headers [required]
\n[string]
The CSV file headers that define the schema fields, provided in the same order as the columns in the uploaded file.
part_count [required]
\nint32
Number of parts to split the file into for multipart upload.
part_size [required]
\nint64
The size of each part in the upload in bytes. All parts except the last one must be at least 5,000,000 bytes.
table_name [required]
\nstring
Name of the table to associate with this upload.
type [required]
\nenum
Upload resource type. \nAllowed enum values: upload
default: upload