dVeracity Semantic API
v0.9.1Validate emissions data against Open Footprint, check EU CBAM records, query verified methane data
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
semantic_query Query verified emissions data
Use this when a user asks a specific question about verified oil-and-gas emissions data, e.g. methane for a site or period (PPDM, OGMP 2.0). Call semantic_templates first. Not for general climate questions. Costs 1 credit ($0.01). On payment_required, follow offers[] or show checkoutUrl; do not retry the same call.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
sessionId | string |
semantic_templates Emissions data: question templates
Use this when you want to see what the verified emissions data can answer, before semantic_query.
credits_balance Credit balance (deprecated)
Deprecated: use billing_status (also shows plan and free allowance). Removal planned for 0.9.x.
list_standards List supported standards
Use this when you need the standards and versions validate_data can check.
validate_data Validate data against a named standard
Use this when a payload needs checking against a non-Open-Footprint standard; call list_standards first. For Open Footprint use ofp_validate. Costs 1 credit ($0.01). Only masterData or referenceData.
| Parameter | Type | Description |
|---|---|---|
data * | object | |
standard * | string | |
entityType | string | |
schemaCategory | string | |
version | string |
keri_identity Verified agent identity (vLEI)
Use this when an organisation needs to confirm which verified legal entity and agent identity calls are attributed to. Only with vLEI configured.
ofp_models Open Footprint: list model domains
Use this when building on Open Footprint and you need to know what the model covers. Start here before other ofp_ tools. The response summary carries the served counts.
ofp_search_entities Open Footprint: search entities
Use this when you need the Open Footprint entity for a concept ("Scope 3 emissions"). Not for emission factors or calculations. Matches names, descriptions and fields; ofp_entity gives the full definition.
| Parameter | Type | Description |
|---|---|---|
domain | string | |
limit | integer | |
q | string |
ofp_entity Open Footprint: get entity definition
Use this when you need one entity's fields, types, keys and relationships. Pass domain when known: ambiguous names fail rather than resolve (ofp_models: ambiguousNameCount).
| Parameter | Type | Description |
|---|---|---|
name * | string | |
domain | string |
ofp_sectors Open Footprint: list industry sectors
Use this when a user asks which industries Open Footprint covers or a sector's implementation status. implemented means a reference implementation exists; planned/placeholder: nothing published.
| Parameter | Type | Description |
|---|---|---|
axis | string |
ofp_sector Open Footprint: get sector
Use this when you need one sector's classification, status and reference artifacts.
| Parameter | Type | Description |
|---|---|---|
id * | string |
ofp_policies Open Footprint: sector guardrails
Use this when a user asks which validation rules apply to a sector's records. For regulations use compliance_policies. inputs lists e-ledger fields policies read (e.g. co2e_kg), not canonical names. published:false means no rules; never invent guardrails.
| Parameter | Type | Description |
|---|---|---|
id * | string |
compliance_policies Regulatory checks: list policies
Use this when data needs checking against a regulation (e.g. EU CBAM): find the approved policy. For sector rules use ofp_policies. Only APPROVED policies appear. Empty means none published, not no obligations; never invent rules. Requires compliance:read.
| Parameter | Type | Description |
|---|---|---|
domain | string | |
framework | string | |
include_retired | boolean |
compliance_policy Regulatory checks: get policy
Use this when you need one approved regulatory policy's rules, provenance and coverage. Rego only when the source was retained; else rego_unavailable: source_not_retained, the engine cannot load it, and enforcement says whether structured rules run. Never reconstruct Rego. Requires compliance:read.
| Parameter | Type | Description |
|---|---|---|
id * | string |
compliance_evaluate Regulatory checks: evaluate record or CBAM declaration
Use this when an import record or annual EU CBAM declaration (Reg. (EU) 2023/956) needs an approved-policy check before filing. Not for footprint calculations or unlisted regulations. Runs regulation-derived Rego, not the generic OFP validator. Decision: passed, denied, unevaluable, not_applicable or error (a refusal, never compliance; error.code: policy_not_release_eligible, policy_no_rendered_checks, policy_no_faithful_checks, policy_coverage_inconsistent). A pass covers only the encoded checks: read coverage.note. Requires the compliance:evaluate scope; calls count against the plan limit.…
| Parameter | Type | Description |
|---|---|---|
policy_id * | string | |
context | object | |
declaration | object | |
entity | object | |
entity_type | string | |
evidence | array | |
lines | array |
compliance_evaluation Regulatory checks: get stored result
Use this when a user wants to retrieve or audit a previous evaluation by its id. Readable only by the caller who ran it. Requires compliance:read.
| Parameter | Type | Description |
|---|---|---|
evaluation_id * | string |
compliance_policy_register Regulatory checks: what a policy covers
Use this when a user asks which provisions of a regulation an evaluation checks. Encoded vs excluded provisions: a pass says nothing about excluded ones. Requires compliance:read.
| Parameter | Type | Description |
|---|---|---|
id * | string |
ofp_validate Validate data against Open Footprint
Use this when an emissions or footprint record (JSON) needs checking against Open Footprint or sector guardrails before storing or reporting. Not for data-quality questions without a payload. Costs 1 credit ($0.01). Checks structure, constraints, enums and calculations; with a sector, its guardrails. Per call read `checked`, `checks_not_run` and `schema.coverage.constraintsDeclared`. Not checked: undeclared ranges, unit coherence, referential integrity, factor provenance. Compliant only if sector_policy is in `checked` and policy.outcome is passed. `schemaValid` is structural; `valid` is depr…
| Parameter | Type | Description |
|---|---|---|
entity * | string | |
payload * | object | |
domain | string | |
entityType | string | |
sector | string |
ofp_semantics Open Footprint: semantic codes for mapping
Use this when mapping fields from SAP, an ERP or a supplier feed onto Open Footprint. High fieldCount is generic; pass maxFieldCount (start at 10) to see only precise codes.
| Parameter | Type | Description |
|---|---|---|
maxFieldCount | integer |
ofp_semantic_code Open Footprint: fields for a semantic code
Use this when you have a source-system field and need its place in the Open Footprint model. Codes on many fields are generic; aligning to one asserts less than it appears.
| Parameter | Type | Description |
|---|---|---|
code * | string |
ofp_model_provenance Open Footprint: model version
Use this when a user asks which Open Footprint version or extension packs this snapshot serves. Reports the source commit and per-pack id, kind, version, status, core range and regulations. Gate adoption on status: drafts are for review, not adoption.
ofp_units Open Footprint: unit dictionary
Use this when you need unit codes before converting or validating. No args lists quantity types; quantity lists its units; code resolves one symbol or alias. detail=full is large; prefer summary. Unresolved codes answer 422 with candidates; unambiguous case/notation variants resolve.
| Parameter | Type | Description |
|---|---|---|
code | string | |
detail | string | |
limit | integer | |
offset | integer | |
quantity | string |
ofp_convert Open Footprint: convert units
Use this when a measurement needs converting between units (kWh to MJ, bbl to m3). Resolve unsure codes with ofp_units first. Answers {value, unit, provenance}; keep provenance. A 422 refusal is data: error (unresolved_unit, incompatible_dimension, assumption_required, invalid_conversion_parameters) + detail; read it, do not blind-retry. Volume to energy/mass needs a declared assumption (calorificValue or density); the detail names required fields — never invent. dictionary ([name@]version) is a pin; mismatches refuse. Not CO2e.
| Parameter | Type | Description |
|---|---|---|
fromUnit * | string | |
toUnit * | string | |
value * | number | |
assumption | object | |
dictionary | string |
billing_plans Plans and prices
Use this when you need dVeracity costs, the free allowance, or options to show after a payment-required response. Credit packs, per-credit price and free allowance (anonymous).
billing_status Account balance and plan
Use this when a call was refused for credits or plan, to tell the user what is missing. Use it after a 402 to tell your human what is missing.
billing_purchase Start a credit purchase (human pays)
Use this when the user agrees to buy credits; returns a link the user must complete. No charge until a human pays; do not retry the metered tool after a 402.
| Parameter | Type | Description |
|---|---|---|
credit_pack | string | |
offer_id | string |
billing_subscribe Start a subscription (human approves)
Use this when the user wants a membership; returns a checkout link the user must complete. Recurring charges need human approval; never complete the checkout yourself.
| Parameter | Type | Description |
|---|---|---|
plan * | string |