Skip to main content
POST
/
sequences
/
data
/
latest
Python SDK
res = client.sequences.data.retrieve_last_row(id=1, before=1000)
res = client.sequences.data.retrieve_last_row(id=1, before=1000)
{
  "id": 1112,
  "externalId": "DL/DRILL412/20190103/T3",
  "columns": [
    {
      "externalId": "Depth"
    },
    {
      "externalId": "DepthSource"
    },
    {
      "externalId": "PowerSetting"
    }
  ],
  "rows": [
    {
      "rowNumber": 1,
      "values": [
        23331.3,
        "s2",
        61
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Body

application/json

Description of data requested.

A request for the last row.

id
integer<int64>
required

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
columns
string[]

Columns to include. Specified as a list of the externalId of each column to include. If this filter isn't set, all available columns will be returned.

Required array length: 1 - 400 elements
before
integer<int64>

Get rows up to, but not including, this row number.

Required range: x >= 1

Response

200 - application/json

Response with the sequence data found.

Data from a sequence.

id
integer<int64>
required

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
columns
object[]
required

Column information in the order given by data.

rows
object[]
required

List of row information.

externalId
string

The external ID provided by the client. Must be unique for the resource type.

Maximum string length: 255
Example:

"my.known.id"

Last modified on April 23, 2026