Data Quality

Get one data remediation task

Where one task has got to, for a reader following a finding. The same narrow view the list returns: no claimant, and never an unreviewed proposal. With include=research, what the check found and, once a person accepted it, what was decided: the value, the quotes it rests on and the reasoning.

No API key required.

get/v1/data/tasks/{taskKey}

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/data/tasks/{taskKey}
  • Auth: one of:
    • none
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

taskKeystring required

The task, by its key as the list reports it or by its number: 1204 and its key load the same task.

Query parameters

include'research'

research adds what the check found (research, as the list gives it), the accepted decision (decision) and, where the catalogue fixed it, what the fix was and the pages it rests on (fix).

Response

Get one data remediation task

successboolean required

Always true on a successful response. Every error carries false and an error object instead.

Example response

{
  "success": true,
  "data": {
    "decision": {
      "outcome": "resolved",
      "stated": "4 in",
      "evidence": [
        {
          "url": "https://example.com/spec",
          "quote": "Barrel length: 4 in"
        }
      ],
      "reasoning": "The maker page lists the barrel length in its specification table.",
      "agent": "redback",
      "reviewedAt": "2026-09-25T10:12:00.000Z"
    },
    "fix": {
      "stated": "4 in",
      "evidence": [
        {
          "url": "https://example.com/spec",
          "quote": "The M80 is a copy of the AKM."
        }
      ],
      "researchedAt": "2026-10-06"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.