custom-metrics

Add Metric From Library

Changed on

Clone a curated Library template into the tenant's metrics.

Idempotent: if the tenant already has an ACTIVE metric cloned from this template, return it unchanged (with its active revision) rather than creating a duplicate. Otherwise create a new metric + revision 1 from the template.

post/api/v1/custom-metrics/library/{template_key}/add

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/custom-metrics/library/{template_key}/add
  • Auth: none declared

Path parameters

template_keystring required

Response

Successful Response

Changes

    • info

      added the required property / to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status