custom-metrics

Create Custom Metric

Changed on

Create a new custom metric with revision 1.

post/api/v1/custom-metrics

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
  • Auth: none declared

Request body

namestring required
descriptionstring nullable
categorystring nullable
compute_type'model' | 'formula' required
response_type'pass_fail' | 'yes_no' | 'numeric_score' | 'categorical' | 'text' | 'json' required
tagsstring[]
linked_agent_idsstring[]
applies_to_voiceboolean
applies_to_textboolean
applies_to_emailboolean
applies_to_bookingboolean
creates_action_itemsboolean
promptstring nullable
modelstring nullable
configobject
allow_naboolean
proofstring nullable

Response

Successful Response

Changes

    • info

      added the new optional request property

    • info

      added the required property / to the response with the status