Skip to main content
PUT
/
api
/
v1
/
engines
/
{engine_slug}
/
config
Update Engine Config
curl --request PUT \
  --url https://api.usenexio.com/api/v1/engines/{engine_slug}/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {
    "schema_version": 1,
    "pack_key": "insurance-personal-lines",
    "pack_version": 1,
    "scoring_dimensions": [
      {
        "key": "coverage_completeness",
        "label": "Coverage Completeness",
        "method": "deterministic",
        "enabled": true
      }
    ],
    "default_appetite_bucket": "balanced"
  }
}
'
{
  "config": {},
  "engine_type": "placement",
  "preset": {},
  "config_updated_at": "2023-11-07T05:31:56Z",
  "config_updated_by": "<string>"
}

Authorizations

Authorization
string
header
required

API key with environment prefix. Use nx_test_... for sandbox and nx_live_... for production. Obtain keys at platform.usenexio.com/settings/api-keys.

Path Parameters

engine_slug
string
required

Engine identifier slug (e.g. default).

Body

application/json
config
object
required

Full replacement config. Must conform to the engine's type-specific schema. Use the validate endpoint to check before saving.

Response

Config updated successfully.

Engine configuration with audit metadata. The config structure varies by engine_type. Use the contract endpoint to retrieve a human-readable guide for your engine's config schema.

config
object
required

Engine configuration object. Structure depends on engine_type.

engine_type
enum<string>
required

Engine type.

Available options:
placement,
entity_analysis
preset
object
required

Default configuration template for this engine type.

config_updated_at
string<date-time> | null

When the config was last updated, or null if never modified after creation.

config_updated_by
string | null

API key identifier that last updated the config, or null.