Compounding

Get compounding job status

Changed on

Returns the current state of a compounding job triggered through the developer API. Poll this endpoint with the job_run_id returned by the trigger endpoint until the status changes from accepted or running to completed or failed.

get/v1/compounding/jobs/{job_run_id}

Request

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

Path parameters

job_run_idstring uuid required

The compounding job run identifier returned by the trigger endpoint

Response

Job status

job_run_idstring uuid

Unique identifier for this compounding job

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

The compounding job type

workspace_idinteger

Workspace ID the job belongs to

status'accepted' | 'running' | 'completed' | 'failed'

Current job status

dry_runboolean

Whether the job is running in dry-run mode

insights_scannedinteger

Total number of insights evaluated during the job

insights_affectedinteger

Number of insights modified by the job

candidates_createdinteger

Number of candidates or rules created by the job

errorsinteger

Number of errors recorded during the job

started_atstring date-time

When the job entered the system

completed_atstring date-time

When the job completed, if it has finished

duration_msinteger

Total job duration in milliseconds after completion

error_detailsobject

Structured error payload for failed jobs

Changes