How it works
- Discover what analysis types are available in your deployment
- Inspect the parameter schema for the type you want to run
- Submit an analysis request with your subject and parameters
- Retrieve the result by
analysis_idif needed later
Discovering available analysis types
status:
| Status | Meaning |
|---|---|
available | Fully supported. Safe for production use. |
beta | Available but the result structure or parameters may change before general availability. |
deprecated | Will be removed. The description field notes the replacement. |
available before building a dependency on it.
Inspecting a type’s parameters
parameters schema is what the engine accepts. All parameters are optional unless explicitly marked as required in the schema. Unknown parameters are ignored.
The result structure is documented in result_description but is not enforced by the API contract. It is intentionally kept outside the spec so individual analysis types can evolve their output without requiring a contract version bump.
Submitting an analysis
Subject
Thesubject identifies what to run the analysis against. Currently type: entity is supported, requiring an entity_id from a prior lookup. Additional subject types will be introduced alongside new analysis capabilities. Consult GET /analysis/types/{type} for what each type accepts.
Parameters
Pass parameters as a flat object. Unrecognised keys are ignored. If you omit theparameters field entirely, the engine uses the defaults documented for that type.
Options
requester_reference is optional and recorded verbatim in the audit trail.
Result envelope
analysis_id, status, subject, timestamps, audit) is stable and typed. The result.data object is type-specific and documented per type at GET /analysis/types/{type}.
confidence is present when the analysis type produces one. Not all types do. coverage_note is set when the result may be incomplete due to connector availability or insufficient source data.
When status is failed, result is null and error is populated with a code and human-readable message.
Retrieving a past result
Unimplemented types
If you submit a validanalysis_type that is not yet available in your deployment, the engine returns 501 Not Implemented with error code analysis_type_not_available. This allows you to integrate against the full catalog shape ahead of individual type releases.