Resource Model¶
The reference lists endpoints one at a time. This page provides the wider context for the features — what each resource is, what it belongs to, and the order you meet them in.
Quick Reference¶
| Resource Type | Primary Owner | Key Characteristics |
|---|---|---|
| Customer | Organisation | Top-level tenancy, self-service creation not supported |
| Project | Customer | Day-to-day resources, full lifecycle |
| Machine | Project | Virtual or bare-metal compute; status, power, console or hardware config |
| Network | Cluster + Project | Addressing, IPv6 prefix, IPv4 allocation |
| IPv4 Address | Project | Assigned to machines, created/managed separately |
| SSH Key | Project | Authentication for logging in |
| User | Customer/Project | Identity with roles |
| Role | Customer/Project | Access permissions within scope |
| Policy | System | Permission definitions (not modifiable via API) |
| Device | System | Tokens from authentication flows |
| Info | System | Catalogue (clusters, flavours, images) |
Resource Hierarchy¶
Customer your organisation
└── Project a workspace within it
├── Machines compute — virtual or bare metal
├── Networks addressing, per cluster
│ └── IPv4 addresses assigned to machines
└── SSH keys how you log in
Users hold a role on a customer or a project
Roles define a set of policies
Policies define the scope of access
Devices hold the tokens your clients authenticate with
Info the catalogue you build from — clusters, flavours, images
Tenancy: Customers and Projects¶
A customer is the top-level tenancy — normally your organisation. A project subdivides it, and is where day-to-day resources live.
Both are tenants, and the resource they own says which one it takes:
| Path parameter | Where it appears | Accepts |
|---|---|---|
{projectUUID} |
SSH keys, networks, IPv4 addresses, machines | A project. Their owner is always a project in v2. |
{customerORprojectUUID} |
Users and roles | Either — whichever level you're granting access at. |
{tenantUUID} |
The legacy v1 paths only | Either. v2 renamed it to say what it means. |
Customer Management¶
- List, read, update and delete the ones you can see
- Creating a customer is not self-service — it happens when your organisation is onboarded
Project Management¶
- Full lifecycle management
- A project is created against a
customer_id, so you always know which organisation/tenancy it belongs to
Which customers and projects you can see is decided by your role, not by a
filter you pass. Two people calling GET /v2/projects legitimately get
different lists.
People and Access: Users, Roles, Policies¶
A user is an identity that has been invited into a customer or project. A role is what that identity may do there. A policy is the definition behind a role — which permissions it carries.
The important part is that a role is held within a customer or project, not globally: the same person can administer one project and only read another.
You can read your own record, list the people in a customer or project you administer and change their roles. Role and policy definitions themselves are administered by Taiga Cloud and aren't part of this API — you work with their effects rather than editing them.
Access failures look like absence
A resource your role doesn't reach answers 404, not 403, so it isn't
disclosed. A 404 on an identifier you believe is valid is usually a role
question.
The Catalogue: Info¶
Before creating anything you need to know what exists to create it from.
| Resource | Description |
|---|---|
| Clusters | Where compute runs. Everything is created into one. |
| Flavours | Machine sizes — CPU, memory, GPU — and whether the machine is virtual or bare metal. |
| Images | Operating system images to boot from. |
These are read-only and shared. Fetch them first: the identifiers they return are what the creation calls expect.
Compute: Machines¶
A machine is the point where everything else meets. Creating one names a flavour, an image, a cluster, a tenant/project, a network, and the SSH keys that may log in — so the other resources have to exist first.
A machine is either a virtual machine on shared hardware or a
bare-metal machine — a whole physical server, dedicated to you. Both are
the same resource under the same endpoints (which say vm for historical
reasons); the flavour's machine_type decides which you get, and
?mtype=virtualmachine or ?mtype=baremetal filters a list by it.
Once running, a machine has more than a record:
| Feature | Description | Applies to |
|---|---|---|
| Status | Start, stop and restart it | Both |
| Console | Reach it without the network path working | Virtual machines |
| Config | Boot order and BIOS settings, and booting from an ISO | Bare metal |
| Metrics | Hardware temperatures, fan speeds and power draw over time | Bare metal |
| Activity | What has happened to it, and when | Both |
Bare-metal machines covers everything that differs.
Networking: Networks, IPv4, IPv6¶
A network belongs to a cluster and a project — created against both, since addressing is cluster-local.
IPv4 addresses are resources in their own right: created, assigned,
updated and deleted, and attached to machines. IPv6 is different — it
arrives as properties of the network (prefix6, assigned_addresses6) rather
than as something you create. There are no IPv6 endpoints; you read the
network to see what it has.
Access Artifacts: Devices¶
Every completed device code flow registers a device holding the tokens it issued. Devices aren't created directly — they appear as a by-product of authenticating.
They're worth revisiting: list them to see what holds credentials, and delete anything belonging to a machine you've decommissioned or don't recognise — see Managing access.
Resource Creation Order¶
A first deployment, in dependency order:
- Read the catalogue — pick a cluster, a flavour and an image
- Have a project — create one against your customer, or use an existing one
- Add an SSH key to that project, so you can log in later
- Create a network on the chosen cluster for that project
- Create the machine, naming the flavour, image, cluster, project, network and key
- Assign an IPv4 address if it needs to be reachable over IPv4
- Watch it through status, console, metrics and activity
Each step supplies an identifier the next one needs, which is why the order matters more than it first appears.
Provisioning a machine is that list as working calls, with what each step can fail on. Exact fields are in /reference, and the rules every endpoint shares are in Conventions.