Sign in
Docs
API referenceDecisions

API reference

Where decisions and the system disagree

Have a token? Manage tokens in the console
GET
/v1/atlas/spaces/{space_id}/contradictions

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.

Authorization

bearer
headerAuthorizationBearer <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.

Path Parameters

space_id*string

The Decisions space.

Query Parameters

page_size?integer

At most this many; 0 means 100, above 500 means 500.

Formatint32
page_token?string

From the previous page's next_page_token.

Response Body

iohr.atlas.v1.ListContradictionsResponse

application/json
  1. response

iohr.atlas.v1.ListContradictionsResponse

facts*array<>
next_page_token*string
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"}