Skip to main content
Developer guide: Policies and statements

API referenceContract v3.58.0

Policies and statements

Set your own rules, run them against a record and get a signed statement.

Policies

24 operations

Policies: operations in contract version 3.58.0
MethodPathOperation
GET/v1/reader/policiesList your policies
POST/v1/reader/policiesCreate a policy
GET/v1/reader/policies/{policy_id}Read a policy
PUT/v1/reader/policies/{policy_id}/display-nameRename a policy on screen
POST/v1/reader/policies/{policy_id}/dry-runTry a policy before paying for a full run
GET/v1/reader/policies/{policy_id}/dry-runsList a policy's recent dry runs
PUT/v1/reader/policies/{policy_id}/purpose-lineSet a policy's one-line purpose
POST/v1/reader/policies/{policy_id}/retireRetire a policy
POST/v1/reader/policies/{policy_id}/testTest unpublished rules against a made-up profile
GET/v1/reader/policies/{policy_id}/versionsList a policy's published versions
POST/v1/reader/policies/{policy_id}/versionsPublish a policy version from rules
GET/v1/reader/policies/{policy_id}/versions/{version}/blocksRead a published version as blocks
GET/v1/reader/policies/{policy_id}/versions/{version}/readbackRead a published version in plain language
POST/v1/reader/policies/{policy_id}/versions/{version}/testTest a published version
POST/v1/reader/policies/{policy_id}/versions/blocksPublish a policy version from builder blocks
GET/v1/reader/policies/allowanceRead your policy allowance and the cost of the next activation
GET/v1/reader/policies/draftsList your policy drafts
POST/v1/reader/policies/draftsAsk for a draft policy from a description or document
GET/v1/reader/policies/drafts/{draft_id}Read a policy draft
GET/v1/reader/policies/drafts/{draft_id}/allowanceSee what confirming a draft would do and cost
POST/v1/reader/policies/drafts/{draft_id}/confirmConfirm a draft and publish it
POST/v1/reader/policies/drafts/{draft_id}/discardDiscard a draft
POST/v1/reader/policies/drafts/{draft_id}/redraftAsk for a new draft from edited text
POST/v1/reader/policies/drafts/uploadsGet a place to upload a policy document

Policy vocabulary

1 operation

Policy vocabulary: operations in contract version 3.58.0
MethodPathOperation
GET/v1/reader/policy-vocabularyRead the vocabulary policies are written in

Policy runs (Reader API)

1 operation

Policy runs (Reader API): operations in contract version 3.58.0
MethodPathOperation
POST/v1/reader/policy-runsRun a policy against an organisation

Policy runs (Connect)

1 operation

Policy runs (Connect): operations in contract version 3.58.0
MethodPathOperation
GET/v1/connect/policy-runs/{run_id}Check a policy run

Statements (Reader API)

4 operations

Statements (Reader API): operations in contract version 3.58.0
MethodPathOperation
GET/v1/reader/statementsList your statements
GET/v1/reader/statements/{ks}Download one of your signed statements
GET/v1/reader/statements/{ks}/summaryRead one statement's summary
GET/v1/reader/statements/seriesCount your statements issued per day

Statements (Connect)

1 operation

Statements (Connect): operations in contract version 3.58.0
MethodPathOperation
GET/v1/connect/statements/{ks}Read a statement your run produced

Pack policies

5 operations

Pack policies: operations in contract version 3.58.0
MethodPathOperation
GET/v1/reader/pack-policiesList the pack policies offered to you
GET/v1/reader/pack-policies/{pack_id}Read one pack policy
POST/v1/reader/pack-policies/{pack_id}/copyCopy a pack policy into your own draft policy
DELETE/v1/reader/pack-policies/{pack_id}/selectStop using a pack policy
POST/v1/reader/pack-policies/{pack_id}/selectSelect a pack policy as a default

Requirement profiles

3 operations

Requirement profiles: operations in contract version 3.58.0
MethodPathOperation
GET/v1/reader/requirement-profilesList your buyer requirement profiles
POST/v1/reader/requirement-profilesPublish a buyer requirement profile
DELETE/v1/reader/requirement-profiles/{profile_id}Withdraw a buyer requirement profile

Tiering rules

4 operations

Tiering rules: operations in contract version 3.58.0
MethodPathOperation
GET/v1/reader/tiering-rulesRead your tiering rules in force
POST/v1/reader/tiering-rulesPublish a new version of your tiering rules
GET/v1/reader/tiering-rules/versionsList your tiering rule versions
GET/v1/reader/tiering-rules/versions/{version}Read one version of your tiering rules

Tiering templates

1 operation

Tiering templates: operations in contract version 3.58.0
MethodPathOperation
GET/v1/reader/tiering-templatesList starting templates for tiering rules

Karibu ID uses cookies to keep you signed in and to remember your choices, such as your theme. Read the privacy notice