Skip to main content
Question

Streamlit applications management using the API or the Cognite SDK

  • November 6, 2025
  • 2 replies
  • 36 views

Hi Everyone!
I need to manage streamlit applications (read / update files) using the Cognite SDK or with the API.

I was able to publish streamlit applications using the cognite toolkit, but I also need to read them.

Tried searching the api-docs and cognite-sdk docs with no luck.

 

Thank you!

2 replies

Anders Hafreager
Practitioner

Hi!

Can you explain what you want to achieve? Right now streamlit apps are just CDF files, and you can leverage access management for files to do what you want.

For instance, if you want a user to be able to read the app, but not change it, you can deploy the app to a protected data set to prevent overwriting.

If you want some users to see the app, but not all users, you can have restricted data sets that not everyone has access to.

If you have a use case not covered by this, please let me know!


  • Author
  • Committed
  • November 11, 2025

Hi!

Can you explain what you want to achieve? Right now streamlit apps are just CDF files, and you can leverage access management for files to do what you want.

For instance, if you want a user to be able to read the app, but not change it, you can deploy the app to a protected data set to prevent overwriting.

If you want some users to see the app, but not all users, you can have restricted data sets that not everyone has access to.

If you have a use case not covered by this, please let me know!

Thank you Anders!

The trick was to list all files with directory_prefix == “/streamlit-app”