Secret keys

Create Secret Key

Changed on

Issue a key for an actively subscribed organization and reveal it once.

post/v1/api-keys

Request

  • Base URL
    https://api.flower.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flower.ai/v1/api-keys
  • Auth
    HTTP bearer

Request body

namestring required
expires_atstring date-time nullable
lifetime_credit_limitinteger nullable

Response

Successful Response

public_idstring required
tenant_idinteger required
organization_idinteger required

Use tenant_id instead.

creator_flwr_aidstring required
namestring required
masked_valuestring required
state'active' | 'disabled' | 'expired' | 'revoked' required
enabledboolean required
expires_atstring date-time nullable required
lifetime_credit_limitinteger nullable required
used_creditsinteger required
disabled_atstring date-time nullable required
revoked_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required
last_used_atstring date-time nullable required
raw_secret_keystring required

Changes

    • info

      response property organization_id deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status