ai-credits

Get AI credit settings.

Changed on

Returns a project's AI credit exhaustion behavior, alert thresholds, and webhook endpoint. The signing secret is never returned — only whether one exists (has_signing_secret).

get/v3/projects/{id}/ai-credits/settings

Request

  • Base URL: https://api.unlayer.com
  • URL: https://api.unlayer.com/v3/projects/{id}/ai-credits/settings
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

The resource ID

Response

Default Response

exhaustion_behavior'disable' | 'show_error' required
threshold_alertsinteger[] required
webhook_urlstring nullable required
has_signing_secretboolean required

Changes

    • warning

      added the new disable enum value to the response property for the response status

    • warning

      added the new show_error enum value to the response property for the response status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status