Skip to main content
An engine is a configured capability you call over the API. It takes a typed input and returns a typed output as a run. Every engine has a stable slug, an engine type, a draft configuration you edit, and released versions that live traffic runs against. An organization can run several engines, one per job to be done.

Engine types and engines

An engine type is code that Nexio ships. It defines how a run executes, how a configuration is validated, the type’s default configuration, and how the engine’s request and response schemas are derived from a configuration. The types form a registry: POST /api/v1/engines accepts any registered type and refuses anything else with 400 invalid_engine_type. An engine is configuration. Creating an engine of an existing type is a call you make, with no Nexio release: you pick the type, then edit, validate and publish the configuration. A new engine type is a code change that Nexio ships in a release.

How it works

  1. Create an engine of one type. It starts with that type’s default configuration and no released version.
  2. Edit its draft configuration in the portal or with PUT /api/v1/engines/{engine_slug}/config. See Configuration.
  3. Publish the draft as an immutable version. Unpinned runs use the latest release, unless the engine requires an exact version pin. See Versions and releases.
  4. Submit runs with POST /api/v1/engines/{engine_slug}/runs and read results. See Runs.
  5. Record outcomes and annotations so the engine can be measured and improved. See Outcomes and annotations and Evaluation.

Engine identity

Engine groups

An engine group is a label your organization defines (a key, a label and a description) to organize engines and conversation instances in the portal. An engine joins a group through its group_key. Groups never change what an engine can do or who can call it. You create and edit groups in the portal; the API exposes group_key on engine reads and on PATCH /api/v1/engines/{engine_slug}.

Engine types

Six types are registered today: comparison, diligence, entity_analysis, matching, opportunity and triage. The 400 invalid_engine_type message lists the registered types. An acting principal is the person inside your organization a request acts for, sent in the X-Nexio-Acting-Principal header. It is defined on Authentication and access. Engines Nexio publishes use these same types.

entity_analysis

Input validation runs first, then any enrichment sources the configuration enables, then deterministic gap checks and a model review. The output carries gaps (each with severity, category, title, description, recommendation and data_sources), summary counters and diagnostics. A configuration that declares an output_contract is a declared-contract engine: a declared input schema, a declared output envelope, no model, and never degraded. See Declared-contract engines.

diligence

Checks a claimed event against live web sources through the configured grounding providers. input: location, date, claimed_event, optional context and request_id. Output: verdict (confirmed, not_confirmed or needs_review), summary, evidence_chain (each item with source, url, quote, supports, provider), flagged_items (machine-readable qualifiers such as no_sources or conflicting_sources), and request_echo. The verdict is needs_review when the providers find no source, when the sources conflict, or when no retrieved source supports the proposed verdict.

Declared schemas

Each engine type derives a request schema and a response schema from an engine’s configuration. They are the typed contract of the engine:
  • The portal’s Contract page renders them, with example requests, for the draft configuration. See Configuration.
  • Publishing records them with the version. Nexio compares them with the latest release to decide whether the new version is a major or a minor. See Versions and releases.
  • A declared-contract engine’s schemas are exactly the fields and blocks its configuration declares.

What you configure and what you call

In the portal (platform.usenexio.com, under Engines):
  • Create, edit, archive and delete engines, and manage engine groups.
  • Edit configuration section by section, including the model an engine uses.
  • Read the engine’s Contract page, copy it for agents, and download its OpenAPI file.
  • Run the playground in a sandbox, read runs with their trace, and review quality.
  • Publish versions, if your portal role allows publishing. Your integration publishes through the API (see Versions and releases).
Over the API: A scoped key sent to an organization-key-only route gets 403 insufficient_capability. A scoped key not bound to the engine gets 403 engine_binding_forbidden. See Authentication and access.

Configuration

Draft configuration, validation, request bounds and the Contract page.

Runs

Submit, poll, cancel and review a run.

Declared-contract engines

Declare the input and output an engine accepts and returns.

Versions and releases

Publish versions and pin runs to them.
Last modified on September 25, 2026