# KycInstance

## Members

### `api :` [`KycApi`](/reference/identity-javascript-sdk/the-base-package/kyc/kycapi.md)

The `KycApi` instance that this object was created with.

### `id : string`

The ID of this KYC instance.

## Methods

### `constructor(api, id)`

Create a new instance of the `KycInstance` object.

* `api` must be an instance of [`KycApi`](/reference/identity-javascript-sdk/the-base-package/kyc/kycapi.md);
* `id` must be the ID of a KYC Instance;

{% hint style="warning" %}
This constructor should not be called directly, use `ApplicationReference.createKycRequest()` or `ApplicationReference.listKycRequests()` instead.
{% endhint %}

### `async status()`

Get the status of this KYC instance.

This function returns a [`KycStatus`](/reference/identity-javascript-sdk/the-base-package/kyc/kycstatus.md) object.

```javascript
const kycStatus = await kycInstance.status()
```


---

# 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://dev.vulos.io/reference/identity-javascript-sdk/the-base-package/kyc/kycinstance.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.
