Groundfloor Docs

API Introduction

Base URLs, authentication, error format, and route groups for the Control Plane REST API.

The Control Plane exposes a REST API for programmatic access to accounts, workspaces, and all customer pillars.

Base URLs

EnvironmentURL
Productionhttps://platform.groundfloor.cloud
Developmenthttps://dev-platform.groundfloor.cloud
Localhttp://localhost:8088

Route groups

PrefixAudienceDescription
/v1/*CustomerAccount- and workspace-scoped endpoints (documented here)
/v1/public/*UnauthenticatedBootstrap, routing, TLS, branding (rate-limited)
/v1/admin/*Groundfloor staffOperator-only — not part of the public docs

Authentication

All customer endpoints require a Bearer JWT from IdPlane (auth.groundfloor.cloud):

curl -H "Authorization: Bearer $TOKEN" \
  "$CP_URL/v1/workspaces"

The JWT sub claim maps to a Portal user. SpiceDB checks permissions per request. See Authentication and Developers for tokens and gf.

Error format

{
  "detail": "Human-readable message",
  "code": "machine_readable_code"
}
StatusMeaning
401Missing or expired JWT
403SpiceDB denied the action
404Resource not found or no read permission
422Validation error

Workspace-scoped endpoints

Most pillar APIs are scoped under a workspace:

/v1/workspaces/{workspace_id}/apps/…
/v1/workspaces/{workspace_id}/coderunners/…
/v1/workspaces/{workspace_id}/secrets/…
/v1/workspaces/{workspace_id}/flags/…
/v1/workspaces/{workspace_id}/managed-databases/…

Documentation index

GuideTopics
AuthenticationJWT, permissions, public routes
AccountsList, create, audit, quota
WorkspacesCRUD, export
EnvironmentsEnv CRUD and promote entry points
MembershipsPlatform roles on account/workspace
AppsShell / standalone apps, releases, promote
CoderunnersUpload, deploy, run, git-source, promote
Feature flagsTyped flags + promote
LLM GatewayModels, usage, virtual key
Data VaultCollections, query, DDL
FilesPresigned upload/download
SecretsList, reveal, upsert, delete
Managed databasesProvision, backup, restore
AuditActivity log query + export
Process logRuntime log tail
QuotasAccount tier and ceilings
Workspace authApp end-user IdP, roles, SSO

OpenAPI

FastAPI serves an OpenAPI spec at /openapi.json. Interactive auto-docs may be added later; these pages are the curated public reference.