This resource is part of the asset-centric data model.
- New projects: We recommend using the data modeling service for greater flexibility and performance.
- Existing projects: This resource remains fully supported for maintaining legacy applications.
- Storing and retrieving an entire curve with an x-y dependency. In this case, use two floating-point columns so that the integer type on the row number doesn’t restrict you.
- Storing a log based on distance or depth, with information in columns of different types for each entry. If you store the distance or depth as the row number (an integer), you may lose precision but can search for all events that occurred at a particular distance or depth.
Create a sequence
To create a sequence, define the columns. It’s optional but highly recommended to give the sequence itself anexternalId. For columns, specify an externalId and a valueType.
Example: create a sequence
Example: create a sequence
Add rows to a sequence
To add rows to a sequence, specify the sequenceid or externalId along with a list of the columns you are inserting data into. Nulls can represent missing data.
Example: insert rows
Example: insert rows
Retrieve rows from a sequence
To get the rows from a sequence, use theexternalId or the id of the sequence. Optionally, specify the columns you want to retrieve. The default is to return all columns.
Example: get the first 5 rows
Example: get the first 5 rows
endis exclusive. Even if you specify a higher limit, the request returns a maximum of five rows.- Unlike the endpoints for creating sequences and inserting rows, you can only request rows from a single sequence here.
- Rows where all column values are null/missing are skipped.
Add or modify columns
To add columns to a sequence, use the sequences update endpoint. This endpoint can also remove or modify existing columns. Data in removed columns is lost, whereas data in new columns defaults to null. You can modify the name, externalId, description, or metadata fields. To change the data type, you need to delete and recreate the column. Modification won’t affect the default ordering of columns.Example: update, remove, and add columns
Example: update, remove, and add columns
Paginate retrieved rows
When you have too many rows, use cursors to paginate through the results.Example: paginate rows
Example: paginate rows
10000 is the maximum limit per request.
cursor field changed to the value returned in nextCursor.