GET
/
api
/
v1
/
workspaces
/
{slug}
/
org
curl https://api.costmcp.com/api/v1/workspaces/acme-ai/org \
  -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN"
{
  "workspace": {},
  "role": "<string>",
  "collections": [
    {}
  ],
  "ungrouped_projects": [
    {}
  ],
  "categories": [
    {}
  ],
  "vendors": [
    {}
  ],
  "budgets": [
    {}
  ]
}
Requires Supabase JWT + workspace membership.
slug
string
required
Workspace slug
workspace
object
required
Workspace row
role
string
required
Caller’s role (e.g. owner)
collections
array
required
Collections with nested projects
ungrouped_projects
array
required
Projects not in a collection
categories
array
required
Chart of accounts with nested children
vendors
array
required
Vendor list
budgets
array
required
Budget definitions
StatusMeaning
404Not found or not a member
curl https://api.costmcp.com/api/v1/workspaces/acme-ai/org \
  -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN"