import { GetApiLogsRequest } from "@avalabs/avacloud-sdk/models/operations";
let value: GetApiLogsRequest = {
startTimestamp: 1739507200,
endTimestamp: 1739664000,
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
orgId |
string | ➖ | Organization ID to fetch usage metrics for | |
startTimestamp |
number | ➖ | The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day. | 1739507200 |
endTimestamp |
number | ➖ | The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day. | 1739664000 |
chainId |
string | ➖ | Filter data by chain ID. | |
responseCode |
string | ➖ | Filter data by response status code. | |
requestType |
operations.QueryParamRequestType | ➖ | Filter data by request type. | |
apiKeyId |
string | ➖ | Filter data by API key ID. | |
requestPath |
string | ➖ | Filter data by request path. | |
pageToken |
string | ➖ | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | |
pageSize |
number | ➖ | The maximum number of items to return. |