Skip to content

Workspaces

workspaces

  • Schema: public
  • PK: workspace_id (bigint, serial)

Columns

Column Type Nullable Default Notes
workspace_id bigint NO serial PK
workspace_name varchar NO
workspace_status varchar YES
created_time timestamp YES now()
company_credits float8 YES 0.0
plan varchar YES Subscription plan slug
access_rights jsonb YES {"api_proxy_max_objects_per_request": 1} Feature limits / flags
options jsonb NO {}
workspace_api_keys json[] YES Array of API key objects
iac_tag varchar YES Infrastructure-as-code identifier
data_protection_configuration jsonb YES DPA / data residency config

Key indexes

  • workspaces_pk on (workspace_id)

Notes

  • Central tenant entity; most resources reference workspace_id.
  • access_rights controls plan-level feature gates.