Skip to main content

Get ai hosting plan and usages of a project. Same as the customer route, but less details

GET/projects/{projectId}/ai-hosting/
v2
GET
ai-hosting-project-get-usage

Request

  • projectIdstring
    required

Responses

application/json

The project usage and plan.

  • keysobject
    required
    • availableinteger (≥ -1)
      required
    • planLimitinteger (≥ -1)
      required
    • usedinteger (≥ 0)
      required
  • nextTokenResetstring (date-time)
  • projectIdstring
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/string/ai-hosting