Skip to main content
Version: V2

CreateApiKeyRequest

    label stringrequired

    Possible values: non-empty and <= 100 characters

    Human-readable label for the API key

    scope stringrequired

    Possible values: [admin, manager, generator]

    Scope of the API key. admin is not creatable via this endpoint (admins are bootstrapped manually). Pick manager or generator.

    domains string[]required

    Possible values: [artworks-internal, style-dna, textcraft], >= 1

    Feature domains the key may access. Must be a subset of the calling admin key's own domains.

    credits integer

    Default value: 0

    Initial credits allocated to the API key