CreateApiKeyReq

  • expiration
    Type: stringenum
    required

    Expiration period for the API key

    values
    • 7d
    • 30d
    • 90d
    • 1y
    • never
  • name
    Type: string
    required

    A descriptive name for the API key

  • scopes
    Type: array string[]
    required

    Permission scopes for the API key (e.g., 'workflow:read', 'template:write')