const functions = await client.functions.create([{
name: 'My awesome function',
fileId: 5467347282343
}]);
await client.functions.delete([{id: 123}, {externalId: 'abc'}]);
Returns the service limits for Cognite Functions.
const limits = await client.functions.limits();
const functions = await client.functions.list();
Optionalscope: FunctionListScopeconst func = await client.functions.retrieve([{id: 123}, {externalId: 'abc'}]);
Get the activation status of Cognite Functions for the project.
const status = await client.functions.status();
Activate Cognite Functions
Activate Cognite Functions for the project. This will create the necessary backend infrastructure.