Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=GetSeatAFPUsage&Version=2024-01-01' \
-H 'Content-Type: application/json' \
-H 'X-Date: <X-Date>' \
-H 'X-Content-Sha256: <X-Content-Sha256>' \
-H 'Authorization: HMAC-SHA256 Credential=<AK>/<X-Date>/cn-beijing/ark/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=<Signature>' \
-d '{
"SeatIDs": ["S7HQ2KP", "S3MR9XT"]
}
'Response
{
"ResponseMetadata": {
"RequestId": "20260511044821D40F827A91BCE43A67",
"Action": "GetSeatAFPUsage",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"SeatAFPUsages": [
{
"SeatID": "seat-agt-mx-001",
"PlanType": "Max",
"AFPFiveHour": {
"Quota": "100.0",
"Used": "42.3",
"SubscribeTime": 1778788800000,
"ResetTime": 1778806800000
},
"AFPDaily": {
"Quota": "200.0",
"Used": "78.1",
"SubscribeTime": 1778716800000,
"ResetTime": 1778803200000
},
"AFPWeekly": {
"Quota": "1000.0",
"Used": "421.5",
"SubscribeTime": 1778457600000,
"ResetTime": 1779062400000
},
"AFPMonthly": {
"Quota": "4000.0",
"Used": "1872.8",
"SubscribeTime": 1777939200000,
"ResetTime": 1780531200000
}
},
{
"SeatID": "seat-agt-lg-001",
"PlanType": "Large",
"AFPFiveHour": {
"Quota": "50.0",
"Used": "5.3",
"SubscribeTime": 1778788800000,
"ResetTime": 1778806800000
},
"AFPDaily": {
"Quota": "100.0",
"Used": "12.1",
"SubscribeTime": 1778716800000,
"ResetTime": 1778803200000
},
"AFPWeekly": {
"Quota": "500.0",
"Used": "53.7",
"SubscribeTime": 1778457600000,
"ResetTime": 1779062400000
},
"AFPMonthly": {
"Quota": "2000.0",
"Used": "128.4",
"SubscribeTime": 1777939200000,
"ResetTime": 1780531200000
}
}
]
}
}