📌 Note: The GPU Index API is only available for Plus and Professional tier subscribers.
POST /api/gpu-index/index
Get GPU index data, from starting date(from 2024-09-01) to ending date. The selected range must not exceed a week (7 days). If no date range is provided, data for today will be used by default. A returned value of -1 or any negative number indicates that the data has not yet been generated—please wait or contact support.Authorization
🔒OAuth2: OAuth2PasswordBearerFlow type: password
Token URL: token
Request Body
The request body must be inapplication/json
format.
Field | Type | Required | Description | Constraints |
---|---|---|---|---|
gpu | string | YES | GPU type, currently we support H100 and A100 series type, you can input ‘H100’ or ‘A100’ (case-insensitive) for querying. | [‘h100’, ‘a100’] |
starting_date | string or null | NO | The start date for the query in YYYY-MM-DD format. Defaults to today if not provided. | |
ending_date | string or null | NO | The end date for the query in YYYY-MM-DD format. Defaults to today if not provided. |
Request Example
Responses
- 200: Successful Response
- 422: Validation Error
- 404: Subscription not found