Resolve Bindings
POST /v1/binding-resolutions tells you which fields in your workspace can supply the target fields you name, with ranked mappings and the evidence behind each.
Ask which fields Talonic already knows in your workspace can supply the target fields you need, and on what evidence. For each target you name, POST /v1/binding-resolutions returns ranked binding plans: mappings from one or more workspace fields onto the target, each graded against your own documents. It is for developers and agents (often over MCP) that want to check a mapping before relying on it, for example before adding a field to a Spec or a delivery.
Send targets[] with 1 to 100 entries of { field_key, data_type?, description? }. field_key (up to 200 characters) is the field you want supplied. data_type (up to 200 characters) and description (up to 2000 characters) say what the field means, and they matter: a description is the best protection against a mapping that only looks right because two names are similar, such as a policy number mapped to a contract ID.
min_trust sets how well proven a plan must be before Talonic stops looking: inferred (default) accepts a plan based on names, mined requires a plan tested against your documents, and verified requires a plan already confirmed in your workspace. allow_llm (default false) lets Talonic propose a plan from the target's name, type and description when nothing in your data supports one. Those proposals are slower and cost more, so leave it off for routine lookups. Where your deployment does not offer them, the flag is ignored, so it is always safe to send.
The route needs only `read` scope, like POST /v1/registry/query, because it changes none of your data. Nothing on this endpoint activates, retires or verifies a plan, and no document ID or extracted value is returned. The one lasting effect is that each proposed plan is saved as an inactive candidate, so asking the same question again is answered quickly and at no extra cost. A candidate plan does nothing until it is approved in your workspace.
The call must be scoped to a single organization. A key working across all organizations is rejected with 400 ("Select one tenant for binding resolution") before anything runs. A successful call returns 200, not 201: you are asking a question, not creating a resource you manage.
bindings[] array, never omitted. resolutions[] always has exactly one entry per requested target, in request order, so you can pair the response with your targets by index./v1/binding-resolutionsBody fields
{ field_key, data_type?, description? }.falseinferred, mined or verified. Default: inferredcurl
curl -s -X POST https://api.talonic.com/v1/binding-resolutions \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"targets": [
{
"field_key": "invoice_number",
"data_type": "string",
"description": "The vendor invoice number as printed on the document header"
},
{ "field_key": "total_gross_amount", "data_type": "number" }
],
"min_trust": "mined"
}'Response (200)
{
"resolutions": [
{
"field_key": "invoice_number",
"bindings": [
{
"plan_id": "4a6c8e0b-2d4f-4a7c-9e1b-3f5d7a9c1e3b",
"trust": "mined",
"status": "candidate",
"ladder": "L2",
"evidence": {
"n": 184,
"agree": 179,
"agreement": 0.9728,
"ci95_low": 0.9391,
"distinct_values": 172,
"method": "mining",
"notes": null
},
"sources": [
{
"registry_id": "9b1d3f5a-7c9e-4b2d-8a4c-6e0f2b4d6a8c",
"role": "rechnungsnummer",
"canonical_name": "Rechnungsnummer"
}
],
"combine": "first_of",
"guard": {
"doc_type_id_in": null,
"doc_type_name_in": ["Rechnung", "Invoice"]
}
}
]
},
{
"field_key": "total_gross_amount",
"bindings": []
}
]
}With an agent
No agent tool for this endpoint: call the API from your agent. Example request: "Which of my fields can supply invoice_number and total_gross_amount, and how sure are you?"
Limits and costs
Up to 100 targets per call, with the length caps above. Calls count against the daily quota for read requests. Repeat questions are answered from saved plans. For credit costs see Billing, credits and usage.
Errors
Error responses
targets array, or a field over its length cap.Frequently asked questions
Why does a POST only need read scope?+
When should I set allow_llm to true?+
bindings[] and you have given it a good description. Talonic then proposes a plan from the name, type and description, and grades it against your documents like any other. It is slower and costs more, so keep it off for routine lookups.Does calling this endpoint change my Runs?+
candidate, which is inactive: Runs use only plans your workspace has activated. It is safe for agents to call speculatively.What does an empty bindings[] array mean?+
min_trust for that target. It is an answer, not an error, and the target still appears in resolutions[] in request order. Add a description and set allow_llm, or lower min_trust to see less proven options.