Insights
InsightsAccounts

GetScan

Returns details for a specific Insights scan, including its status, timestamps, and resource counts.

get/api/preview/insights/{orgName}/accounts/{accountName}/scans/{scanId}

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/preview/insights/{orgName}/accounts/{accountName}/scans/{scanId}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

accountNamestring required

The Insights account name

scanIdstring required

The scan identifier

Response

successful operation

finishedAtstring date-time required

The time the workflow run finished, if completed.

idstring required

The unique identifier of the workflow run.

jobTimeoutstring date-time required

The timeout for jobs in the workflow run.

lastUpdatedAtstring date-time required

The time the workflow run was last updated.

orgIdstring required

The organization ID.

startedAtstring date-time required

The time the workflow run started.

status'running' | 'failed' | 'succeeded' required

The current status of the workflow run.

userIdstring required

The user ID who initiated the workflow run.

accountNamestring

The name of the insights account associated with this scan.

resourceCountinteger

The number of resources discovered by this scan.

Changes

No recorded changes to this operation across all 1 revision of this API.