Submit a KPI job
POST/kpi/graphs/:graph_id/jobs
Creates or reuses a KPI calculation job for the requested graph and snapshot day. When the latest source watermark, worker major.minor version, and validation-policy fingerprint match the newest validated snapshot, the service completes the request immediately by cloning that snapshot instead of running the worker. Set force_rerun=true to bypass reuse and require a fresh worker run.
Request
Responses
- 202
- 400
- 403
- 404
- 409
- 422
Job accepted or existing reusable job returned.
The request was syntactically valid but semantically invalid.
The caller is not authorized to operate on the requested graph.
The requested resource was not found.
The request conflicts with current job state or freshness rules.
Validation Error