Opsmemory API Reference

FieldValue
Source specopsmemory/openapi/v1.json
OpenAPI version3.1.1
API version1.0.0
Operations8
Path filterAll paths

Operations

GET /api/v1/buildinfo

API alias for /buildinfo.json (same payload).

PropertyValue
Operation IDStellaOpsBuildInfoApi
TagsStellaOps.OpsMemory.WebService
AuthNot declared
Request body-

Responses:

StatusDescriptionContent types
200OK-

GET /api/v1/opsmemory/decisions

Queries stored security decisions with optional filters by CVE ID, component prefix, action type, and outcome status. Supports cursor-based pagination.

PropertyValue
Operation IDQueryDecisions
TagsOpsMemory
AuthNot declared
Request body-

Parameters:

NameInRequiredDescription
actionqueryno
componentPrefixqueryno
cursorqueryno
cveIdqueryno
outcomeStatusqueryno
pageSizequeryno
tenantIdqueryno

Responses:

StatusDescriptionContent types
200OKapplication/json
400Bad Requestapplication/json

POST /api/v1/opsmemory/decisions

Records a security decision (accept, suppress, mitigate, escalate) for a CVE and component combination. The decision is stored with situational context for future playbook learning and similarity matching. Returns 201 Created with the new memory ID.

PropertyValue
Operation IDRecordDecision
TagsOpsMemory
AuthNot declared
Request bodyapplication/json

Responses:

StatusDescriptionContent types
201Createdapplication/json
400Bad Requestapplication/json

GET /api/v1/opsmemory/decisions/{memoryId}

Returns the full decision record for a specific memory ID including situational context, decision details, mitigation information, and outcome if recorded. Returns 404 if not found.

PropertyValue
Operation IDGetDecision
TagsOpsMemory
AuthNot declared
Request body-

Parameters:

NameInRequiredDescription
memoryIdpathyes
tenantIdqueryno

Responses:

StatusDescriptionContent types
200OKapplication/json
400Bad Requestapplication/json
404Not Found-

POST /api/v1/opsmemory/decisions/{memoryId}/outcome

Records the observed outcome of a previously stored security decision, capturing resolution time, actual impact, lessons learned, and whether the decision would be repeated. Returns 200 with the updated memory ID.

PropertyValue
Operation IDRecordOutcome
TagsOpsMemory
AuthNot declared
Request bodyapplication/json

Parameters:

NameInRequiredDescription
memoryIdpathyes
tenantIdqueryno

Responses:

StatusDescriptionContent types
200OKapplication/json
400Bad Requestapplication/json
404Not Found-

GET /api/v1/opsmemory/stats

Returns aggregated decision statistics for the tenant including total decision count, decisions with recorded outcomes, and overall success rate.

PropertyValue
Operation IDGetOpsMemoryStats
TagsOpsMemory
AuthNot declared
Request body-

Parameters:

NameInRequiredDescription
tenantIdqueryno

Responses:

StatusDescriptionContent types
200OKapplication/json
400Bad Requestapplication/json

GET /api/v1/opsmemory/suggestions

Returns ranked playbook suggestions for a given situational context by matching against historical decisions using similarity scoring. Each suggestion includes confidence, success rate, and evidence from past decisions.

PropertyValue
Operation IDGetPlaybookSuggestions
TagsOpsMemory
AuthNot declared
Request body-

Parameters:

NameInRequiredDescription
componentPurlqueryno
cveIdqueryno
cvssScorequeryno
epssScorequeryno
limitqueryno
reachabilityqueryno
severityqueryno
tenantIdqueryno

Responses:

StatusDescriptionContent types
200OKapplication/json
400Bad Requestapplication/json

GET /buildinfo.json

Image build provenance (module, gitSha, gitCommitTime, imageBuiltAt, branch) for drift detection.

PropertyValue
Operation IDStellaOpsBuildInfoFile
TagsStellaOps.OpsMemory.WebService
AuthNot declared
Request body-

Responses:

StatusDescriptionContent types
200OK-