What jobs are
A job connects a source (sourceId) to a destination (destinationId) and applies a format that controls how incoming data is converted before writing to CDF. The format is required and can be a built-in type (cognite, rockwell, value, sparkplug) or custom, which references a mapping by mappingId.
A mapping is required only when you use the
custom format.Job lifecycle
- Create: Specify a source, destination, format, and any source-specific config (such as a topic filter for MQTT or a path and interval for REST).
- Monitor: Check the job’s
statusfield, which reflects its current observed state (for example,running,connected,connection_error,transform_error). See Hosted extractors overview — Jobs for the full list of states and what each one means. - Update: Modify the source, destination, format, source-specific config, or set
targetStatustorunningorpausedto start or pause the job. - Delete: Remove the job when extraction is no longer required.
Use job logs and metrics to detect failures, diagnose connectivity issues, and ensure data is flowing correctly.