Skip to main content
POST
/
sequences
/
data
JavaScript SDK
const rows = [
 { rowNumber: 0, values: [1, 2.2, 'three'] },
 { rowNumber: 1, values: [4, 5, 'six'] }
];
await client.sequences.insertRows([{ id: 123, rows, columns: ['one', 'two', 'three'] }]);
{}

Documentation Index

Fetch the complete documentation index at: https://docs.cognite.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Data posted.

items
(Select by Id · object | Select by ExternalId · object)[]
required
Required array length: 1 - 1000 elements

Data from a sequence.

Example:
{
"externalId": "DL/DRILL412/20190103/T3",
"columns": ["Depth", "DepthSource", "PowerSetting"],
"rows": [
{
"rowNumber": 1,
"values": [23331.3, "s2", 61]
}
]
}

Response

200 - application/json

Empty response.

The response is of type object.

Last modified on May 13, 2026