TypeScript
import { Nova } from "@nova-sdk/api"; const nova = new Nova({ apiKey: "sk_test_...", tenantId: "acme-corp", }); const updated = await nova.criteriaLibrary.update({ criterionId: "lib_abc123", body: { importance: "NICE_TO_HAVE" }, });
{ "criterion": { "id": "<string>", "text": "<string>", "importance": "MUST_HAVE", "category": "<string>", "createdAt": "2023-11-07T05:31:56Z" } }
Update an existing criterion in 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.
1
MUST_HAVE
PREFERRED
NICE_TO_HAVE
Updated
Show child attributes
Was this page helpful?