API referenceDecisions
API reference
Where decisions and the system disagree
Have a token? Manage tokens in the console
GET
The facts of a space that evidence contradicts, each with the evidence against it and its own support kept: both sides, neither averaged away.
Needs scope decisions:read.
bearerheader
AuthorizationBearer <JWT>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.
space_id*stringThe Decisions space.
page_size?integerAt most this many; 0 means 100, above 500 means 500.
Format
int32page_token?stringFrom the previous page's next_page_token.
iohr.atlas.v1.ListContradictionsResponse
application/json- response
iohr.atlas.v1.ListContradictionsResponse
facts*array<>next_page_token*stringSDK
HTTP
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { for await (const fact of api.atlas.allListContradictions("<space_id>")) { console.log(fact); }} catch (e) { if (!(e instanceof ApiError)) throw e; console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`); process.exitCode = 1;}npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.
Example Response
{ "facts": [ { "class": "string", "conflict": "string", "contradicted_by": [ { "id": "string", "type": "string" } ], "derived": true, "evidence": [ { "id": "string", "type": "string" } ], "id": "string", "inputs": [ "string" ], "polarity": "string", "predicate": "string", "rule": "string", "stale_change": "string", "stale_since": "string", "subject": "string", "support": "string", "validity": "string", "value": "string" } ], "next_page_token": "string"}