Skip to main content
GET
/
v1
/
results
/
{resultId}
Get result detail (wellbeing outcome summaries and artifacts)
curl --request GET \
  --url https://api-test.idunox.com/v1/results/{resultId} \
  --header 'X-Api-Key: <api-key>'
{
  "resultId": "10000000-0000-4000-8000-000000000001",
  "submissionId": "e0000000-0000-4000-8000-000000000001",
  "partnerSubmissionId": "partner-sub-owned",
  "status": "processing",
  "statusLabel": "Processing",
  "completedAt": "2026-04-12T16:00:00.000Z",
  "outcome": {
    "outcomeId": "wellbeing.cardiovascular",
    "focus": "Cardiovascular Wellbeing",
    "score": 0.12,
    "referencePlacement": "below_reference",
    "referencePlacementLabel": "Below reference threshold",
    "outcomeStatus": "completed",
    "outcomeStatusLabel": "Completed",
    "band": {
      "tier": "low",
      "label": "Lower third · reference cohort"
    },
    "notices": [
      {
        "message": "Some optional inputs were not provided."
      }
    ]
  },
  "artifacts": {
    "items": [
      {
        "artifactId": "20000000-0000-4000-8000-000000000001",
        "type": "pdf",
        "typeLabel": "PDF",
        "availability": "available",
        "availabilityLabel": "Available",
        "access": {
          "downloadUrl": "https://storage.googleapis.com/example-bucket/signed-read-example",
          "expiresAt": "2026-04-12T17:00:00.000Z"
        },
        "generatedAt": "2026-04-12T15:30:00.000Z"
      }
    ]
  }
}
Returns the partner-safe result envelope: pipeline status, one or more wellbeing outcomes, and artifacts with signed download URLs when available.

Key response fields

FieldDescription
resultIdUUID for this result
submissionIdUUID of the originating submission
partnerSubmissionIdYour submission reference (when stored)
statusPartner pipeline status: received, validating, processing, completed, failed, …
statusLabelHuman-readable status
completedAtISO-8601 completion timestamp
outcomePrimary outcome summary (when present)
outcomes[]All outcome summaries when multiple areas were requested
outcome.outcomeIdPublic id, e.g. wellbeing.cardiovascular
outcome.scoreScalar 0–1 (not 0–100)
outcome.band.tierlow, medium, high, or unknown
outcome.notices[]Partner-safe { message } lines
artifacts.items[]Report artefacts (json, html, pdf)

Example request

curl -H "Authorization: Bearer <your-api-key>" \
  https://api-test.idunox.com/v1/results/<resultId>

Example response

{
  "resultId": "10000000-0000-4000-8000-000000000001",
  "submissionId": "e0000000-0000-4000-8000-000000000001",
  "partnerSubmissionId": "hy-sub-0001",
  "status": "completed",
  "statusLabel": "Completed",
  "completedAt": "2026-04-12T16:00:00.000Z",
  "outcome": {
    "outcomeId": "wellbeing.cardiovascular",
    "focus": "Cardiovascular Wellbeing",
    "score": 0.72,
    "referencePlacement": "above_reference",
    "referencePlacementLabel": "Above reference threshold",
    "outcomeStatus": "completed",
    "outcomeStatusLabel": "Completed",
    "band": {
      "tier": "high",
      "label": "Upper third · reference cohort"
    },
    "notices": []
  },
  "outcomes": [
    {
      "outcomeId": "wellbeing.cardiovascular",
      "focus": "Cardiovascular Wellbeing",
      "score": 0.72,
      "referencePlacement": "above_reference",
      "referencePlacementLabel": "Above reference threshold",
      "outcomeStatus": "completed",
      "outcomeStatusLabel": "Completed",
      "band": { "tier": "high", "label": "Upper third · reference cohort" },
      "notices": []
    },
    {
      "outcomeId": "wellbeing.renal",
      "focus": "Renal Wellbeing",
      "score": 0.41,
      "referencePlacement": "below_reference",
      "referencePlacementLabel": "Below reference threshold",
      "outcomeStatus": "completed",
      "outcomeStatusLabel": "Completed",
      "band": { "tier": "low", "label": "Lower third · reference cohort" },
      "notices": []
    }
  ],
  "artifacts": {
    "items": [
      {
        "artifactId": "20000000-0000-4000-8000-000000000001",
        "type": "html",
        "typeLabel": "HTML",
        "availability": "available",
        "availabilityLabel": "Available",
        "access": {
          "downloadUrl": "https://storage.googleapis.com/example-bucket/signed-read-example",
          "expiresAt": "2026-04-12T17:00:00.000Z"
        },
        "generatedAt": "2026-04-12T15:30:00.000Z"
      }
    ]
  }
}
See Outcomes model for field interpretation.

Authorizations

X-Api-Key
string
header
required

Plaintext API key issued for the tenant (stored hashed server-side).

Headers

x-request-id
string

Optional; echoed when possible. Server generates when absent.

Path Parameters

resultId
string<uuid>
required

Response

Result scoped to tenant; partner scoping follows submission metadata

Partner GET /v1/results/:id. Minimal fields: ids, submission status, completion time, public outcome summary(ies), and artifact download handles. Multi-outcome runs include outcomes (array, same order as stored inference bundle); outcome remains the primary (first) row for backward compatibility. Omits internal job ids, subject linkage, model metadata, and citation placeholders.

resultId
string<uuid>
required
submissionId
string<uuid>
required
partnerSubmissionId
string | null
required
status
enum<string>
required

Stable public slug for submission pipeline state (partner JSON).

Available options:
received,
validating,
validated,
processing,
completed,
failed,
rejected
statusLabel
string
required
Minimum string length: 1
completedAt
string<date-time>
required

Wall time when the result row was last updated (completion / refresh).

outcome
object
required

The primary (first) outcome; null when not yet available.

artifacts
object
required
outcomes
object[]

Included when more than one wellbeing outcome was scored. Order matches the persisted multi-outcome bundle. Omitted for single-outcome results (use outcome only).