Custom Metrics

Bulk Update Custom Metrics

Changed on

Bulk update custom metrics: apply the same patch to each metric in metric_ids. Only keys present in updates are applied; each key's value (including null) is written.

put/v1/update-custom-metrics

Request

  • Base URL
    https://api.getbluejay.ai
  • URL
    https://api.getbluejay.ai/v1/update-custom-metrics
  • Auth
    HTTPBearer (a scheme the document does not define)

Headers

X-Organization-Idstring
X-API-Keystring required

API key required to authenticate requests.

Request body

metric_idsstring[] required

UUIDs of custom metrics to update

Response

Successful Response

successboolean

Whether the operation succeeded

messagestring nullable

Human-readable summary; frontend falls back to 'Updated N custom metric(s)' if missing

updatedinteger nullable

Number of metrics updated

Changes

    • info

      added the new optional header request parameter X-Organization-Id

    • warning

      removed the request property /

    • info

      endpoint deprecated

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /