sandbox or live.
Switcher
The console shows a project switcher next to the organization switcher. The project you pick is remembered in this browser, and every console request carries it in theX-Allternit-Project header. Pages read it: API keys, Playground, Usage, Logs and Rate limits all show data for the selected project.
What scopes to a project
- Keys: a project key (
alt_live_...oralt_test_...) belongs to one project and bills to it. A live project needs a payment method before inference runs. - Usage and logs: filter or group by
project_id. See usage and logs. - Limits:
GET /api/v1/platform/projects/:id/limitsreturns the project’s effective limits and whether each comes from the plan or an override. - Prompts: saved per project (Playground).
- Body logging:
log_bodieson the project, off by default. The toggle is on the Edit panel (“Keep request and response bodies for 30 days”). Bodies are deleted after 30 days, and turning it off deletes the ones already kept. See usage and logs.