Compounding

Trigger compounding job

Changed on

Triggers an on-demand compounding intelligence job for the workspace. Use after onboarding, file scanning, or bulk context ingestion to run intelligence pipelines immediately instead of waiting for the next scheduled cron cycle. Supported job types: consolidation (merge near-duplicate insights), pattern_detection (discover recurring patterns), playbook_synthesis (generate playbook rules from patterns), decay_sweep (reduce confidence on stale insights), and metrics (snapshot pipeline metrics). This endpoint is asynchronous and returns a job_run_id you can poll for status.

post/v1/compounding/trigger

Request

  • Base URL
    https://app.nex.ai/api/developers
  • Auth
    API key in header Authorization

Request body

job_type'consolidation' | 'pattern_detection' | 'playbook_synthesis' | 'decay_sweep' | 'metrics' required

The type of compounding job to run

dry_runboolean

If true, preview impact without persisting changes

Response

Job accepted

job_run_idstring uuid

Unique identifier for this job execution

job_type'consolidation' | 'pattern_detection' | 'playbook_synthesis' | 'decay_sweep' | 'metrics'

The type of job that was executed

workspace_idinteger

Workspace ID the job ran against

dry_runboolean

Whether the job ran in dry-run mode

status'accepted'

Current job status

successboolean

Whether the job was accepted successfully

Changes