# Get domain prefetch refresh quota information - GetUcdnDomainPrefetchRefreshState

## Overview

Get domain prefetch refresh quota information






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `GetUcdnDomainPrefetchRefreshState`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.genesissai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **ProjectId** | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the [GetProjectList interface](/docs/api/summary/get_project_list). |No|
| **DomainId** | string | Domain ID, generated when creating an acceleration domain. |**Yes**|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **SubmitPrefetchCount** | int | Number of Preheating Submitted |No|
| **SubmitRefreshFile** | int | The number of submitted files refreshed |No|
| **SubmitRefreshDir** | int | Number of directory refreshes submitted |No|
| **PrefetchQuota** | int | Preheat Quota |No|
| **RefreshFileQuota** | int | File Refresh Quota |No|
| **RefreshDirQuota** | int | Directory Refresh Quota |No|




## Example

### Request Example
    
```
https://api.genesissai.com/?Action=GetUcdnDomainPrefetchRefreshState
&ProjectId=twkgisbl
&DomainId=scrkgmxx
```

### Response Example
    
```json
{
  "Action": "GetUcdnDomainPrefetchRefreshStateResponse",
  "PrefetchQuota": 6,
  "QuotaCount": 8,
  "RefreshDirQuota": 3,
  "RefreshFileQuota": 4,
  "RetCode": 0,
  "SubmitCount": 5,
  "SubmitRefreshDir": 9
}
```





