API & MCP

Identity & tenants

Who is calling, which tenants this access can see, and which role it has there.

Example responses are fictional. They show a possible shape, not a real portfolio.

whoami

Available

Returns the authenticated identity and only its own tenants, each with a role: readonly, member, admin or owner.

Parameters

No parameters.

Example call
{
  "tool": "whoami",
  "arguments": {}
}
Example response · shape is illustrative
{
  "subject": "user_example",
  "tenants": [
    {
      "slug": "muster-bestand",
      "name": "Muster Bestand",
      "role": "owner"
    }
  ]
}

Sample data

tenant_overview

Available

Tenant metadata plus row counts for properties, units, leases, parties, bank transactions, costs, rent expectations, document links and sync runs.

Parameters

tenant_slug string | null · Default null
Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.
Example call
{
  "tool": "tenant_overview",
  "arguments": {}
}
Example response · shape is illustrative
{
  "tenant": {
    "slug": "muster-bestand",
    "name": "Muster Bestand"
  },
  "counts": {
    "properties": 2,
    "units": 6,
    "leases": 5,
    "parties": 5,
    "bank_transactions": 12,
    "costs": 4,
    "rent_expectations": 8,
    "document_links": 3,
    "sync_runs": 2
  }
}

Sample data

sync_status

Available

Latest sync runs for the tenant: source, status and rows written.

Parameters

tenant_slug string | null · Default null
Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.
limit integer · Default 20
Maximum number of rows.
Example call
{
  "tool": "sync_status",
  "arguments": {
    "limit": 20
  }
}
Example response · shape is illustrative
{
  "items": [
    {
      "source": "bank_import",
      "status": "ok",
      "rows_upserted": 12,
      "finished_at": "2026-09-28T08:00:00Z"
    }
  ],
  "limit": 20,
  "offset": 0
}

Sample data