Skip to main content
A project groups your cell specifications, studies, models, and optimizations. Create one, then scope your work to it.
Install and authenticate first: pip install ionworks-api and set IONWORKS_API_KEY. See the Python API client page.
What’s happening
  • Two ways to scope work to a project: pass the project id explicitly per call (e.g. client.study.create(project_id, ...)), or set IONWORKS_PROJECT_ID in your environment so it becomes the default for calls whose project_id is optional.
  • client.project has the full CRUD set: .list(), .get(id), .create(data), .update(id, data), .delete(id).
  • Projects and studies have no create_or_get. For re-runnable scripts, catch the CONFLICT error and read existing_id from its detail to reuse an existing one.

Learn more