Common Elements
Authentication
All API requests require a bearer token in the Authorization header:Response Headers
Many APIs return these common headers:Content-Type: Typicallyapplication/json; charset=utf-8orapplication/x-ndjson; charset=utf-8Delta-Table-Version: Table version number (for table-related APIs)
Pagination
List APIs support pagination with two query parameters:Maximum number of results per page. Must be non-negative. Zero returns no results but may populate
nextPageToken.Token from previous response’s
nextPageToken to fetch the next page.Servers may return fewer items than
maxResults even if more are available. Always check for nextPageToken in the response.Error Responses
All APIs use consistent error responses:400: Malformed request401: Unauthenticated (missing/incorrect token)403: Forbidden404: Resource not found500: Server error
List Shares
List all shares accessible to a recipient.Array of share objects (may be empty or missing when no results found)
Token for fetching next page (empty or missing if no more results)
Get Share
Retrieve metadata for a specific share.Share name (case-insensitive)
List Schemas in a Share
List all schemas within a share.Share name (case-insensitive)
List Tables in a Schema
List all tables within a specific schema.Share name (case-insensitive)
Schema name (case-insensitive)
Root directory where delta log exists (required if server supports
dir access)Additional storage locations for table files
Supported access modes:
["url"], ["dir"], or ["url", "dir"]List All Tables in a Share
List all tables across all schemas in a share.Query Table Version
Get table version without additional metadata (lightweight operation for cache validation).Timestamp in ISO 8601 format (e.g.,
2022-01-01T00:00:00Z). Returns earliest table version at or after this timestamp.Query Table Metadata
Retrieve table schema and metadata.Capabilities header (e.g.,
responseformat=delta;readerfeatures=deletionvectors)- Line 1: Protocol wrapper object
- Line 2: Metadata wrapper object
Read Data from a Table
Query table data with optional filtering and time travel.SQL boolean expressions for filtering (best effort). See SQL Expressions.
JSON-formatted predicates (preferred over predicateHints). See JSON Predicates.
Hint for row limit (best effort)
Table version for time travel (requires history sharing)
Timestamp for time travel in ISO 8601 format (requires history sharing)
Return data change files since this version (inclusive)
Hint to avoid returning files after this version (used with startingVersion)
- Line 1: Protocol wrapper
- Line 2: Metadata wrapper
- Lines 3+: File wrapper objects
Read Change Data Feed
Query change data feed (CDF) for a table.Starting version (inclusive)
Starting timestamp in ISO 8601 format
Ending version (inclusive)
Ending timestamp in ISO 8601 format
Return historical metadata for schema compatibility checks
CDF responses include metadata columns:
_change_type (insert, update_preimage, update_postimage, delete), _commit_version, and _commit_timestamp.Generate Temporary Table Credential
Get temporary cloud credentials for directory-based access.Storage location to generate credentials for. If omitted, returns credentials for table’s main location. Must be called for root location and all auxiliary locations.
Directory the credentials grant read access to
Expiration timestamp in epoch milliseconds
AWS temporary credentials (STS)
Azure SAS token
GCP OAuth token
Only one of
awsTempCredentials, azureUserDelegationSas, or gcpOauthToken will be present.Timestamp Format
All timestamp parameters must use ISO 8601 format in UTC timezone:Next Steps
Response Format
Understand API response structures
Filtering
Learn about data filtering