Metrics
Generating Metrics
External API view set for managing metrics. This view set provides endpoints to create, retrieve, update, and delete metrics associated with AI agents within a specific organization.
POST
Authorizations
API Key Authentication. It should be included in the header of each request.
Body
The ID of the AI agent to generate metrics for
The assistant ID to look up the agent by. Alternative to providing agent ID directly
Number of metrics to generate
Required range:
1 <= x <= 100
Response
200
application/json
Maximum length:
255
Maximum length:
255
basic
- Basiccustom_prompt
- Custom Promptcustom_code
- Custom Code
Available options:
basic
, custom_prompt
, custom_code
binary_workflow_adherence
- Binary Workflow Adherencebinary_qualitative
- Binary Qualitativecontinuous_qualitative
- Continuous Qualitativenumeric
- Numericenum
- Enum
Available options:
binary_workflow_adherence
, binary_qualitative
, continuous_qualitative
, numeric
, enum
Required range:
-2147483648 <= x <= 2147483647
always
- Alwaysautomatic
- Automaticcustom
- Custom
Available options:
always
, automatic
, custom
Maximum length:
255
List of scenario IDs associated with this metric