Skip to main content
GET
Get metric

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Coval-Workspace-Id
string

Workspace that scopes this operation. When omitted, the organization's active default workspace is used when one can be resolved.

Required string length: 1 - 26

Path Parameters

metric_id
string
required

22-character metric ID

Pattern: ^[a-zA-Z0-9]{22}$

Query Parameters

include
enum<string>

Include the authenticated caller's bounded human-review audit capability for this metric.

Available options:
reviewed_audit_admission

Response

Successful response

metric
object
required

Metric resource

reviewed_audit_admission_version
enum<integer> | null

Requested only. Version 1 supports confirming a bounded comparison against up to 50 reviewed conversations. Zero means unavailable. Label coverage is checked during the audit.

Available options:
0,
1