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 determines the permissions of the API key (admin, manager, or generator)
domains string[]required
Possible values: [artworks, style-dna, textcraft, *], >= 1
Feature domains the key may access. Admin scope auto-overrides to ['*'].
credits integer
Default value: 0
Initial credits allocated to the API key