Skip to main content

Data Products Endpoint Reference

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

Curated, quality-gated output datasets built from completed runs — results, CSV exports, sharing, and the governed read contract.

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

PUT/v1/data-products/{id}/definition

Required scope: products:write

Path parameters

id*string (uuid)

Request body (application/json)

definition*objectThe full definition: identity, roles and readiness rules.
expected_definition_versionintegerThe version you edited.

curl

curl -X PUT 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/definition' \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "definition": {},
  "expected_definition_version": 1
}'

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/definition", {
  method: 'PUT',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "definition": {},
    "expected_definition_version": 1
  }),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "product_key": "string",
  "definition": {},
  "definition_version": 1,
  "updated_at": "2026-01-15T09:30:00Z"
}
  • 400 — The request is invalid.
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 409 — The request conflicts with the current resource state.
  • 429 — Daily rate limit exceeded.
GET/v1/data-products/{id}/runs

Required scope: products:read

Path parameters

id*string (uuid)

curl

curl -X GET 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs", {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "name": "string",
      "status": "string",
      "user_schema_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "schema_name": "string",
      "total_documents": 1,
      "completed_documents": 1,
      "failed_documents": 1,
      "created_at": "2026-01-15T09:30:00Z",
      "completed_at": "2026-01-15T09:30:00Z"
    }
  ]
}
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
POST/v1/data-products/{id}/runs

Required scope: products:write

Path parameters

id*string (uuid)

Request body (application/json)

run_id*string (uuid)

curl

curl -X POST 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs' \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 201 — The product with its updated `run_ids`.

{}
  • 400 — The request is invalid.
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
DELETE/v1/data-products/{id}/runs/{runId}

Required scope: products:write

Path parameters

id*string (uuid)
runId*string (uuid)

curl

curl -X DELETE 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
  method: 'DELETE',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — The product with its updated `run_ids`.

{}
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
GET/v1/data-products/{id}/pending-resolutions

Required scope: products:read

Path parameters

id*string (uuid)

curl

curl -X GET 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/pending-resolutions' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/pending-resolutions", {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{
  "data_product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "data_product_name": "string",
  "documents": [
    {}
  ],
  "total_pending": 1,
  "total_reviewed": 1
}
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
POST/v1/data-products/{id}/resolve-field

Required scope: products:write

Path parameters

id*string (uuid)

Request body (application/json)

document_id*string (uuid)
field_name*string
canonical_value*string
selection_method*stringHow the value was chosen, for example run or manual.
source_values*object[]

curl

curl -X POST 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/resolve-field' \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "document_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "field_name": "string",
  "canonical_value": "string",
  "selection_method": "string",
  "source_values": [
    {
      "run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "run_name": "string",
      "value": null,
      "confidence": 1.5
    }
  ]
}'

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/resolve-field", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "document_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "field_name": "string",
    "canonical_value": "string",
    "selection_method": "string",
    "source_values": [
      {
        "run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "run_name": "string",
        "value": null,
        "confidence": 1.5
      }
    ]
  }),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 201 — The recorded decision.

{}
  • 400 — The request is invalid.
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
POST/v1/data-products/{id}/auto-review

Required scope: products:write

Path parameters

id*string (uuid)

curl

curl -X POST 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/auto-review' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/auto-review", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{
  "recommendations": {},
  "stats": {
    "documents_reviewed": 1,
    "fields_reviewed": 1,
    "duration_ms": 1
  }
}
  • 400 — The request is invalid.
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
POST/v1/data-products/{id}/auto-resolve-singles

Required scope: products:write

Path parameters

id*string (uuid)

curl

curl -X POST 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/auto-resolve-singles' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/auto-resolve-singles", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{
  "resolved": 1
}
  • 400 — The request is invalid.
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
POST/v1/data-products/{id}/apply-id-rules

Required scope: products:write

Path parameters

id*string (uuid)

Request body (application/json)

rulesobject[]

curl

curl -X POST 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/apply-id-rules' \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "rules": [
    {
      "target_field": "string",
      "condition": "empty",
      "source_field": "string",
      "format": "{value}{seq:6}",
      "sequence_scope": "per_value",
      "resolution_map": {},
      "unresolved_behavior": "passthrough",
      "fallback_chain": [
        {}
      ],
      "cross_product": true
    }
  ]
}'

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/apply-id-rules", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "rules": [
      {
        "target_field": "string",
        "condition": "empty",
        "source_field": "string",
        "format": "{value}{seq:6}",
        "sequence_scope": "per_value",
        "resolution_map": {},
        "unresolved_behavior": "passthrough",
        "fallback_chain": [
          {}
        ],
        "cross_product": true
      }
    ]
  }),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{}
  • 400 — The request is invalid.
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
POST/v1/data-products/{id}/regenerate-ids

Required scope: products:write

Path parameters

id*string (uuid)

curl

curl -X POST 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/regenerate-ids' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/regenerate-ids", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{}
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
GET/v1/data-products/{id}/generated-ids

Required scope: products:read

Path parameters

id*string (uuid)

curl

curl -X GET 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/generated-ids' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/generated-ids", {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{}
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
GET/v1/data-products/{id}/sequence-counters

Required scope: products:read

Path parameters

id*string (uuid)

curl

curl -X GET 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/sequence-counters' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/sequence-counters", {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{}
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
PATCH/v1/data-products/{id}/sequence-counters/{targetField}/{prefix}

Required scope: products:write

Path parameters

id*string (uuid)
targetField*stringThe field the IDs are written to.
prefix*stringThe counter's prefix.

Request body (application/json)

value*integer
scope*string ("product", "cross")cross for a counter shared across products.

curl

curl -X PATCH 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/sequence-counters/targetField/prefix' \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "value": 1,
  "scope": "product"
}'

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/sequence-counters/targetField/prefix", {
  method: 'PATCH',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "value": 1,
    "scope": "product"
  }),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{}
  • 400 — The request is invalid.
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.
GET/v1/data-products/{id}/sequence-counters/{targetField}/{prefix}/ids

Required scope: products:read

Path parameters

id*string (uuid)
targetField*stringThe field the IDs are written to.
prefix*stringThe counter's prefix.

Query parameters

scopestring ("product", "cross")Counter scope. Default: product
limitintegerPage size.
offsetintegerRows to skip.

curl

curl -X GET 'https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/sequence-counters/targetField/prefix/ids' \
  -H "Authorization: Bearer $TALONIC_API_KEY"

Node.js (18+)

const res = await fetch("https://api.talonic.com/v1/data-products/3fa85f64-5717-4562-b3fc-2c963f66afa6/sequence-counters/targetField/prefix/ids", {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
  },
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();

Response 200 — OK

{}
  • 401 — Missing or invalid API key.
  • 403 — The API key does not have the required scope.
  • 404 — The requested resource was not found.
  • 429 — Daily rate limit exceeded.