/next in its address), projects are off: its Default project stays out of sight and everything works as it did before projects.
Projects exist for the organisation that holds several teams, products or stages that should not see or change each other’s clusters, without splitting into several organisations and several invoices.
A project is not a cluster group. A cluster group is a named or label-selected set of clusters used as an assignment scope and nothing more. A project is a tenancy boundary: a resource belongs to exactly one, listings and cost are per project, members can be limited to one, and tokens can be pinned to one.
What lives where
The third row holds the shared kinds. Each credential, registry, vault, bucket, variable, notification route or DNS zone is either in one project, where only that project sees and uses it, or organisation-wide (no project), where every project sees and uses it. The ones you had before projects were released are organisation-wide. When you create a new one you choose This project or Whole organisation, and a move can change it later.
For a notification route, the choice decides what it hears, not only who sees it:
- A route in a project delivers only that project’s notifications. A notification belongs to the project of the thing it is about: the cluster, application, pipeline run, repository, ticket, automation, workspace, incident or environment.
- An organisation-wide route delivers every project’s notifications, plus the organisation’s own, such as billing.
- A route created without a choice is in the project the request that created it acted in: in the console before the form asked, the project its creator was in at the time; through the API without
project_id, the token’s pin, the projectX-Ankra-Project-Idnames, or otherwise the Default project (the oldest project they reach, for a project-only owner or member; see Your current project). Such a route delivers only that project’s notifications. If it should hear everything, move it to the whole organisation. A route from before projects were released, or created while the organisation has projects off, has no project and is organisation-wide.
403 Organisation-wide resources require an organisation-level grant.
The Default project
Every organisation carries a reserved project whose short name isdefault. It is created with the organisation and cannot be deleted. Everything that existed before projects were released is in it, so nobody lost sight of anything on the day they arrived. You create further projects and move resources into them deliberately.
A project has a name (up to 128 characters), a short name or slug (a-z, 0-9 and hyphens, up to 63 characters, unique within the organisation, never shaped like a UUID) and an optional description. The short name cannot change once the project exists, because links, the CLI and kubeconfig files use it. Projects are managed under Settings → People and access → Projects in the console, or with ankra project.
Your current project
Every request acts in one project. It is resolved once, when the request is authenticated, in this order:- The token’s pin. A token minted in a project stays in it. See Tokens and projects.
- The
X-Ankra-Project-Idheader on a bearer-token request, naming a project of the current organisation by id. An id that is not a project of this organisation is refused with403 Project not found in this organisation- a403rather than a404, so the answer is the same whether the id belongs to another organisation or to nothing - and a pinned token that names a different project is refused outright. A project you do not reach is refused the same way, and an MCP token that sends the header is refused. - For a console session, your current project in this organisation. Each organisation you belong to remembers its own current project, and switching it is server-side, like switching organisations: every browser you are signed in on follows.
- For a token, the Default project. A token with no pin and no header never follows anyone’s current project, so a switch in the console cannot move a CI job or a running session. A project-only member’s token acts in the oldest project they reach.
ankra project switch as that header, so it stays there until you switch again on that machine or run ankra org switch. See Ankra CLI.
Switch with the project switcher beside the organisation switcher in the console, with ankra project switch <name>, or with POST /api/v1/org/projects/switch. GET /api/v1/org/projects/current tells you where you are, and GET /api/v1/org/projects lists the projects you can reach, each with is_current and is_default.
Roles at project scope
A project is the fourth assignment scope, beside the organisation, a cluster and a cluster group. A role assigned in a project grants its resource permissions on every cluster the project holds now and later, and on the project’s applications, environments, profiles, repositories and shared resources. A project assignment can never confer the permissions that are about the organisation as a whole. Whatever role is assigned, these are dropped from a project grant:organisation.*, members.*, billing.*, tokens.*, audit.*, projects.*, kube_access.manage, kube_access.policy, sops.manage, secrets.manage, git.manage, security.manage, ai.manage, workspaces.manage and profiles.share. An admin assigned in one project is the resource half of admin inside that project, and cannot invite members, see invoices or create projects.
Creating, renaming, deleting and moving between projects needs projects.manage, which owners and admins hold at organisation scope. Listing projects needs projects.read, which every built-in role holds.
Project-only members
A member’s organisation role is a floor that reaches every project: aviewer on the organisation sees every project, read-only, whatever else is assigned. To give someone one project and nothing else, invite them with the membership role Project only. It holds nothing organisation-wide:
- The member reaches only the projects they are assigned a role in -
admin,operator,memberorviewerin that project - and sees nothing of the others. - They can never hold an organisation-level permission: members, billing, other members’ tokens, the audit log and organisation settings stay out of reach whatever role they are given in a project.
- When they sign in they land in their current project if they still reach it, otherwise in the first project they reach, oldest first.
ankra org invite <email> --role project --project <project> --project-role operator invites one from the CLI (--project-role is admin, operator, member or viewer, member by default). Change a member to or from it on their row in People. A project-only member whose last project assignment is removed can still sign in, but every request, the console’s own /auth/whoami included, answers 403 You are not assigned to any project in this organisation until they are assigned again.
Tokens and projects
A token is pinned to a project when it is minted with one: an MCP token or a service token created in the console is pinned to the project chosen in the create dialog, which defaults to the project you are working in;ankra tokens create --project <name> pins from the CLI; and any token minted by a pinned token is pinned to that project. A pinned token:
- reads and writes in that project only, however the request is phrased -
project_id=allon a cost or Security Center route andX-Ankra-Project-Idnaming another project are both refused; - cannot switch organisations either, as before;
- stops authenticating, with
403 The project this token is pinned to no longer exists, if its project is deleted. Mint a new one in the project that replaced it.
X-Ankra-Project-Id names and otherwise in the Default project; neither follows a switch in the console. An MCP token minted while the organisation has projects is pinned to the project it was created in. One minted before that is not pinned and never follows a switch: for an organisation-wide member it acts in the Default project whatever its owner switches to, and a project-only member’s acts in the oldest project they reach. A project-only member’s REST token minted without a project is not pinned either, and reaches only the projects they do. See API tokens.
Moving resources between projects
A move takes one resource into another project of the organisation, or makes a shared kind organisation-wide. It is one transaction, audited asmove_to_project. Move from the resource’s settings page (Move to another project), with ankra project move --kind <kind> --id <id> --to <project|org-wide>, or with POST /api/v1/org/projects/{project_id}/move.
The kinds a move accepts are exactly these: cluster, application, environment, stack_profile, pipeline_repository, ai_automation, ai_workspace, credential, registry, backup_vault, object_storage_bucket, organisation_variable, notification_route and dns_zone. Only the shared kinds - the last seven - may be made organisation-wide.
The move carries the rows whose project is derived from the resource:
- a cluster takes its DNS zones, incidents, AI tickets and the notification routes pinned to it;
- an application takes its connected pipeline repositories;
- a stack profile takes its open drafts.
Cost already metered stays attributed to the project the cluster was in at the time; only hours from the move onwards count against the destination.
Deleting a project
A project can be deleted only once nothing is in it: every cluster, application and other strictly scoped resource moved out, and no shared resource still pinned to it. The refusal lists what remains, per kind. Deleting a project retires the role assignments made at its scope, moves every member whose current project it was back to the Default project, removes its budgets and autopilot defaults, and stops the tokens pinned to it. The Default project cannot be deleted.Cost by project
Cost is metered per project, so a report for a month in which a cluster moved shows its cost split between the two projects. The Cost pages filter by project, and the fleet view shows By project: each project’s run rate and cluster count, with an unattributed bucket for spend no project can claim, such as waste found on an organisation-wide credential rather than a cluster. The projects reconcile to the fleet total only together with that bucket. Every cost route and tool takesproject_id: a project id for one project, all for the whole organisation, and nothing for your current project. Cost budgets take a project scope, and the cost autopilot takes per-project defaults between the organisation’s policy and a cluster’s own override. From the CLI, the global --project flag reads another project, --all-projects on the fleet cost commands reads the whole organisation, and ankra org usage --group-by project gives the showback. Cloud Cost has the detail.
Billing is never split. The invoice stays one per organisation. The By project view under Billing is a showback: each project’s share of worker vCPU-hours over a window, for charging teams back internally. See Billing.
The API, Ankra’s AI and the MCP server
- Bearer requests name a project for one call with
X-Ankra-Project-Id: <project-id>, as described under Your current project. - Portal links Ankra hands you - in notifications, AI answers and MCP results - carry
?project=<project-id>beside?org=, so a link to a cluster in another project opens in that project and offers to switch you to it. See Portal URLs. - Managed services belong to their cluster’s project, so listings and reads follow the project of the request.
- The Security Center reads the project of the request: findings, bills of materials and posture belong to a project through their cluster. Its reads take the same
project_idas the cost routes, and--all-projectson mostankra securityreads covers the whole organisation. The compliance framework scores, the compliance report and evidence deliveries stay the organisation’s. - The MCP server and the AI Assistant act in the current project of the token or session.
list_projectsandget_current_projectsay where a session is,move_cluster_to_projectandmove_application_to_projectare the moves,get_organisationreports the current project, and the cost tools take the sameproject_idas the routes. See MCP Tools.
Ankra Cloud
For organisations that also use Ankra Cloud, the platform is the source of truth for projects, and Ankra Cloud does not scope its resources by project yet. Projects are never created, renamed or deleted from the Cloud, and a project-only member is refused in its console for now. A private zone can name a project: the Cloud relay asks the platform who may enter, so a project-only member can open a service in that zone without Cloud console access. Servers the platform creates for a cluster carry the cluster’s project in theplatform.ankra.io/project-id label beside the cluster label.
Related
- Organisations - the level above a project.
- Roles & Access - scopes, project-only members and what each role holds.
- Service tokens and API tokens - pinned credentials.
- Ankra CLI -
ankra project,--projectandANKRA_PROJECT. - Cloud Cost and Billing - cost by project and the showback.