Generate metric configuration from specifications
Generate metric configuration from specifications
Generates metric configurations using AI for the given specifications. Optionally creates metrics automatically. See Metrics.
POST
Generate metric configuration from specifications
Authorizations
API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....
Body
application/json
IDs of the specifications to generate metrics for
Example:
["spec_123", "spec_456"]When true, creates metrics from generated config
Example:
false
Maximum number of metrics to generate per specification
Whether this is an onboarding flow
Example:
false
Response
Metric configuration generated successfully
Generated metric configuration suggestion