Reference · Reference
API reference Every endpoint: what it does, the permission it needs, its parameters, and an example in curl, JavaScript and Python.
Updated 2 December 2026
On this page Before you start Token Organisation Projects Resources Requests Audit events Base URL https://api.colossium.cloud/v1Authentication Authorization: Bearer <token>. Authentication Format JSON. Content-Type: application/json when you send a body Machine-readable `/v1/openapi.json`
Each endpoint below shows the permission (scope) it needs. A token without it gets 403 insufficient_scope. Examples use made-up ids and the address example.org. Replace $COLOSSIUM_API_TOKEN with your own token, kept in the environment.
Returns what the token is and what it can do right now. Its effective scopes are its granted scopes limited to what its creator’s role allows today.
Example request curl "https://api.colossium.cloud/v1/token/verify" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"id": "d41e8f06-92ab-4c37-b5e1-0a7c36d92e18",
"name": "Release pipeline",
"status": "active",
"organisation_id": "7a1c4e92-0b3d-4f58-8a26-5e9d1c7b3f04",
"token": "clsm_4kT9...x7Qa",
"scopes": [
"resource.read",
"resource.write"
],
"granted_scopes": [
"resource.read",
"resource.write",
"audit.read"
],
"project_ids": null,
"expires_at": "2027-03-02T09:30:00.000000+00:00",
"created_at": "2026-12-02T09:30:00.000000+00:00",
"last_used_at": "2026-12-02T09:30:00.000000+00:00"
}Statuses Status Meaning 200The token is valid. 401The token is missing, invalid, revoked or expired.
The organisation the token belongs to.
Example request curl "https://api.colossium.cloud/v1/organisation" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"id": "7a1c4e92-0b3d-4f58-8a26-5e9d1c7b3f04",
"name": "Example Trading",
"slug": "example-trading",
"status": "active",
"created_at": "2026-12-02T09:30:00.000000+00:00"
}Statuses Status Meaning 200The organisation.
Projects in the organisation, newest first. A token limited to some projects sees only those.
Query limitinteger How many items to return, 1 to 100. Default 25. cursorstring The next_cursor from the previous page. Example request curl "https://api.colossium.cloud/v1/projects?limit=2" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"data": [
{
"id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"name": "Orders",
"slug": "orders",
"description": "Order processing",
"created_at": "2026-12-02T09:30:00.000000+00:00"
}
],
"next_cursor": null
}Statuses Status Meaning 200A page of projects. 400A parameter is not valid.
Creates a project. A token that is limited to some projects cannot create new ones.
Body namestring, required 2 to 60 characters. slugstring, required Lower case letters, numbers and single hyphens, 2 to 48 characters. Unique in the organisation. descriptionstring Up to 280 characters. Example request curl -X POST "https://api.colossium.cloud/v1/projects" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Orders","slug":"orders","description":"Order processing"}'Example response, 201 {
"id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"name": "Orders",
"slug": "orders",
"description": "Order processing",
"created_at": "2026-12-02T09:30:00.000000+00:00"
}Statuses Status Meaning 201Created. 400The body is not valid. 403The token cannot create projects. 409The slug is taken.
One project.
Path Example request curl "https://api.colossium.cloud/v1/projects/3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"name": "Orders",
"slug": "orders",
"description": "Order processing",
"created_at": "2026-12-02T09:30:00.000000+00:00"
}Statuses Status Meaning 200The project. 404No such project, or the token may not see it.
Resources are read-only. You change them by making requests .
Domains, functions, databases and buckets the organisation owns, newest first.
Query limitinteger How many items to return, 1 to 100. Default 25. cursorstring The next_cursor from the previous page. project_idstring Only resources in this project. servicestring Only this service, for example databases. Example request curl "https://api.colossium.cloud/v1/resources?project_id=3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37&service=databases" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"data": [
{
"id": "9b6e2d70-1c84-4a95-8f3e-6d0a5b17c2e9",
"project_id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"service": "databases",
"kind": "database",
"name": "orders-db",
"region": "Europe",
"observed_status": "active",
"drift": false,
"last_observed_at": "2026-12-02T09:30:00.000000+00:00",
"created_at": "2026-12-02T09:30:00.000000+00:00"
}
],
"next_cursor": null
}Statuses Status Meaning 200A page of resources. 400A parameter is not valid.
One resource.
Path Example request curl "https://api.colossium.cloud/v1/resources/9b6e2d70-1c84-4a95-8f3e-6d0a5b17c2e9" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"id": "9b6e2d70-1c84-4a95-8f3e-6d0a5b17c2e9",
"project_id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"service": "databases",
"kind": "database",
"name": "orders-db",
"region": "Europe",
"observed_status": "active",
"drift": false,
"last_observed_at": "2026-12-02T09:30:00.000000+00:00",
"created_at": "2026-12-02T09:30:00.000000+00:00"
}Statuses Status Meaning 200The resource. 404No such resource, or the token may not see it.
Requests for services, newest first.
Query limitinteger How many items to return, 1 to 100. Default 25. cursorstring The next_cursor from the previous page. statestring awaiting_approval, queued, running, awaiting_verification, succeeded, failed or cancelled. kindstring For example databases.create. project_idstring Only requests in this project. Example request curl "https://api.colossium.cloud/v1/requests?state=awaiting_approval" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"data": [
{
"id": "c58a1f34-7e2b-4d60-9a8c-3b1e4f70d625",
"project_id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"resource_id": null,
"kind": "databases.create",
"state": "awaiting_approval",
"input": {
"name": "orders-db",
"region": "eu"
},
"failure": null,
"created_at": "2026-12-02T09:30:00.000000+00:00",
"started_at": null,
"finished_at": null
}
],
"next_cursor": null
}Statuses Status Meaning 200A page of requests. 400A parameter is not valid.
Asks for a service to be created or changed. It goes through the same checks as a request made in the console and then waits for approval. A request with a kind that ends in .delete needs the resource.destroy scope.
Headers Idempotency-Keystring, required 8 to 120 characters. Repeating a request with the same key returns the original, with status 200 and the header Idempotent-Replayed: true. Body kindstring, required One of dns.domain.add, dns.record.create, dns.record.delete, functions.create, functions.update, functions.delete, databases.create, databases.delete, storage.create, storage.delete. The input each one needs is in the Requests guide. project_idstring The project it belongs to. Required for a token limited to some projects. inputobject, required What the kind needs, for example { "name": "orders", "region": "eu" } for databases.create. It is checked before the request is accepted, and a problem is reported field by field. Example request curl -X POST "https://api.colossium.cloud/v1/requests" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: release-2026-12-02-orders-db" \
-d '{"kind":"databases.create","project_id":"3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37","input":{"name":"orders-db","region":"eu"}}'Example response, 201 {
"id": "c58a1f34-7e2b-4d60-9a8c-3b1e4f70d625",
"project_id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"resource_id": null,
"kind": "databases.create",
"state": "awaiting_approval",
"input": {
"name": "orders-db",
"region": "eu"
},
"failure": null,
"created_at": "2026-12-02T09:30:00.000000+00:00",
"started_at": null,
"finished_at": null
}Statuses Status Meaning 201Accepted and waiting for approval. 200A repeat of an earlier request. 400The request is not valid, or the Idempotency-Key is missing. 403The token lacks the scope, or may not use the project. 409A plan limit has been reached. 429Too many requests.
One request with its progress events.
Path Example request curl "https://api.colossium.cloud/v1/requests/c58a1f34-7e2b-4d60-9a8c-3b1e4f70d625" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"id": "c58a1f34-7e2b-4d60-9a8c-3b1e4f70d625",
"project_id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"resource_id": null,
"kind": "databases.create",
"state": "awaiting_approval",
"input": {
"name": "orders-db",
"region": "eu"
},
"failure": null,
"created_at": "2026-12-02T09:30:00.000000+00:00",
"started_at": null,
"finished_at": null,
"events": [
{
"at": "2026-12-02T09:30:00.000000+00:00",
"kind": "awaiting_approval",
"message": "Request received. Waiting for Colossium approval."
}
]
}Statuses Status Meaning 200The request. 404No such request, or the token may not see it.
Withdraws a request that is awaiting approval or queued. One that has started cannot be cancelled.
Path Example request curl -X POST "https://api.colossium.cloud/v1/requests/c58a1f34-7e2b-4d60-9a8c-3b1e4f70d625/cancel" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"id": "c58a1f34-7e2b-4d60-9a8c-3b1e4f70d625",
"project_id": "3f2b8c1e-5d4a-4e7b-9c1d-2a6f8e0b4d37",
"resource_id": null,
"kind": "databases.create",
"state": "cancelled",
"input": {
"name": "orders-db",
"region": "eu"
},
"failure": null,
"created_at": "2026-12-02T09:30:00.000000+00:00",
"started_at": null,
"finished_at": "2026-12-02T09:30:00.000000+00:00"
}Statuses Status Meaning 200Cancelled. 404No such request. 409It has already started or finished.
The organisation’s audit log, newest first. A token limited to some projects cannot read it.
Covers the whole organisation, so a token limited to some projects cannot call it.
Query limitinteger How many items to return, 1 to 100. Default 25. cursorstring The next_cursor from the previous page. actionstring Only this action, for example api_token.create. outcomestring success, denied or failure. Example request curl "https://api.colossium.cloud/v1/audit-events?action=api_token.create" \
-H "Authorization: Bearer $COLOSSIUM_API_TOKEN"Example response, 200 {
"data": [
{
"id": 4821,
"created_at": "2026-12-02T09:30:00.000000+00:00",
"actor_kind": "user",
"actor_id": "7a1c4e92-0b3d-4f58-8a26-5e9d1c7b3f04",
"action": "api_token.create",
"target_type": "api_token",
"target_id": "d41e8f06-92ab-4c37-b5e1-0a7c36d92e18",
"outcome": "success",
"detail": {
"name": "Release pipeline",
"scopes": [
"resource.read",
"resource.write"
]
}
}
],
"next_cursor": null
}Statuses Status Meaning 200A page of events. 403The token lacks audit.read, or is limited to some projects.