Skip to content

Get the loaded tax knowledge

The knowledge.state.get operation: GET /api/v1/tax/knowledge in the REST API and the knowledge_state_get tool in the MCP server.

GET/api/v1/tax/knowledge

Returns which version of the Jurisdiction Knowledge Base the platform uses: the git commit it was compiled from, when it was loaded (loadedAt, loadedBy) and what that load changed (lastLoad), with counts of the current records per collection and per status. Every change to tax rules is a reviewed commit; the knowledge_sync job loads it after the next deploy. Before anything is loaded, loaded is false.

Tax knowledge is shared by every organization and read-only (spec §41.2).

At a glance

  • REST: GET /api/v1/tax/knowledge
  • MCP tool: knowledge_state_get
  • Operation ID: knowledge.state.get
  • Scope: Platform
  • Permission: tax_knowledge:read
  • Risk tier: read
  • Dry run: Not supported
  • Idempotency: Not needed (read only)
  • Modes: Test and live
  • Authentication: API key with the tax_knowledge:read scope
  • Since: M3

Request

Query parameters

This operation takes no query parameters.

Response

200 OK with a JSON object:

FieldTypeDescription
object"knowledge_state"
loadedboolean
rootone of knowledge, fixtures or null
commitstring or null
previousCommitstring or null
loadedAtdate-time or null
loadedBystring or null
countsobject
counts.jurisdictionsinteger (at least 0)
counts.ratesinteger (at least 0)
counts.regimesinteger (at least 0)
counts.filingSpecsinteger (at least 0)
counts.invoicingRulesinteger (at least 0)
counts.einvoicingMandatesinteger (at least 0)
counts.playbooksinteger (at least 0)
counts.sourcesinteger (at least 0)
counts.territoriesinteger (at least 0)
statusesobject
statuses.totalinteger (at least 0)
statuses.researchedinteger (at least 0)
statuses.cross_checkedinteger (at least 0)
statuses.reviewedinteger (at least 0)
statuses.verifiedinteger (at least 0)
statuses.retiredinteger (at least 0)
fixturesinteger (at least 0)
lastLoadobject

Examples

The knowledge base loaded after a deploy

HTTP
GET /api/v1/tax/knowledge
Authorization: Bearer or_test_…

Response (200):

JSON
{
  "object": "knowledge_state",
  "loaded": true,
  "root": "knowledge",
  "commit": "1c14b2ec912aca347dd518b2044096f3b5d8eef1",
  "previousCommit": "0b2f4c1e7a9d3b5f8e6c2a4d1f3b5e7c9a1d3f5b",
  "loadedAt": "2026-10-13T03:15:00.000Z",
  "loadedBy": "system:knowledge_sync",
  "counts": {
    "jurisdictions": 82,
    "rates": 394,
    "regimes": 55,
    "filingSpecs": 6,
    "invoicingRules": 2,
    "einvoicingMandates": 8,
    "playbooks": 14,
    "sources": 772,
    "territories": 11
  },
  "statuses": {
    "total": 572,
    "researched": 131,
    "cross_checked": 380,
    "reviewed": 61,
    "verified": 0,
    "retired": 0
  },
  "fixtures": 0,
  "lastLoad": {
    "tax_rates": {
      "added": 2,
      "changed": 1,
      "retired": 0,
      "unchanged": 391
    }
  }
}

Errors

CodeHTTP statusWhenWhat to do
permission_denied403Your credentials can't read tax knowledge.Ask an organization owner or admin for a role or scope that allows this action.

It can also return these common errors: validation_failed, api_version_unsupported, authentication_required, api_key_invalid, resource_not_found, dry_run_not_supported, rate_limited, internal_error.