Organizations
Keys, projects, runs, and designs belong to an organization, and every member can read them. Any member can submit work, read results, and export them.
An API key acts with the permissions of the person who created it. Create and revoke keys in the app, from the account menu. Phi records each run under the person whose sign-in or key submitted it.
Admin-only actions
Only an organization admin can do the following. Phi refuses anyone else with a 403. Admins assign roles in the app, from the account menu.
| Action | Call |
|---|---|
| Buy credits | POST /v1/billing/loadsphi billing loadphi.billing.load() |
| Change auto-reload | PUT /v1/billing/auto-reloadphi billing auto-reloadphi.billing.auto_reload() |
| Change log settings | PATCH /v1/log-settingsphi logs settingsphi.logs.update_settings() |
| Delete runs | POST /v1/runs/deletephi.run_admin.delete() |
| Manage payment methods | POST /v1/billing/portalphi billing portalphi.billing.portal() |
| Restore deleted runs | POST /v1/runs/restorephi.run_admin.restore() |
| Set the monthly spend limit | PUT /v1/billing/spend-limit |