Apps Endpoint Reference
Reference for 101 Apps endpoints of the Talonic API: parameters, request body, curl and Node.js examples, response and errors.
Talonic Apps — governed decision apps over published data (manifest, versions, runs, replays, reviews, teams, and grants).
Every request needs an API key in the Authorization: Bearer header. Examples read the key from the TALONIC_API_KEY environment variable.
/v1/apps/{id}/decision-tasksPath parameters
Query parameters
50curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/decision-tasks' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/decision-tasks", {
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 — Cursor-paginated decision-task metadata. The frozen input package is never inlined.
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "available",
"execution_epoch": 1,
"input_package_ref": "string",
"lease_seconds": 1,
"claimed_by": "string",
"claimed_at": "2026-01-15T09:30:00Z",
"lease_expires_at": "2026-01-15T09:30:00Z",
"heartbeat_at": "2026-01-15T09:30:00Z",
"sla_deadline_at": "2026-01-15T09:30:00Z",
"submitted_at": "2026-01-15T09:30:00Z"
}
],
"pagination": {
"has_more": true,
"next_cursor": "string"
}
}- 400 — The request is invalid.
- 401 — Missing or invalid API key.
- 403 — The API key does not have the required scope.
- 429 — Daily rate limit exceeded.
/v1/decision-tasks/{id}/heartbeatPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/heartbeat' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"execution_epoch": 1
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/heartbeat", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"execution_epoch": 1
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Updated task metadata.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "available",
"execution_epoch": 1,
"input_package_ref": "string",
"lease_seconds": 1,
"claimed_by": "string",
"claimed_at": "2026-01-15T09:30:00Z",
"lease_expires_at": "2026-01-15T09:30:00Z",
"heartbeat_at": "2026-01-15T09:30:00Z",
"sla_deadline_at": "2026-01-15T09:30:00Z",
"submitted_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.
/v1/decision-tasks/{id}/submitPath parameters
Request body (application/json)
single: validated against the task's output contract. verdict_matrix: { subjects: [{ subject_key, rule_outcomes: { <rule id>: passed | failed | indeterminate }, auto?, detail? }] } over the version's declared logic.rules; rolled_outcome, substantive_passes and auto are recomputed by the platform (a disagreeing advisory auto is journaled decision_rejected and overridden). record_set: { fields: [{ key, label?, data_type }], records: [{ source_record_id?, values }] } (key must match ^[a-z][a-z0-9_]{0,63}$ and data_type one of string, number, date, boolean, object, array; a submission violating either is rejected as decision_rejected), where each entry of values is either a bare value or { value, confidence?, status? } (status one of filled, empty, flagged, pending_approval). Under the version's record_set_output.mode = derive the platform materializes a NEW app_run record set and ignores confidence/status; under mode = promote it appends cell versions into record_set_output.target (an app_run set the app holds a write grant on), matching rows by source_record_id against the target's record ids and columns against the target's fields, under the version's autonomy contract (observe rejects any value output, propose lands cells pending_approval, a value below confidence_floor is flagged and not written). Whole body ≤ apps.submit_max_bytes (413).db:{connectionId}:{table}:{rowKey}:{column} / ref:{referenceDataId}:{rowKey}:{column} against a resource the app holds a read grant on: such locators are accepted as attestations (recorded { locator, external: true }, journaled evidence_attested, never resolved). Anything else is 422 evidence_outside_grants; api: is reserved. An empty block is accepted only when the app allows unevidenced decisions.decided_by.label.curl
curl -X POST 'https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/submit' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"execution_epoch": 1,
"outcome": {},
"confidence": 1.5,
"evidence": [
"string"
],
"rationale": "string",
"service_version": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/submit", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"execution_epoch": 1,
"outcome": {},
"confidence": 1.5,
"evidence": [
"string"
],
"rationale": "string",
"service_version": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Submitted task metadata.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "available",
"execution_epoch": 1,
"input_package_ref": "string",
"lease_seconds": 1,
"claimed_by": "string",
"claimed_at": "2026-01-15T09:30:00Z",
"lease_expires_at": "2026-01-15T09:30:00Z",
"heartbeat_at": "2026-01-15T09:30:00Z",
"sla_deadline_at": "2026-01-15T09:30:00Z",
"submitted_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.
- 413 — The uploaded file exceeds the size limit.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
/v1/decision-tasks/{id}/releasePath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/release' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"execution_epoch": 1
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/release", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"execution_epoch": 1
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Released task metadata.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "available",
"execution_epoch": 1,
"input_package_ref": "string",
"lease_seconds": 1,
"claimed_by": "string",
"claimed_at": "2026-01-15T09:30:00Z",
"lease_expires_at": "2026-01-15T09:30:00Z",
"heartbeat_at": "2026-01-15T09:30:00Z",
"sla_deadline_at": "2026-01-15T09:30:00Z",
"submitted_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.
/v1/decision-tasks/{id}/failPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/fail' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"execution_epoch": 1,
"reason": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/decision-tasks/3fa85f64-5717-4562-b3fc-2c963f66afa6/fail", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"execution_epoch": 1,
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Failed task metadata.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "available",
"execution_epoch": 1,
"input_package_ref": "string",
"lease_seconds": 1,
"claimed_by": "string",
"claimed_at": "2026-01-15T09:30:00Z",
"lease_expires_at": "2026-01-15T09:30:00Z",
"heartbeat_at": "2026-01-15T09:30:00Z",
"sla_deadline_at": "2026-01-15T09:30:00Z",
"submitted_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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
/v1/apps/pickable-clientscurl
curl -X GET 'https://api.talonic.com/v1/apps/pickable-clients' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/pickable-clients", {
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 — Pickable API keys
{
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"label": "string",
"sublabel": "string"
}
]
}- 401 — Missing or invalid API key.
- 403 — Requires an owner-tier principal
/v1/apps/pickable-resourcesQuery parameters
type=app listings (an app never grants itself).curl
curl -X GET 'https://api.talonic.com/v1/apps/pickable-resources?type=data_product' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/pickable-resources?type=data_product", {
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 — Up to 200 selectable resources for the requested type, tenant-scoped.
{
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"label": "string",
"sublabel": "string"
}
]
}- 401 — Missing or invalid API key.
- 422 — Unknown resource type.
/v1/apps/importRequest body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/import' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "string",
"display_name": "string",
"mode": "rules",
"content": {},
"export_version": 1
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/import", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"slug": "string",
"display_name": "string",
"mode": "rules",
"content": {},
"export_version": 1
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 201 — The created app's manifest plus the saved draft version.
{
"app": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"slug": "string",
"display_name": "string",
"version": 1,
"content_hash": "string",
"mode": "rules",
"enabled": true,
"standard": true,
"contract": {
"reads": [
"string"
],
"acts": [
"string"
]
},
"output_contract": {},
"input_schema": {},
"triggers": {},
"thresholds": {}
},
"draft": {
"version": 1,
"status": "string",
"content_hash": "string"
}
}- 409 — The request conflicts with the current resource state.
- 422 — The request is well-formed but violates the declared task contract.
/v1/apps/from-urlRequest body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/from-url' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"manifest_url": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/from-url", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"manifest_url": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 201 — The new app's manifest, the stored version, and the validation outcome.
{
"app": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"slug": "string",
"display_name": "string",
"version": 1,
"content_hash": "string",
"mode": "rules",
"enabled": true,
"standard": true,
"contract": {
"reads": [
"string"
],
"acts": [
"string"
]
},
"output_contract": {},
"input_schema": {},
"triggers": {},
"thresholds": {}
},
"version": {
"version": 1,
"status": "string",
"content_hash": "string",
"manifest_path": "well-known",
"fetched_at": "2026-01-15T09:30:00Z"
},
"validation": {
"valid": true,
"mode": "url",
"violations": [
{
"pointer": "string",
"keyword": "string",
"message": "string"
}
],
"normalized": {},
"manifest_url": "string",
"manifest_path": "well-known"
}
}- 403 — The API key does not have the required scope.
- 409 — The slug, or this manifest_url, is already registered in the workspace.
- 422 —
schema_validation_failed(the manifest fails validation) ormanifest_fetch_failed(the URL could not be fetched); both carrydetails: { error, violations: AppManifestViolation[] }.
/v1/apps/{id}Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/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()}`);
// 200: no JSON bodyResponse 200: Deleted.
- 409 — The request conflicts with the current resource state.
/v1/apps/{id}Path parameters
Request body (application/json)
curl
curl -X PATCH 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"content": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Draft version summary.
- 422 — The request is well-formed but violates the declared task contract.
/v1/apps/{id}/logicPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/logic' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/logic", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Draft + active version content.
/v1/apps/{id}/logicPath parameters
Request body (application/json)
curl
curl -X PUT 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/logic' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/logic", {
method: 'PUT',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"content": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Draft version summary.
/v1/apps/{id}/acceptancePath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/acceptance' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/acceptance", {
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 — `{ acceptance }` — null when none has been saved.
{
"acceptance": {}
}- 501 — Acceptance sets are not available in this deployment.
/v1/apps/{id}/acceptance/checkPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/acceptance/check' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/acceptance/check", {
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 — The check result.
{
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"evaluated": 1,
"matched": 1,
"skipped": 1,
"score": 1.5,
"tolerance": 1.5,
"pass": true,
"mismatches": [
{}
],
"warnings": [
"string"
]
}- 422 — The request is well-formed but violates the declared task contract.
- 501 — Acceptance sets are not available in this deployment.
/v1/apps/{id}/edit-proposalsPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/edit-proposals' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"instruction": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/edit-proposals", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"instruction": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The proposal — ops, summary, open questions, warnings, and a diff preview (not persisted).
{
"ops": [
{}
],
"summary": "string",
"open_questions": [
"string"
],
"warnings": [
"string"
],
"preview": {}
}- 501 — Natural-language editing is not available in this deployment.
/v1/apps/{id}/edit-proposals/applyPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/edit-proposals/apply' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ops": [
{}
]
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/edit-proposals/apply", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"ops": [
{}
]
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The updated draft content plus the ops actually applied.
{
"content": {},
"applied": [
{}
],
"warnings": [
"string"
],
"compile_warnings": [
"string"
]
}- 422 — The request is well-formed but violates the declared task contract.
- 501 — Natural-language editing is not available in this deployment.
/v1/apps/{id}/versionsPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Versions
/v1/apps/{id}/versions/{n}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The version row.
- 404 — The requested resource was not found.
/v1/apps/{id}/exportPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/export' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/export", {
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 — The environment-free manifest.
{
"export_version": 1,
"app": {
"slug": "string",
"display_name": "string",
"mode": "rules"
},
"version": 1,
"content": {}
}- 404 — The requested resource was not found.
- 409 — The app has no published version.
/v1/apps/{id}/duplicatePath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/duplicate' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "string",
"display_name": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/duplicate", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"slug": "string",
"display_name": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 201 — The new app's manifest plus the saved draft version.
{
"app": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"slug": "string",
"display_name": "string",
"version": 1,
"content_hash": "string",
"mode": "rules",
"enabled": true,
"standard": true,
"contract": {
"reads": [
"string"
],
"acts": [
"string"
]
},
"output_contract": {},
"input_schema": {},
"triggers": {},
"thresholds": {}
},
"draft": {
"version": 1,
"status": "string",
"content_hash": "string"
}
}- 409 — The request conflicts with the current resource state.
- 422 — The request is well-formed but violates the declared task contract.
/v1/apps/{id}/versions/{n}/publishPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1/publish' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1/publish", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Published version summary.
- 409 — The request conflicts with the current resource state.
/v1/apps/{id}/versions/{n}/activatePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1/activate' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/versions/1/activate", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Already active.
- 501 — Rollback activation of a superseded version is not implemented yet.
/v1/apps/{id}/enablePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/enable' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/enable", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Enabled.
- 403 — The API key does not have the required scope.
- 409 — The request conflicts with the current resource state.
/v1/apps/{id}/disablePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/disable' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/disable", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Disabled.
/v1/apps/{id}/trigger-floorPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/trigger-floor' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"at": "2026-01-15T09:30:00Z"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/trigger-floor", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"at": "2026-01-15T09:30:00Z"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The stored floor.
{
"trigger_floor_at": "2026-01-15T09:30:00Z"
}- 400 — The request is invalid.
/v1/apps/{id}/refreshPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/refresh' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/refresh", {
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 — The vendor's document was read.
{
"changed": true,
"version": 1
}- 403 — The API key does not have the required scope.
- 404 — The requested resource was not found.
- 409 — The app is not hosted (source is pushed) — there is no manifest URL to refresh.
- 422 — The fetch or the validation of the served document failed.
messagestartsrefresh_failed:followed by the reason (for examplerefresh_failed: invalid_manifest: /subscriptions_endpoint must lie in an origin the manifest vouches for (...));detailscarries{ changed: false, error }; the same reason is recorded on the app aslast_fetch_error.
/v1/apps/{id}/hostPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/host' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"manifest_url": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/host", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"manifest_url": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Hosted.
{
"changed": true,
"version": 1,
"app": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"slug": "string",
"display_name": "string",
"version": 1,
"content_hash": "string",
"mode": "rules",
"enabled": true,
"standard": true,
"contract": {
"reads": [
"string"
],
"acts": [
"string"
]
},
"output_contract": {},
"input_schema": {},
"triggers": {},
"thresholds": {}
}
}- 403 — The API key does not have the required scope.
- 404 — The requested resource was not found.
- 409 — The app is already hosted.
- 422 — The manifest could not be fetched or does not validate; carries
details: { error, violations: AppManifestViolation[] }exactly asPOST /v1/apps/from-urldoes.
/v1/apps/{id}/installPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install", {
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 — The install, or null when the app was never installed.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
}
}- 403 — The API key does not have the required scope.
/v1/apps/{id}/installPath parameters
Request body (application/json)
subscriptions_endpoint, retyped by the owner (§B13.2 check 2). Required, and compared byte-for-byte, whenever the active version subscribes to anything.{ "<alias>": "<uuid>" | "self" } — one entry per non-optional, non-self-scope slot the manifest's requires[] declares (see AppManifest.requires).curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"surface_url": "string",
"allowed_origin": "string",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"key_name": "string",
"confirm_subscriptions_endpoint": "string",
"bindings": {
"invoices": "3f9c9e3a-1b2c-4d5e-8f60-1234567890ab"
}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"surface_url": "string",
"allowed_origin": "string",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"key_name": "string",
"confirm_subscriptions_endpoint": "string",
"bindings": {
"invoices": "3f9c9e3a-1b2c-4d5e-8f60-1234567890ab"
}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 201 — Installed. The service key AND the subscription signing secret appear here and nowhere else.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
},
"service_key": "string",
"masked_prefix": "string",
"subscription_secret": "string",
"subscriptions": {
"status": "pending_verification",
"verified": true,
"reason": "string",
"count": 1
},
"warning": "string"
}- 400 — The bindings or the endpoint confirmation are incomplete;
messagestarts with one ofendpoint_not_confirmed:(confirm_subscriptions_endpoint missing or not byte-equal to the manifest's subscriptions_endpoint),slot_unbound:(a required, non-selfslot has no binding), orslot_unknown:(a bindings alias the manifest does not declare). - 403 — The API key does not have the required scope.
- 409 — The request conflicts with the current resource state.
- 422 — A required grant target, or a bound requirement-slot resource, does not exist here, or the origin is not admissible.
/v1/apps/{id}/installPath parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install", {
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 — Uninstalled.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
}
}- 403 — The API key does not have the required scope.
- 404 — The requested resource was not found.
/v1/apps/{id}/installPath parameters
Request body (application/json)
slot_unknown: for an alias the approved manifest does not declare; 400 endpoint_not_confirmed: when the binding would give the install its first subscriptions (approve the version instead); 409 install_not_ready: while a newer version awaits approval — send bindings with POST .../install/approve then.curl
curl -X PATCH 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"surface_url": "string",
"allowed_origin": "string",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"bindings": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"surface_url": "string",
"allowed_origin": "string",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"bindings": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Updated.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
}
}- 400 — slot_unknown: / endpoint_not_confirmed: (see the bindings field).
- 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.
- 422 — The origin is not admissible for the bound OAuth client, OR (hosted apps only)
hosted_surface_fixed:—surface_urlwas sent for a hosted app; its surface comes from the manifest and moves only when a new version is approved.
/v1/apps/{id}/install/statusPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/status' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/status", {
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 — Own-install status.
{
"status": "installed",
"approved_version": 1,
"pending_approval_version": 1,
"subscriptions": [
{
"event_type": "string",
"match": {},
"status": "pending_verification",
"verified_at": "2026-01-15T09:30:00Z",
"last_delivery_at": "2026-01-15T09:30:00Z",
"failure_count": 1
}
],
"bindings": [
{
"alias": "string",
"kind": "string",
"resource_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}- 403 — The API key does not have the required scope.
/v1/apps/{id}/install/diffPath parameters
Query parameters
fetched candidate of a hosted app to diff against (several may await review at once); defaults to the install's pending_approval_version.curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/diff' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/diff", {
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 — The install diff.
{
"approved_version": 1,
"pending_version": 1,
"grants": {
"added": [
{
"kind": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"access": "string"
}
],
"removed": [
{
"kind": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"access": "string"
}
]
},
"subscriptions": {
"added": [
{
"event": "string",
"match": {}
}
],
"removed": [
{
"event": "string",
"match": {}
}
]
},
"endpoint": {
"from": "string",
"to": "string",
"changed": true
},
"scopes": {
"from": [
"string"
],
"to": [
"string"
]
},
"surface_url": {
"from": "string",
"to": "string",
"changed": true
},
"slots": {
"added": [
{
"alias": "string",
"kind": "string",
"access": "read",
"purpose": "string",
"optional": true,
"scope": "self"
}
],
"removed": [
{
"alias": "string",
"kind": "string",
"access": "read",
"purpose": "string",
"optional": true,
"scope": "self"
}
],
"unchanged": [
{
"alias": "string",
"kind": "string",
"access": "read",
"purpose": "string",
"optional": true,
"scope": "self"
}
]
},
"allowed_origins": {
"from": [
"string"
],
"to": [
"string"
]
},
"identity": {
"from": {
"name": "string",
"display_name": "string",
"description": "string",
"version": "string",
"homepage": "string",
"icon": "string"
},
"to": {
"name": "string",
"display_name": "string",
"description": "string",
"version": "string",
"homepage": "string",
"icon": "string"
}
}
}- 403 — The API key does not have the required scope.
- 404 — The requested resource was not found.
- 422 — version is not a positive integer.
/v1/apps/{id}/install/approvePath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/approve' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"version": 1,
"confirm_subscriptions_endpoint": "string",
"bindings": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/approve", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"version": 1,
"confirm_subscriptions_endpoint": "string",
"bindings": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Approved.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
},
"subscription_secret": "string",
"subscriptions": {
"status": "pending_verification",
"verified": true,
"reason": "string",
"count": 1
}
}- 400 — endpoint_not_confirmed: / slot_unbound: / slot_unknown: (see the request fields).
- 403 — The API key does not have the required scope.
- 404 — The requested resource was not found.
- 409 — Not installed, OR a newer version has since been published (compare-and-set on the version the owner read).
- 422 — A bound requirement-slot resource does not exist here, or the origin/manifest is not admissible.
/v1/apps/{id}/install/verify-subscriptionsPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/verify-subscriptions' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/verify-subscriptions", {
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 — Challenge re-run.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
},
"subscriptions": {
"status": "pending_verification",
"verified": true,
"reason": "string",
"count": 1
}
}- 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.
/v1/apps/{id}/install/rotate-secretPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/rotate-secret' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/rotate-secret", {
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 — Rotated.
{
"subscription_secret": "string",
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
},
"subscriptions": {
"status": "pending_verification",
"verified": true,
"reason": "string",
"count": 1
},
"warning": "string"
}- 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.
/v1/apps/{id}/install/suspendPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/suspend' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/suspend", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"reason": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — Suspended.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
}
}- 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.
/v1/apps/{id}/install/resumePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/resume' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/install/resume", {
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 — Resumed.
{
"install": {
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "installed",
"service_api_key_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"oauth_client_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"surface_url": "string",
"allowed_origin": "string",
"installed_by": "string",
"installed_at": "2026-01-15T09:30:00Z",
"suspended_at": "2026-01-15T09:30:00Z",
"suspended_reason": "string",
"last_seen_at": "2026-01-15T09:30:00Z",
"uninstalled_at": "2026-01-15T09:30:00Z",
"approved_version": 1,
"approved_at": "2026-01-15T09:30:00Z"
}
}- 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.
/v1/apps/{id}/runsPath parameters
Query parameters
50curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/runs' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/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()}`);
// 200: no JSON bodyResponse 200: Runs
/v1/apps/{id}/subjects/summaryPath parameters
Query parameters
rule.curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/subjects/summary' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/subjects/summary", {
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 — Standing summary.
{
"total": 1,
"by_decision": {
"eligible": 1,
"ineligible": 1,
"unclear": 1
},
"by_reason": [
{
"card_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"count": 1
}
],
"by_day": [
{
"day": "2026-01-15",
"eligible": 1,
"not_eligible": 1
}
]
}- 403 — Master view ('all') or missing workspace — a concrete tenant is required.
- 404 — The requested resource was not found.
- 501 — Batch verdicts are not available in this deployment.
/v1/apps/{id}/subjects/{key}/historyPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/subjects/key/history' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/subjects/key/history", {
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 — Revision history.
{
"subject_key": "string",
"active_version": 1,
"versions": {},
"entries": [
{
"first_blocking_card": "string",
"standing": true,
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_version": 1,
"app_version_hash": "string",
"decision_revision": 1,
"decided_at": "2026-01-15T09:30:00Z",
"trigger": {},
"dry_run": true,
"sealed": true,
"rolled_outcome": "string",
"auto": true,
"substantive_passes": 1,
"subject_label": "string"
}
]
}- 403 — Master view ('all') or missing workspace — a concrete tenant is required.
- 404 — The requested resource was not found.
- 501 — Batch verdicts are not available in this deployment.
/v1/apps/{id}/replay/verdict-diffPath parameters
Request body (application/json)
20curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/replay/verdict-diff' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"candidateVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": {},
"againstVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lastNRuns": 20
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/replay/verdict-diff", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"candidateVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": {},
"againstVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lastNRuns": 20
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The verdict diff.
{
"runsCompared": 1,
"flips": [
{
"runId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subjectKey": "string",
"from": "string",
"to": "string"
}
],
"ruleDeltas": [
{
"ruleId": "string",
"name": "string",
"passesBefore": 1,
"passesAfter": 1,
"failsBefore": 1,
"failsAfter": 1
}
],
"summary": {
"totalSubjects": 1,
"flippedSubjects": 1
}
}- 404 — The requested resource was not found.
- 422 — No candidate to compare
- 501 — Verdict diff is not available in this deployment.
/v1/apps/{id}/reviewsPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/reviews' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/reviews", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Reviews.
/v1/apps/{id}/reviewsPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/reviews' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"kind": "resolution",
"question": "string",
"context": {},
"input_contract": {},
"team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/reviews", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"kind": "resolution",
"question": "string",
"context": {},
"input_contract": {},
"team_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 review.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"kind": "resolution",
"status": "open",
"question": "string",
"context": {},
"input_contract": {},
"raised_by": {},
"assignee_team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"assignee_user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resolution": {},
"feedback": {},
"expires_at": "2026-01-15T09:30:00Z"
}/v1/apps/{id}/exceptionsPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/exceptions' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/exceptions", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: System-raised reviews.
/v1/apps/{id}/rule-candidatesPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/rule-candidates' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/rule-candidates", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Candidate queue (empty until the feedback loop activates).
/v1/apps/{id}/precedentsPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/precedents' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/precedents", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: { precedents } (empty when the precedent store is not deployed).
- 422 — The request is well-formed but violates the declared task contract.
/v1/apps/{id}/grantsPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/grants' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/grants", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Resource grants.
/v1/apps/{id}/grants/{grantId}Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/grants/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/grants/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()}`);
// 200: no JSON bodyResponse 200: Revoked.
/v1/apps/{id}/clientsPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/clients' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/clients", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Client grants.
/v1/apps/{id}/clients/{grantId}Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/clients/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/clients/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()}`);
// 200: no JSON bodyResponse 200: Revoked.
/v1/runs/{runId}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
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 — The run. A processing-run id answers with the deprecated `RunResponse` and the deprecation headers.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_slug": "string",
"app_version": 1,
"mode": "string",
"status": "pending",
"trigger": {},
"idempotency_key": "string",
"dry_run": true,
"input_package": {},
"decision": {},
"decided_by": {},
"thresholds_applied": [
"string"
]
}- 401 — Missing or invalid API key.
- 403 — The credential cannot read this run (Apps access, or the
operationsscope for a processing run). - 404 — The requested resource was not found.
/v1/runs/{runId}/eventsPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/events' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/events", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Journal events.
/v1/runs/{runId}/verdicts/summaryPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/verdicts/summary' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/verdicts/summary", {
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 — The run's value summary.
{
"runId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"versionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subjectLabel": "string",
"sealed": true,
"verdictCounts": {},
"actionCounts": {},
"notApplicableCells": 1,
"inconclusiveCells": 1,
"adjudication": {
"used": 1,
"budget": 1
},
"metrics": [
{
"label": "string",
"value": 1.5
}
]
}- 404 — The requested resource was not found.
- 501 — Run summaries are not available in this deployment.
/v1/runs/{runId}/recordsPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/records?subject=string' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/records?subject=string", {
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 — Subject records.
{
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subject_key": "string",
"records": [
{}
],
"documents": [
{
"document_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"filename": "string",
"mime_type": "string",
"file_url": "string"
}
]
}- 400 — subject is missing or longer than 512 characters.
- 404 — The requested resource was not found.
- 501 — Batch verdicts are not available in this deployment.
/v1/runs/{runId}/reconstructionPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/reconstruction?subject=string' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/reconstruction?subject=string", {
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 — Reconstructed matrix for the subject.
{
"reconstructed": true,
"engine_note": "string",
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subject_key": "string",
"sealed": {
"rolled_outcome": "string",
"auto": true
},
"replay": {
"rolled_outcome": "string",
"auto": true
},
"diverged_rules": [
{
"cardId": "string",
"sealed": "string",
"replay": "string",
"label": "historical_result_not_reproducible"
}
],
"document_outcomes": [
{}
]
}- 403 — Master view ('all') or missing workspace — a concrete tenant is required.
- 404 — The requested resource was not found.
- 422 — subject must be a single string query parameter.
- 501 — Batch verdicts are not available in this deployment.
- 503 — Reconstruction unavailable (package too large
/v1/runs/{runId}/recordPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/record' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/runs/3fa85f64-5717-4562-b3fc-2c963f66afa6/record", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The immutable record.
- 404 — The requested resource was not found.
/v1/replays/{replayId}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/replays/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/replays/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Replay with diff table.
- 501 — Replay is not available in this deployment yet.
/v1/reviewsQuery parameters
curl
curl -X GET 'https://api.talonic.com/v1/reviews' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/reviews", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Reviews across all apps.
/v1/reviews/{reviewId}/interviewPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/reviews/3fa85f64-5717-4562-b3fc-2c963f66afa6/interview' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message": "string",
"transcript": [
{
"role": "user",
"text": "string"
}
]
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/reviews/3fa85f64-5717-4562-b3fc-2c963f66afa6/interview", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"message": "string",
"transcript": [
{
"role": "user",
"text": "string"
}
]
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The interviewer's reply, proposed values/feedback once intent is clear, and `ready`.
{
"reply": "string",
"proposed_values": {},
"proposed_feedback": {},
"ready": true,
"warnings": [
"string"
]
}- 501 — The review interview is not available in this deployment.
/v1/reviews/{reviewId}/assignPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/reviews/3fa85f64-5717-4562-b3fc-2c963f66afa6/assign' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/reviews/3fa85f64-5717-4562-b3fc-2c963f66afa6/assign", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"team_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The assigned review.
/v1/reviews/{reviewId}/cancelPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/reviews/3fa85f64-5717-4562-b3fc-2c963f66afa6/cancel' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/reviews/3fa85f64-5717-4562-b3fc-2c963f66afa6/cancel", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Cancelled.
/v1/rule-candidates/{candidateId}/promotePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/rule-candidates/3fa85f64-5717-4562-b3fc-2c963f66afa6/promote' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/rule-candidates/3fa85f64-5717-4562-b3fc-2c963f66afa6/promote", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 2xx: no JSON body- 501 — Candidates are populated by the feedback loop (v1.1).
/v1/rule-candidates/{candidateId}/dismissPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/rule-candidates/3fa85f64-5717-4562-b3fc-2c963f66afa6/dismiss' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/rule-candidates/3fa85f64-5717-4562-b3fc-2c963f66afa6/dismiss", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 2xx: no JSON body- 501 — Candidates are populated by the feedback loop (v1.1).
/v1/review-teamscurl
curl -X GET 'https://api.talonic.com/v1/review-teams' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/review-teams", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Teams.
/v1/review-teamsRequest body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/review-teams' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"webhook_url": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/review-teams", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "string",
"webhook_url": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: The team.
- 409 — The request conflicts with the current resource state.
/v1/review-teams/{teamId}Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/review-teams/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()}`);
// 200: no JSON bodyResponse 200: Deleted.
/v1/review-teams/{teamId}Path parameters
curl
curl -X PATCH 'https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: The team.
/v1/review-teams/{teamId}/membersPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6/members' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6/members", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 200: no JSON bodyResponse 200: Members.
/v1/review-teams/{teamId}/membersPath parameters
Request body (application/json)
curl
curl -X POST 'https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6/members' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6/members", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
// 201: no JSON bodyResponse 201: The membership.
/v1/review-teams/{teamId}/members/{userId}Path parameters
curl
curl -X DELETE 'https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6/members/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/review-teams/3fa85f64-5717-4562-b3fc-2c963f66afa6/members/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()}`);
// 200: no JSON bodyResponse 200: Removed.
/v1/apps/{id}/mining/templatesPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates", {
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 — The app's data reads.
{
"templates": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sql_text": "string",
"sql_hash": "string",
"params_schema": {},
"key_column": "string",
"columns": [
"string"
],
"watermark_column": "string",
"max_rows": 1,
"feature_row": true,
"state": "pending",
"proposed_by": "string"
}
]
}- 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.
/v1/apps/{id}/mining/templatesPath parameters
Request body (application/json)
SELECT statement.columns when those are given.curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sql_text": "string",
"key_column": "string",
"columns": [
"string"
],
"watermark_column": "string",
"max_rows": 1,
"feature_row": true,
"params_schema": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"name": "string",
"connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sql_text": "string",
"key_column": "string",
"columns": [
"string"
],
"watermark_column": "string",
"max_rows": 1,
"feature_row": true,
"params_schema": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 201 — The proposed read (or the existing one with the same text).
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sql_text": "string",
"sql_hash": "string",
"params_schema": {},
"key_column": "string",
"columns": [
"string"
],
"watermark_column": "string",
"max_rows": 1,
"feature_row": true,
"state": "pending",
"proposed_by": "string"
}- 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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
/v1/apps/{id}/mining/templates/{templateId}/approvePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates/3fa85f64-5717-4562-b3fc-2c963f66afa6/approve' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates/3fa85f64-5717-4562-b3fc-2c963f66afa6/approve", {
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 — The approved read.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sql_text": "string",
"sql_hash": "string",
"params_schema": {},
"key_column": "string",
"columns": [
"string"
],
"watermark_column": "string",
"max_rows": 1,
"feature_row": true,
"state": "pending",
"proposed_by": "string"
}- 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.
/v1/apps/{id}/mining/templates/{templateId}/revokePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates/3fa85f64-5717-4562-b3fc-2c963f66afa6/revoke' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/templates/3fa85f64-5717-4562-b3fc-2c963f66afa6/revoke", {
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 — The revoked read.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"connection_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sql_text": "string",
"sql_hash": "string",
"params_schema": {},
"key_column": "string",
"columns": [
"string"
],
"watermark_column": "string",
"max_rows": 1,
"feature_row": true,
"state": "pending",
"proposed_by": "string"
}- 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.
/v1/apps/{id}/mining/protocolPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/protocol' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/protocol", {
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 — The starting settings.
{
"hash": "string",
"output_contract": {},
"defaults": {
"depth": "light",
"bars": {},
"credit_cost": 1.5,
"max_cost_usd": 1.5
},
"policy": {},
"substrate_columns": [
{
"name": "string",
"meaning": "string"
}
],
"ledger_counts": {
"hypotheses": 1,
"findings": 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.
/v1/apps/{id}/mining/roundsPath parameters
Query parameters
500curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds", {
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 — One page of rounds.
{
"rounds": [
{
"app_run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_version": 1,
"phase": "discovery",
"generation": 1,
"dry_run": true,
"turns": 1,
"budget": {},
"counts": {},
"est_cost_usd": "string",
"stop_reason": "string",
"findings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"hypotheses": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"summary": "string"
}
],
"total": 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.
/v1/apps/{id}/mining/roundsPath parameters
Request body (application/json)
reconcile is refused here with 422.curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"dry_run": true,
"phase": "discovery"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"dry_run": true,
"phase": "discovery"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 202 — The round was accepted.
{
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "string",
"dry_run": true,
"phase": "discovery",
"generation": 1,
"extra": true,
"idempotency_key": "string"
}- 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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
/v1/apps/{id}/mining/rounds/reconcilePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/reconcile' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/reconcile", {
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 202 — The round was accepted.
{
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "string",
"dry_run": true,
"phase": "discovery",
"generation": 1,
"extra": true,
"idempotency_key": "string"
}- 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.
/v1/apps/{id}/mining/rounds/{runId}/cancelPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/cancel' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/cancel", {
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 202 — The cancellation was recorded.
{
"run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"cancel_requested_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.
/v1/apps/{id}/mining/rounds/{runId}/toolsPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/tools' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/tools", {
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 — The round's actions and budget.
{
"tools": [
{}
],
"budget": {
"queries": 1,
"hypotheses": 1,
"result_cap_chars": 1
},
"spent": {},
"busy_retry": "string"
}- 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.
/v1/apps/{id}/mining/rounds/{runId}/tools/{name}Path parameters
Request body (application/json)
input_schema.curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/tools/name' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"execution_epoch": 1,
"input": {}
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/tools/name", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"execution_epoch": 1,
"input": {}
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The call finished.
{
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "done",
"content": "string",
"is_error": true,
"poll": "string",
"state": "string"
}- 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.
- 503 — Externally driven rounds are not available on this deployment.
/v1/apps/{id}/mining/rounds/{runId}/tools/calls/{callId}Path parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/tools/calls/3fa85f64-5717-4562-b3fc-2c963f66afa6?execution_epoch=1' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/tools/calls/3fa85f64-5717-4562-b3fc-2c963f66afa6?execution_epoch=1", {
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 — The call's state, and its result once done.
{
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "done",
"content": "string",
"is_error": true,
"poll": "string",
"state": "string"
}- 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.
- 503 — Externally driven rounds are not available on this deployment.
/v1/apps/{id}/mining/campaignPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/campaign' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/campaign", {
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 — The campaign and its spend.
{
"campaign": {
"depth": "light",
"generation": 1,
"app_version": 1,
"discovery": {
"planned": 1,
"used": 1,
"in_flight": 1
},
"hypothesis": {
"planned": 1,
"used": 1,
"in_flight": 1
},
"next_phase": "discovery",
"complete": true,
"external_rounds": {
"ended": 1,
"open": 1
},
"cohort": {
"total": 1,
"positive": 1,
"censored": 1,
"refreshed_at": "2026-01-15T09:30:00Z"
}
},
"spend": {
"tokens": {
"today": {
"input": 1,
"output": 1,
"cache_read": 1,
"cache_write": 1,
"total": 1
},
"month": {
"input": 1,
"output": 1,
"cache_read": 1,
"cache_write": 1,
"total": 1
},
"generation": {
"input": 1,
"output": 1,
"cache_read": 1,
"cache_write": 1,
"total": 1
}
},
"today_usd": 1.5,
"month_usd": 1.5,
"generation_usd": 1.5,
"live_rounds_total": 1,
"dry_rounds_total": 1,
"max_cost_usd_per_round": 1.5,
"caps": {
"per_round_usd": {
"value": 1.5,
"source": "app"
},
"per_generation_usd": {
"value": 1.5,
"source": "app"
},
"per_month_usd": {
"value": 1.5,
"source": "app"
}
},
"remaining": {
"per_generation_usd": 1.5,
"per_month_usd": 1.5
}
}
}- 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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
/v1/apps/{id}/mining/campaign/explore-againPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/campaign/explore-again' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/campaign/explore-again", {
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 201 — The campaign under its new generation.
{
"campaign": {
"depth": "light",
"generation": 1,
"app_version": 1,
"discovery": {
"planned": 1,
"used": 1,
"in_flight": 1
},
"hypothesis": {
"planned": 1,
"used": 1,
"in_flight": 1
},
"next_phase": "discovery",
"complete": true,
"external_rounds": {
"ended": 1,
"open": 1
},
"cohort": {
"total": 1,
"positive": 1,
"censored": 1,
"refreshed_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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
/v1/apps/{id}/mining/rounds/{runId}/guidancePath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/guidance' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/guidance", {
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 — The round's notes.
{
"guidance": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"text": "string",
"created_by": "string",
"created_at": "2026-01-15T09:30:00Z",
"delivered_turn": 1
}
],
"limits": {
"max_chars": 1,
"max_pending": 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.
- 503 — Round notes are not available on this deployment.
/v1/apps/{id}/mining/rounds/{runId}/guidancePath parameters
Request body (application/json)
GET on this path reports.curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/guidance' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "string"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6/guidance", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"text": "string"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 202 — The note was stored.
{
"guidance": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"text": "string",
"created_by": "string",
"created_at": "2026-01-15T09:30:00Z",
"delivered_turn": 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.
- 409 — The request conflicts with the current resource state.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
- 503 — Round notes are not available on this deployment.
/v1/apps/{id}/mining/rounds/{runId}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rounds/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
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 — The round.
{
"app_run_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_version": 1,
"phase": "discovery",
"generation": 1,
"dry_run": true,
"turns": 1,
"budget": {},
"counts": {},
"est_cost_usd": "string",
"stop_reason": "string",
"findings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"hypotheses": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"summary": "string"
}- 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.
/v1/apps/{id}/mining/hypothesesPath parameters
Query parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses", {
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 — The candidate rules.
{
"hypotheses": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "hypothesis",
"kind": "rule",
"subject_kind": "string",
"direction": "necessary",
"statement": "string",
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"evaluated_at": "2026-01-15T09:30:00Z",
"evidence": {},
"qualified_by_ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"timing_check": {
"verdict": "string",
"basis": "string"
},
"folds_recorded": true
}
]
}- 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.
/v1/apps/{id}/mining/hypotheses/{hypothesisId}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
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 — The candidate rule.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_version": 1,
"round_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"falsifier": "string",
"direction": "necessary",
"kind": "rule",
"status": "hypothesis",
"evidence": {},
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"stale_reason": "string",
"qualified_by": [
{
"finding_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"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.
- 429 — Daily rate limit exceeded.
/v1/apps/{id}/mining/hypotheses/{hypothesisId}/regradePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses/3fa85f64-5717-4562-b3fc-2c963f66afa6/regrade' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses/3fa85f64-5717-4562-b3fc-2c963f66afa6/regrade", {
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 202 — The re-check was queued.
{
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"hypothesis_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}- 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.
- 501 — Re-checks are not available on this deployment.
/v1/apps/{id}/mining/hypotheses/{hypothesisId}/retirePath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses/3fa85f64-5717-4562-b3fc-2c963f66afa6/retire' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/hypotheses/3fa85f64-5717-4562-b3fc-2c963f66afa6/retire", {
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 — The retired candidate rule.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_version": 1,
"round_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"falsifier": "string",
"direction": "necessary",
"kind": "rule",
"status": "hypothesis",
"evidence": {},
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "string",
"stale_reason": "string",
"qualified_by": [
{
"finding_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"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.
- 429 — Daily rate limit exceeded.
/v1/apps/{id}/mining/rulesPath parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules", {
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 — The rules.
{
"subject": {
"noun": "string",
"noun_plural": "string"
},
"target_app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"benchmark": {
"label": "string"
},
"rules": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"direction": "necessary",
"status": "hypothesis",
"found_in_version": 1,
"found_in_round": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2026-01-15T09:30:00Z",
"last_checked_at": "2026-01-15T09:30:00Z",
"falsifier": "string",
"evidence": {
"with_outcome": {},
"without_outcome": {},
"contradictions": 1,
"counterexamples": [],
"discrimination": 1.5,
"discriminating": true,
"note": "string"
},
"checks": {
"timing": "pass",
"basis": "string",
"folds": true
},
"caveat": "string",
"notes": "string",
"qualified_by": [
{}
]
}
]
}- 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.
/v1/apps/{id}/mining/rules/{hypothesisId}/impactPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules/3fa85f64-5717-4562-b3fc-2c963f66afa6/impact' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules/3fa85f64-5717-4562-b3fc-2c963f66afa6/impact", {
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 202 — The measurement was queued.
{
"queued": true,
"hypothesis_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}- 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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
- 503 — Impact measurement is not available on this deployment.
/v1/apps/{id}/mining/rules/{hypothesisId}/dismissPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules/3fa85f64-5717-4562-b3fc-2c963f66afa6/dismiss' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules/3fa85f64-5717-4562-b3fc-2c963f66afa6/dismiss", {
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 — What was closed.
{
"hypothesis_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"candidate_dismissed": true,
"retired": true
}- 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.
/v1/apps/{id}/mining/rules/dismiss-lapsedPath parameters
curl
curl -X POST 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules/dismiss-lapsed' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/rules/dismiss-lapsed", {
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 — The rules declined and those that failed.
{
"dismissed": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"failed": [
{
"hypothesis_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"error": "string"
}
]
}- 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.
/v1/apps/{id}/mining/findingsPath parameters
Query parameters
activecurl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/findings' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/findings", {
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 — The findings.
{
"findings": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"round_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"headline": "string",
"tier": "result",
"kind": "timing",
"grain": "subject",
"population": "string",
"clock": "string",
"tags": [
"string"
],
"used_by_hypotheses": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "active"
}
]
}- 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.
/v1/apps/{id}/mining/findings/{findingId}Path parameters
curl
curl -X GET 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/findings/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY"Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/findings/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
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 — The finding.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"round_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"headline": "string",
"tier": "result",
"kind": "timing",
"grain": "subject",
"population": "string",
"clock": "string",
"tags": [
"string"
],
"used_by_hypotheses": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "active"
}- 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.
/v1/apps/{id}/mining/findings/{findingId}Path parameters
Request body (application/json)
retracted needs notes saying why.curl
curl -X PATCH 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/findings/3fa85f64-5717-4562-b3fc-2c963f66afa6' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "active",
"tier": "result",
"headline": "string",
"statement": "string",
"notes": "string",
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/findings/3fa85f64-5717-4562-b3fc-2c963f66afa6", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"status": "active",
"tier": "result",
"headline": "string",
"statement": "string",
"notes": "string",
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The updated finding.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"app_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"round_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"statement": "string",
"headline": "string",
"tier": "result",
"kind": "timing",
"grain": "subject",
"population": "string",
"clock": "string",
"tags": [
"string"
],
"used_by_hypotheses": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"supersedes": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "active"
}- 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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.
/v1/apps/{id}/mining/spend-capsPath parameters
Request body (application/json)
curl
curl -X PATCH 'https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/spend-caps' \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"per_round_usd": 1.5,
"per_generation_usd": 1.5,
"per_month_usd": 1.5
}'Node.js (18+)
const res = await fetch("https://api.talonic.com/v1/apps/3fa85f64-5717-4562-b3fc-2c963f66afa6/mining/spend-caps", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.TALONIC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"per_round_usd": 1.5,
"per_generation_usd": 1.5,
"per_month_usd": 1.5
}),
});
if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
const data = await res.json();Response 200 — The effective caps and the values stored on the app.
{
"caps": {
"per_round_usd": {
"value": 1.5,
"source": "app"
},
"per_generation_usd": {
"value": 1.5,
"source": "app"
},
"per_month_usd": {
"value": 1.5,
"source": "app"
}
},
"app_caps": {
"per_round_usd": 1.5,
"per_generation_usd": 1.5,
"per_month_usd": 1.5
}
}- 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.
- 422 — The request is well-formed but violates the declared task contract.
- 429 — Daily rate limit exceeded.