Zum Hauptinhalt springen

Get a list of already created keys

GET/customers/{customerId}/ai-hosting-keys/
v2
GET
ai-hosting-customer-get-keys

Request

  • customerIdstring
    required

Responses

application/json

List of keys of a customer.

  • Array[
    • *object
      • containerMetaobject
        • containerIdstring
        • errorMessagestring
        • ingressIdstring
        • stackIdstring
        • statusstring (one of: created, requested, failed)
          required
      • customerIdstring
      • isBlockedboolean
        required

        Indicates whether the key is blocked.

      • keystring
        required

        The secret API key which is required for authentication with the AI hosting.

      • keyIdstring
        required

        Auto generated uuid to identify keys in requests.

      • modelsarray of string
        required

        An array of LLM model identifiers enabled for this key.

        • Array[
          • *string
          ]
      • namestring
        required
      • projectIdstring
      • rateLimitobject
        required

        The number of allowed requests per unit. Limits are shared across all keys within the same project.

        • allowedRequestsPerUnitinteger
          required
        • unit"minute"
          required
      • tokenUsageobject
        required
        • planLimitinteger (≥ -1, int64)
          required
        • usedinteger (≥ 0, int64)
          required
    ]

Usage examples

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