Skip to main content

Fields Endpoint Reference

Reference for 2 Fields endpoints of the Talonic API: parameters, request body, curl and Node.js examples, response and errors.

Canonical field definitions discovered across the customer's documents, plus harmonization across schemas.

Every request needs an API key in the Authorization: Bearer header. Examples read the key from the TALONIC_API_KEY environment variable.

POST/v1/registry/query
This endpoint is deprecated.

Request body (application/json)

where*object
selectstring[]
limitinteger Default: 100

curl

curl -X POST 'https://api.talonic.com/v1/registry/query' \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "where": {},
  "select": [
    "string"
  ],
  "limit": 100
}'

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/registry/query", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "where": {},
    "select": [
      "string"
    ],
    "limit": 100
  }),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON body

Response 200: { data: row[], total }

GET/v1/registry/health
This endpoint is deprecated.

curl

curl -X GET 'https://api.talonic.com/v1/registry/health' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/registry/health", {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON body

Response 200: Registry health snapshot