Link Keys
List all discovered link keys with their classification category and frequency. Link keys are field-level entity identifiers used for document linking.
The linking graph connects documents through shared entity values — an invoice and a contract sharing the same customer ID are linked. The API exposes the bipartite document-entity graph: link keys (field-level entity identifiers), document-level links, the full graph, document-centric subgraphs, classification (identity, transaction, reference), backfill, and document-to-case mapping.
Link keys are the fields that the linking engine uses to discover connections between documents. Each link key has a classification category — identity (e.g. vendor ID, customer number), transaction (e.g. invoice number, PO number), or reference (e.g. contract reference). Use this endpoint to inspect which fields are currently recognized as link keys and how frequently they appear across your documents.
/v1/linking/link-keysResponse
Response fields
Response
{
"data": [
{
"id": "freg_uuid_1",
"canonical_name": "customer_id",
"display_name": "Customer ID",
"data_type": "string",
"link_key_category": "identity",
"occurrence_count": 142
},
{
"id": "freg_uuid_2",
"canonical_name": "invoice_number",
"display_name": "Invoice Number",
"data_type": "string",
"link_key_category": "transaction",
"occurrence_count": 87
}
]
}Errors
Error responses