Viewport daemon, relay, and hosted runtime are available in alpha. Surfaces may change.
VIEWPORT
ReferenceAPI reference

Insights

10 operations in the Insights group.

5 of 10 operations on this page are generated contract stubs: the routes are real, the schemas are placeholders pending the owning subsystem's contract pass.

GET /api/insights

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiInsights

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

PATCH /api/insights/{insight}

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: patchApiInsightsInsight

Parameters

NameInRequiredTypeDescription
insightpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/insights/{insight}/convert

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiInsightsInsightConvert

Parameters

NameInRequiredTypeDescription
insightpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/insights/detect

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiInsightsDetect

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/insights/summary

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiInsightsSummary

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/resources/{workspace}/insights

Operation ID: getResourceInsights

Parameters

NameInRequiredTypeDescription
workspacepathyesstring

Responses

StatusDescriptionSchema
200Workspace insights collection.InsightCollectionResponse

PATCH /api/resources/{workspace}/insights/{insight}

Operation ID: updateResourceInsight

Parameters

NameInRequiredTypeDescription
workspacepathyesstring
insightpathyesstring

Responses

StatusDescriptionSchema
200Update insight status.object

POST /api/resources/{workspace}/insights/{insight}/convert

Operation ID: convertResourceInsight

Parameters

NameInRequiredTypeDescription
workspacepathyesstring
insightpathyesstring

Responses

StatusDescriptionSchema
200Convert an accepted insight into a review artifact.object
201Convert an accepted insight into a review artifact.object

POST /api/resources/{workspace}/insights/detect

Operation ID: detectResourceInsights

Parameters

NameInRequiredTypeDescription
workspacepathyesstring

Responses

StatusDescriptionSchema
200Detect workflow and governance insights for the workspace.InsightCollectionResponse
201Detect workflow and governance insights for the workspace.InsightCollectionResponse

GET /api/resources/{workspace}/insights/summary

Operation ID: getResourceInsightsSummary

Parameters

NameInRequiredTypeDescription
workspacepathyesstring

Responses

StatusDescriptionSchema
200Workspace insight and ledger summary.InsightSummaryResponse

On this page