For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remediation

Generate remediation (fix) plans and query vulnerabilities

Generate remediation plans

post

Issue an /explain call to the Lineaje GPT (AI) service to generate fix plans. The first call returns a guid and "Request is Queued". Poll the same endpoint with that guid (about every 20 seconds) until the response is ready; this can take several minutes. The completed response contains three plans: basic_plan (compatible update), balanced_plan (minor update), and comprehensive_plan (major update).

Authorizations
AuthorizationstringRequired

Use the accessToken returned by the login endpoint as a Bearer token.

Body
querystringRequiredExample: Recommend fix plans
sbom_idstringRequiredExample: <SBOM-ID>
guidstringOptional

Include the guid returned by the first call to poll for the result.

Example: fea930da-2e1e-11ef-993f-0a58a9feac02
Responses
200

Queued, not-ready, or completed remediation response (same schema in all three states).

application/json
response_timenumberOptionalExample: 0
answerstring · nullableOptional

Markdown summary of the three fix plans. Null until the response is ready.

graphqlany · nullableOptional
query_suggestionsany · nullableOptional
view_detailsany · nullableOptional
columnany · nullableOptional
view_schemaany · nullableOptional
Greetingany · nullableOptional
guidstring · nullableOptionalExample: fea930da-2e1e-11ef-993f-0a58a9feac02
messagestring · nullableOptionalExample: Request is Queued
errorbooleanOptionalExample: false
post/api/v1/explain
200

Queued, not-ready, or completed remediation response (same schema in all three states).

Apply a fix plan (PLACEHOLDER — details pending)

post

PLACEHOLDER requested by Mudit (2026-06-23 call): the "Apply a fix plan" (autofix) API runs after Generate remediation plans. The path, HTTP method, request body, and response shown here are NOT confirmed — they are pending from the SME (Srinidhi / Mudit). Do not publish this operation until the real details are supplied.

Authorizations
AuthorizationstringRequired

Use the accessToken returned by the login endpoint as a Bearer token.

Body

REVIEW: request body is a placeholder pending SME details.

sbom_idstringOptionalExample: <SBOM-ID>
planstring · enumOptional

REVIEW: confirm plan identifiers.

Example: basic_planPossible values:
Responses
200

REVIEW: response is a placeholder pending SME details.

application/json
objectOptional
post/PLACEHOLDER/apply-fix-plan
200

REVIEW: response is a placeholder pending SME details.

Query vulnerability (RiskLens)

get

Retrieve vulnerability details for a CVE from RiskLens.

Path parameters
cveIdstringRequiredExample: CVE-2024-27263
Responses
200

Vulnerability details.

application/json
cachedbooleanOptionalExample: true
get/api/cve/{cveId}
200

Vulnerability details.

Last updated