> For the complete documentation index, see [llms.txt](https://api2-ekycportal.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api2-ekycportal.innov8tif.com/emas-ekyc-portal/centralized-okaydoc/image-reference-download.md).

# Image Reference (Download)

## Guideline to view/download (For OkayDoc)

For user that is interested in image referencing returning from the API, please refer below on how to retrieve the image from the API:

1. Once the API is called it will return the detection's result. In the result, the image reference can be get from the **"imageUrl"** row. *(refer to Sample Response - MyKad Logo Landmark image)*
2. For example, let's say if the imageUrl is *"/public/image/v2/c92240fb-87d8-461f-b9f5-350431ebb4ef?type=l-mykad-logo"* user can copy it down.&#x20;
3. Then, add on this *"<https://okaydocdemo.innov8tif.com/ekyc>"* **infront of** the imageUrl's link on step 2, which then will become: **"*****<https://okaydocdemo.innov8tif.com/ekyc/public/image/v2/c92240fb-87d8-461f-b9f5-350431ebb4ef?type=l-mykad-logo>*****"**
4. Lastly, copy down the whole link and paste in the web browser, the MyKad logo image will then be shown shortly. *(refer to Sample Link Image - MyKad Logo Landmark image)*

![Sample Response - MyKad Logo Landmark](/files/FXU4wxQKSYFst7ASb50U)

![Sample Link Image - MyKad Logo Landmark](/files/ZiDHHyaZPBfqfjhGJCJ9)

{% hint style="info" %}
This allows the user to know what is being extracted in OkayID
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://api2-ekycportal.innov8tif.com/emas-ekyc-portal/centralized-okaydoc/image-reference-download.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
