TypeScript
import { Nova } from "@nova-sdk/api"; const nova = new Nova({ apiKey: "sk_test_...", tenantId: "acme-corp", }); const criterion = await nova.criteriaLibrary.get("lib_abc123");
{ "criterion": { "id": "<string>", "text": "<string>", "importance": "MUST_HAVE", "category": "<string>", "createdAt": "2023-11-07T05:31:56Z" } }
Retrieve a single criterion from the tenant criteria library
Use Authorization: Bearer sk_test_* or Authorization: Bearer sk_live_*.
Your customer identifier. Tenants are auto-provisioned on first request.
Criterion ID.
Library criterion
Show child attributes
Was this page helpful?