> ## Documentation Index
> Fetch the complete documentation index at: https://ppio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 检查 API Key 预算是否充足

## 请求头

<ParamField header="Content-Type" type="string" required={true}>
  枚举值: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer 身份验证格式，例如：Bearer \{\{API 密钥}}。
</ParamField>

## 请求体

<ParamField body="member_id" type="string" required={true}>
  子用户账号 ID。
</ParamField>

<ParamField body="key_id" type="string" required={true}>
  API Key ID。
</ParamField>

## 响应参数

<ResponseField name="enough" type="bool" required={true}>
  该 API Key 的预算是否充足。
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl --request POST \
    --url https://api.ppio.com/openapi/v1/user/team/check-key-budget \
    --header 'Authorization: Bearer <API_KEY>' \
    --header 'Content-Type: application/json' \
    --data '{"member_id": "<string>", "key_id": "<string>"}'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "enough": true
  }
  ```
</ResponseExample>
