Get Function Metrics
Retrieve performance metrics for functions based on labeled transformation data.
Calculates accuracy, precision, recall, F1, and the underlying confusion-matrix counts for each matching function by comparing model outputs against user corrections. Metrics are aggregated across every transformation the function has produced, regardless of function type — extract, transform, analyze, and join all populate the same metrics column on the transformation row, so v3 surfaces all of them uniformly.
Filtering
Combine functionIDs / functionNames / types to narrow the result set. types accepts extract alongside the legacy transform / analyze types (which remain readable). Pagination is cursor-based.
Requirements
A function only shows non-zero metrics once at least one of its transformations has been labeled — submit corrections via POST /v3/events/{eventID}/feedback.
Query parameters
Case-insensitive substring match on the function display name.
Returns metrics for functions tagged with any of the supplied tags.
Returns metrics only for functions referenced by the named workflows.
Returns metrics only for functions referenced by the named workflows.
Narrow the workflow filter to a specific workflow version. Each entry is <workflowID>.<versionNum>.
Narrow the workflow filter to a specific workflow version, keyed by workflow name. Each entry is <workflowName>.<versionNum>.
Sort direction over the result set (default asc). Pagination works symmetrically in both directions via startingAfter / endingBefore.
Cursor — a functionID defining your place in the list.
Cursor — a functionID defining your place in the list.
Response
The request has succeeded.