We recommend downloading, installing, and using Postman to test API requests and verify responses.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.
- Try with sample data
- Connect to your CDF project
No admin setup required. Sign up at Cognite Hub and get credentials from OpenID Connect on Open Industrial Data. Use cluster
api, project publicdatacdm.Import your Postman collection
- Download the Cognite OpenAPI specification.
- In Postman, select Import and drag the file to the import modal.
- In View Import Settings: set Folder organization to Tags, turn off Enable optional parameters, turn on Always inherit authentication.
- Select Continue > Import.
Set up environment variables
- Navigate to Environments on the left sidebar. Click + Create new Environment and give it a name.
-
Add these variables using values from the Open Industrial Data credentials:
- tenant-id: From the Hub article
- token: Leave blank. OAuth 2.0 will populate it automatically.
- baseUrl:
https://api.cognitedata.com/api/v1/projects/publicdatacdm - project:
publicdatacdm
- Click Save and select your environment in the dropdown in the top right corner.
Configure OAuth 2.0 authorization
- Navigate to the Authorization tab in the collection overview.
- Set Type to OAuth 2.0 and Add authorization data to to Request Headers.
- Select Configure New Token and specify:
- Grant Type: Implicit
- Callback URL:
https://postman.cogniteapp.com/loggedin - Auth URL:
https://login.microsoftonline.com/{{tenant-id}}/oauth2/v2.0/authorize - Client ID: Use the Postman Client ID from the Open Industrial Data credentials (OID-Api app)
- Scope:
https://api.cognitedata.com/user_impersonationorhttps://api.cognitedata.com/DATA.VIEW - Client Authentication: Send as Basic Auth header
- Select Get New Access Token > Proceed > Use Token.
Send your API request
-
Make a test API request to check that your integration is working correctly:
-
Click the Cognite API collection in the left-hand menu, and select Assets > List assets.

- Click Send.
-
Click the Cognite API collection in the left-hand menu, and select Assets > List assets.
Install a Software Development Kit (SDK)
We provide official Software Development Kits (SDKs) for Python and JavaScript with libraries that interact with the Cognite Data Fusion API.To install the Cognite Python library:
The Python Software Development Kit (SDK)
The Cognite Python SDK requires Python 3.5+ and provides access to the Cognite Data Fusion API from applications written in the Python language. See the Cognite Python SDK Documentation for more details.To download and install Python, visit Python.org.