Developers

Build a governed business application

Follow a supplier-review Case through the published API to see evidence admission, governed inquiry, human authority, and recovery in practice. Its diligence packet contains an unresolved recovery-control exception. Procurement needs a commercial recommendation; Security needs assurance evidence; a designated risk owner must decide whether the company can proceed. The same interface can serve work with different owners, contracts, and consequences.

These paths follow the published Platform API. Use credentials, identifiers, and request bodies from your authorized environment.

Start with a governed Case

Create a Case in the organization’s workspace. Its identifier keeps the review, its evidence, and subsequent executions connected to the same undertaking.

create-case.shPOST · Cases
curl --fail-with-body -sS -X POST \
  "$INDWEL_API/v1/organisations/$ORG_ID/workspaces/$SPACE_ID/cases" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $CASE_KEY" \
  --data-binary @case.json -o case-response.json

jq -r '.resourceId' case-response.json
201 CreatedRetain the returned Case resourceId. See the Cases & Governance contract for the request body.

Resolve authority before admitting evidence

Resolve the effective Cognitive Contract for the organization and workspace. Admit policies, diligence records, and cited material through the separate evidence operation. Attaching a document does not, by itself, make it authoritative.

POST…/cognitive-contracts:resolveResolve the applicable contract in its organizational context
POST…/cases/{caseId}/evidence:admitAdmit evidence with source and rights context

Both operations are scoped beneath /v1/organisations/{organisationId}/workspaces/{workspaceId}. See the API Reference for request fields and permissions.

Run within the Case

Create a Run Plan in the Case, then submit a Run. Planning and execution are separate operations. An accepted response establishes that execution was requested—not that the review has concluded.

PlanPOST …/cases/{caseId}/run-plans
ExecutePOST …/cases/{caseId}/runs
FollowGET /v1/operations/{operationId}
plan-and-execute.shPOST · Case Runs
BASE="$INDWEL_API/v1/organisations/$ORG_ID"
BASE="$BASE/workspaces/$SPACE_ID/cases/$CASE_ID"

curl --fail-with-body -sS -X POST "$BASE/run-plans" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $PLAN_KEY" \
  --data-binary @plan.json -o plan-response.json

curl --fail-with-body -sS -X POST "$BASE/runs" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $RUN_KEY" \
  --data-binary @run.json -o run-response.json

jq '{operationId,resourceId,status,receiptId}' run-response.json
201 Created: plan · 202 Accepted: runRetain the returned operation and resource identifiers. Acceptance does not establish completion or an external effect.

Know what happened before proceeding

Read the operation to establish its state. Inspect evidence, policy, integrity, and receipts through the Case-scoped Run projections. After a timeout, inspect the existing operation or Run before retrying.

Run projections are scoped to the organization, workspace, and Case. Use the API Reference to inspect full paths, authorization, and errors.

Recover without duplicating Work

Preserve the request's idempotency key and known operation identity. Reuse the key only for the same logical mutation. Neither an accepted operation nor a receipt identifier proves that an external action occurred.

Supplier renewal

From analysis to an authorized decision

The analysis is an input to a decision, not the decision itself. The Vendor Risk Review contract specifies the packet custody requirement, the risk-owner's authority, the review → decided transition, and the separately governed vendor.disposition effect.

  1. AdmitVendor packet and provenance
  2. InvestigateCase-scoped plan and Run
  3. RequestRisk-owner participation
  4. AdvanceGuarded business transition
  5. InspectEffect outcome and receipts
The same Case stays open across investigation, reviewer delay, a declined transition, or later correction. A completed Run cannot bypass the human gate.

Record the authorized decision

Once the server identifies the eligible reviewer and the current Case revision, submit a participation for the declared requirement. An expected revision prevents silently approving a superseded review.

POST …/cases/{caseId}/human-authority-requirements/
     authority.risk-owner/participations
Idempotency-Key: <stable-decision-key>

{
  "expectedRevision": 7,
  "disposition": "approved"
}

Request the business transition

The Platform—not the client—determines whether evidence and human authority jointly satisfy record-disposition. Read the current Case revision before submitting the transition.

POST …/cases/{caseId}/business-transitions/
     record-disposition
Idempotency-Key: <stable-transition-key>

{
  "expectedRevision": 8
}

If a request times out, inspect the operation, Case stage, and receipts before retrying with the same idempotency key. The decision and any resulting external action have separate evidence requirements.Follow the supplier review through completion

The Platform enforces institutional authority

In an ordinary company, corporate leadership may establish risk limits while Procurement owns commercial criteria, Security owns assurance standards, and a supplier-review team owns its examination. Each office can contribute its own Cognitive Contract within its delegated jurisdiction. The Work Mandate states the purpose and completion criteria of the actual renewal. An institution with branches, committees, or clinical services may distribute the same concerns differently. The application follows those responsibilities rather than imposing an organizational chart. The client authenticates an existing principal, addresses an authorized workspace and installed App Version, submits valid inputs, and inspects the resulting governance and receipts. It never grants itself authority by composing a request.

The supplier packet may be admissible for one review but restricted for another. The company’s exposure limits, the independent standards of Procurement and Security, the team’s review duties, and this Work Mandate must all remain traceable when a Run is planned. The installed application supplies review and disposition states; it does not erase those separate obligations.

The explicit workflow contract determines evidence and human requirements for a transition, not a fixed path of reasoning. A held transition can coexist with continuing inquiry. Broader institutional scope resolution is a separate governed concern.

See the enterprise example and scope boundary.

Explore the API

Consult the published request and response models, or learn how business applications use these governed operations.