cURL
curl --request POST \ --url https://api.dimred.com/api/v2/{slug}/metrics/compute-bulk \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "project_id": "<string>", "metric_ids": [ "<string>" ], "payloads": [ { "data_point_id": "<string>", "expected": "<any>", "output": "<any>", "input_data": "<any>" } ] }'
{ "results": [ { "data_point_id": "<string>", "metrics": {} } ], "raw": [ { "data_point_id": "<string>", "metric_tuples": [ "<any>" ] } ] }
Compute metrics for multiple payloads synchronously.
API key for authentication
Organization slug
Project ID
List of metric IDs to compute
List of payloads to compute metrics for
Show child attributes
Metrics computed successfully
Aggregated results
Raw computation results