v1

List Facts

The typed facts, a page at a time, filtered by end user, agent, subject (subject), either side (entity) and relation (predicate, predicate_family). A database read: no model is asked.

By default the facts true now. as_of gives the facts true at a date, known_as_of the facts as the store knew them at a moment, and include_invalidated=true adds the facts that ended, each with its invalid_at and the invalidated_by that closed it.

get/v1/facts

Request

  • Base URL: https://api.korely.ai
  • URL: https://api.korely.ai/v1/facts
  • Auth: HTTP bearer

Query parameters

user_idstring nullable

Filter to one end user.

agent_idstring nullable
subjectstring nullable

Match the subject side.

entitystring nullable

Match subject OR object side.

predicatestring nullable
predicate_familystring nullable
include_invalidatedboolean
as_ofstring nullable

ISO date/datetime: point-in-time validity.

known_as_ofstring nullable

ISO date/datetime: the facts as the store knew them then: learned by then, with the ends learned by then, true at as_of (default: that same moment). A move made in September and told in October: as_of September returns the new address, known_as_of September the old one.

limitinteger
offsetinteger
exclude_sessionsboolean

Leave out the facts only work sessions state (memories written with kind: session, what a coding assistant's hooks save). Default false.

Response

Successful Response

totalinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.