Skip to main content

Update a llm Licence for a project

PUT/projects/{projectId}/llm-licences/{licenceId}/
v2
PUT
project-update-llm-licence-experimental

Request

  • projectIdstring
    required
  • licenceIdstring
    required

Responses

application/json
  • containerMetaobject
    • containerIdstring
    • errorMessagestring
    • ingressIdstring
    • stackIdstring
    • statusstring (one of: created, requested, failed)
      required
  • customerIdstring
  • isBlockedboolean
    required

    Indicates whether the licence is blocked.

  • licenceIdstring
    required

    Auto generated uuid to identify licences in requests.

  • licenceKeystring
    required

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

  • limitobject
    required

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

    • allowedRequestsPerUnitnumber
      required
    • unitstring (one of: minute, hour)
      required
  • modelsarray of string
    required

    An array of LLM model identifiers enabled for this licence.

    • Array[
    • *string
    • ]
  • namestring
    required
  • projectIdstring
  • rateLimitnumber
    deprecated
    required

    Deprecated, please us limit.allowedRequestsPerUnit

  • Usage examples

    $ curl \
    --fail \
    --location \
    -X PUT \
    -d '{"createWebuiContainer":true,"name":"string"}' \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    -H 'Content-Type: application/json' \
    https://api.mittwald.de/v2/projects/string/llm-licences/string