This guide walks through the full engine lifecycle using only the API — no dashboard required. For request/response schemas, see the Engine Management API reference.Documentation Index
Fetch the complete documentation index at: https://docs.usenexio.com/llms.txt
Use this file to discover all available pages before exploring further.
Flow
Step 1: Create an engine
Choose anengine_type based on your use case: placement for ranking provider
offerings into optimal solutions, or entity_analysis for gap analysis and recommendations.
active status. The slug
is used in all subsequent endpoint URLs.
Step 2: Build your config
The config structure depends onengine_type. Retrieve the current config to
use the preset template as a starting point:
The
preset field in the config response provides the default template for your
engine type. Use it as a starting point and modify the fields you need. The preset
includes a pack_key that identifies the domain pack — available packs depend on
your account configuration.Step 3: Validate the configuration
Before saving, dry-run your config through validation. The validate endpoint always returns200 OK — check the valid field:
Step 4: Save the configuration
Once validation passes, save the config with a full replacement PUT:Step 5: Copy the integration contract
Open your engine’s Contract page on platform.usenexio.com and click Copy for agents. You get a single Markdown document with the typed request schema, scoring dimensions, weight profiles, an example request/response payload, and polling instructions — everything a downstream consumer or AI coding agent needs to build a correct integration. Paste it into the agent’s context and let it generate the client. The Contract page is regenerated from your engine’s saved config, so the document always matches what the API expects on the next run.Step 6: Submit a run
With the engine configured, submit runs using the engine slug:Managing engines
After initial setup, use these endpoints to manage your engines:| Task | Endpoint |
|---|---|
| List all engines | GET /api/v1/engines |
| View engine details | GET /api/v1/engines/ |
| Rename or update description | PATCH /api/v1/engines/ |
| Archive an engine | PATCH /api/v1/engines/ with {"status": "archived"} |
| Reactivate an archived engine | PATCH /api/v1/engines/ with {"status": "active"} |