Skip to main content
Cognite Functions lets you deploy Python code as serverless functions hosted and executed in the cloud. Functions can process data, respond to events, or perform custom computations. You upload your code, and CDF handles the infrastructure, scaling, and execution.

What Cognite Functions are

A function is a unit of Python code that runs on demand or on a schedule. You package your code and deploy it to CDF. When the function is invoked, CDF provisions compute resources, runs your code, and returns the result. There is no need to manage servers or scaling—CDF handles that for you.

Use cases

  • Data processing: Transform, aggregate, or enrich data from CDF or external sources.
  • Event handling: React to changes in CDF resources, such as new assets or time series data.
  • Custom logic: Implement business rules, validations, or integrations that go beyond standard CDF capabilities.
Each function execution has a maximum timeout of 15 minutes. Design your functions to complete within this limit.

Deployment and management

You create functions by uploading code and specifying the runtime environment. You can update functions by deploying new versions and manage which versions are active. Functions may be invoked manually via the API or automatically via schedules.
Last modified on April 23, 2026