Python SDK
Create Sources
Required capabilities:
hostedExtractors:READ
Create up to 100 sources.
POST
Python SDK
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
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
Sources to create.
items
(CreateMqttV3Source · object | CreateMqttV5Source · object | CreateEventHubSource · object | CreateRestSource · object | object | CreateMqttBrokerSource · object)[]
required
Required array length:
1 - 10 elements- CreateMqttV3Source
- CreateMqttV5Source
- CreateEventHubSource
- CreateRestSource
- Option 5
- CreateMqttBrokerSource
Response
List of created sources.
items
(MqttV3Source · object | MqttV5Source · object | EventHubSource · object | RestSource · object | object | MqttBrokerSource · object)[]
required
Maximum array length:
100- MqttV3Source
- MqttV5Source
- EventHubSource
- RestSource
- Option 5
- MqttBrokerSource
Last modified on June 2, 2026