v3

OpenAPI 3.1.02026-07-31350397683.8 KB
Custom Metrics

Generate Custom Metrics

Generate custom metrics for a given agent based on its description and knowledge base.

post/v1/generate-custom-metrics

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

agent_idstring required

ID of the agent to generate metrics for

prompt_idstring uuid nullable

Prompt UUID associated with the agent

knowledge_base_idstring uuid nullable

Knowledge base UUID associated with the agent

countinteger

Number of custom metrics to generate

custom_promptstring nullable

Custom instructions for metric generation

Response

Successful Response

{"stackTrail":"paths:/v1/generate-custom-metrics:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}