For the complete documentation index, see llms.txt. This page is also available as Markdown.

Results

List results

get

Keyset-paginated index of order items with result activity, newest first.

Authorizations
AuthorizationstringRequired

Authenticate with your Terra API credentials: username = your Terra dev-id, password = your Terra API key — the same credentials used for every other Terra API. The header pair dev-id + x-api-key is also accepted. Suspended credentials receive 403; accounts without the Vantage entitlement receive 403 once entitlement enforcement is enabled. Once the credential validator is configured, backfilled keys also honor current token expiry, revocation, audience and Vantage scopes. Invalid tokens receive 401, insufficient scopes 403 and an unavailable validator 503. These checks remain active when product policy is off.

Query parameters
limitinteger · min: 1Optional

Page size. Values above 100 are treated as 100.

Default: 25
cursorstringOptional

order_item_id from the previous page's next_cursor

Example: 333410942627700737
statusstringOptional

Filter by results status string (e.g. results.results_ready)

is_acknowledgedbooleanOptional

Only results you have (true) or have not (false) acknowledged.

order_idstringOptional

Only items of this order.

Example: 333410942627700736
sincestring · date-timeOptional

Only items whose updated_at is at/after this RFC3339 timestamp.

untilstring · date-timeOptional

Only items whose updated_at is at/before this RFC3339 timestamp.

Header parameters
X-Terra-Versionstring · enumOptional

The API version to serve this request in. Defaults to your account's pinned version; an account is pinned to the latest version on its first request.

Possible values:
Responses
200

One page of results

application/json
get/api/v1/results
GET /api/v1/results HTTP/1.1
Host: vantage.tryterra.co
Authorization: Basic username:password
Accept: */*
{
  "data": [
    {
      "order_item_id": "333410942627700737",
      "order_id": "333410942627700736",
      "variant_id": "100011",
      "product_name": "General Health",
      "results_status": "results.results_ready",
      "is_acknowledged": true,
      "test_taker_id": "333410942627700738",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "333410942627700737"
}

Get presigned URL for test results

get

Returns a time-limited presigned URL to download normalized test results (JSON): a FHIR R4 bundle for blood tests, a Terra DNA result for DNA tests. result_type says which, and result_version which version of the result the URL serves. The URL is valid for 15 minutes before credential validation is configured. Validated requests receive a URL bounded by token expiry and the original authorization deadline (at most 45 seconds), even when product policy is off; request a fresh URL when starting each download. Note: Every orderItemID can only be associated with maximum 1 panel, hence results can be uniquely identified by orderItemID.

Authorizations
AuthorizationstringRequired

Authenticate with your Terra API credentials: username = your Terra dev-id, password = your Terra API key — the same credentials used for every other Terra API. The header pair dev-id + x-api-key is also accepted. Suspended credentials receive 403; accounts without the Vantage entitlement receive 403 once entitlement enforcement is enabled. Once the credential validator is configured, backfilled keys also honor current token expiry, revocation, audience and Vantage scopes. Invalid tokens receive 401, insufficient scopes 403 and an unavailable validator 503. These checks remain active when product policy is off.

Path parameters
orderItemIDinteger · min: 1Required

Order Item ID

Query parameters
test_taker_idinteger · min: 1Required

Test Taker ID

Header parameters
X-Terra-Versionstring · enumOptional

The API version to serve this request in. Defaults to your account's pinned version; an account is pinned to the latest version on its first request.

Possible values:
Responses
200

Successfully generated download URL

application/json
get/api/v1/results/{orderItemID}
GET /api/v1/results/{orderItemID}?test_taker_id=1 HTTP/1.1
Host: vantage.tryterra.co
Authorization: Basic username:password
Accept: */*
{
  "download_url": "https://storage.googleapis.com/bucket/results/123.json?signature=abc123",
  "expires_at": "2025-10-23T18:00:00Z",
  "format": "json",
  "result_type": "fhir_bundle",
  "result_version": 1
}

Acknowledge results receipt

post

Records the end user's affirmative confirmation that they have received and viewed their results (Schedule C §C6A). Must be triggered by an explicit end-user action (e.g. a checkbox or button in the client's UI) — never automatically by the backend on retrieval or delivery. Required for compliance and audit trails.

Authorizations
AuthorizationstringRequired

Authenticate with your Terra API credentials: username = your Terra dev-id, password = your Terra API key — the same credentials used for every other Terra API. The header pair dev-id + x-api-key is also accepted. Suspended credentials receive 403; accounts without the Vantage entitlement receive 403 once entitlement enforcement is enabled. Once the credential validator is configured, backfilled keys also honor current token expiry, revocation, audience and Vantage scopes. Invalid tokens receive 401, insufficient scopes 403 and an unavailable validator 503. These checks remain active when product policy is off.

Path parameters
orderItemIDinteger · min: 1Required

Order Item ID

Query parameters
test_taker_idinteger · min: 1Required

Test Taker ID

Header parameters
X-Terra-Versionstring · enumOptional

The API version to serve this request in. Defaults to your account's pinned version; an account is pinned to the latest version on its first request.

Possible values:
Responses
200

Results acknowledged successfully

application/json
post/api/v1/results/{orderItemID}/acknowledge
POST /api/v1/results/{orderItemID}/acknowledge?test_taker_id=1 HTTP/1.1
Host: vantage.tryterra.co
Authorization: Basic username:password
Accept: */*
{
  "status": "acknowledged"
}

Last updated

Was this helpful?