# Results

## Get presigned URL for test results

> Returns a time-limited presigned URL to download normalized test results in FHIR format (JSON). The URL is valid for 15 minutes. Note: Every orderItemID can only be associated with maximum 1 panel, hence results can be uniquely identified by orderItemID.

```json
{"openapi":"3.1.1","info":{"title":"Terra Blood DNA Device API","version":"1.0"},"servers":[{"url":"https://vantage.tryterra.co"}],"security":[{"BasicAuth":[]}],"components":{"securitySchemes":{"BasicAuth":{"type":"http","scheme":"basic"}},"schemas":{"results.GetResultsURLResponse":{"description":"Response containing a presigned URL to download test results","type":"object","properties":{"download_url":{"type":"string"},"expires_at":{"type":"string"},"format":{"type":"string","enum":["json"]}}},"results.ErrorResponse":{"description":"Standard error response format","type":"object","properties":{"details":{"type":"string"},"error":{"type":"string"}}},"errors.AuthenticationError":{"description":"Authentication error response (401)","type":"object","properties":{"detail":{"type":"string"},"instance":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string"}},"required":["detail","status","title","type"]}}},"paths":{"/api/v1/results/{orderItemID}":{"get":{"summary":"Get presigned URL for test results","tags":["results"],"description":"Returns a time-limited presigned URL to download normalized test results in FHIR format (JSON). The URL is valid for 15 minutes. Note: Every orderItemID can only be associated with maximum 1 panel, hence results can be uniquely identified by orderItemID.","parameters":[{"schema":{"type":"integer","minimum":1},"name":"orderItemID","in":"path","description":"Order Item ID","required":true},{"schema":{"type":"integer","minimum":1},"name":"test_taker_id","in":"query","description":"Test Taker ID","required":true}],"responses":{"200":{"description":"Successfully generated download URL","content":{"application/json":{"schema":{"$ref":"#/components/schemas/results.GetResultsURLResponse"}}}},"400":{"description":"Invalid or missing order item ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/results.ErrorResponse"}}}},"401":{"description":"Unauthorized - invalid client credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errors.AuthenticationError"}}}},"404":{"description":"Results not found for this order item","content":{"application/json":{"schema":{"$ref":"#/components/schemas/results.ErrorResponse"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/results.ErrorResponse"}}}}}}}}}
```

## Acknowledge results receipt

> Confirms that test results have been successfully retrieved and processed by the test taker/end user. Required for compliance and audit trails.

```json
{"openapi":"3.1.1","info":{"title":"Terra Blood DNA Device API","version":"1.0"},"servers":[{"url":"https://vantage.tryterra.co"}],"security":[{"BasicAuth":[]}],"components":{"securitySchemes":{"BasicAuth":{"type":"http","scheme":"basic"}},"schemas":{"results.AcknowledgeResultsResponse":{"description":"Confirmation that results were acknowledged","type":"object","properties":{"status":{"type":"string"}}},"errors.ProblemDetail":{"description":"Standard error response format following RFC 7807 specification","type":"object","properties":{"detail":{"type":"string"},"instance":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string"}}},"errors.AuthenticationError":{"description":"Authentication error response (401)","type":"object","properties":{"detail":{"type":"string"},"instance":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"type":"string"}},"required":["detail","status","title","type"]}}},"paths":{"/results/{orderItemID}/acknowledge":{"post":{"summary":"Acknowledge results receipt","tags":["results"],"description":"Confirms that test results have been successfully retrieved and processed by the test taker/end user. Required for compliance and audit trails.","parameters":[{"schema":{"type":"integer","minimum":1},"name":"orderItemID","in":"path","description":"Order Item ID","required":true},{"schema":{"type":"integer","minimum":1},"name":"test_taker_id","in":"query","description":"Test Taker ID","required":true}],"responses":{"200":{"description":"Results acknowledged successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/results.AcknowledgeResultsResponse"}}}},"400":{"description":"Invalid order item ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errors.ProblemDetail"}}}},"401":{"description":"Unauthorized - invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errors.AuthenticationError"}}}},"404":{"description":"Order item not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errors.ProblemDetail"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/errors.ProblemDetail"}}}}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tryterra.co/vantage-api-reference/core-resources/results.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
