Skip to main content
GET
https://api.memcontext.in
/
api
/
company-brain
/
hierarchy
Context vault scope/project hierarchy
curl --request GET \
  --url https://api.memcontext.in/api/company-brain/hierarchy \
  --header 'X-API-Key: <api-key>'
{
  "global": {
    "count": 123,
    "projects": [
      {
        "name": "<string>",
        "value": "<string>",
        "count": 123
      }
    ]
  },
  "scopes": [
    {
      "name": "<string>",
      "count": 123,
      "projects": [
        {
          "name": "<string>",
          "value": "<string>",
          "count": 123
        }
      ]
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_.

Query Parameters

workspaceId
string<uuid>
required

Response

200 - application/json

Scope and project counts for workspace memories.

global
object
required
scopes
object[]
required