Get scan results
const url = 'https://api.ultimateteam.ai/api/v1/onboarding/scan/example';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ultimateteam.ai/api/v1/onboarding/scan/example \ --header 'X-API-Key: <X-API-Key>'Retrieve the results of a previously submitted business scan.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Responses
Section titled “ Responses ”Successful Response
Response for POST /api/v1/onboarding/scan and GET …/scan/:id.
object
Payload returned when a scan completes.
Attributes: scan_id: Unique identifier for this scan. insights: List of actionable business insights. scan_duration_seconds: How long the scan took. status: Lifecycle state matching the Phase 208 vocabulary. degraded: True when the fallback extraction was used. failure_reason: Structured reason when status in {degraded, failed}.
object
True when fallback extraction was used
True when replaying a cached result for the same tenant.
A single actionable insight from the business scan.
Attributes: title: Short headline for the insight. description: Detailed explanation of why it matters. action: Concrete next step the owner can take. impact_score: Score from 0.0 to 1.0 indicating potential impact.
object
Category tags for business-scan insights.
Unique identifier for this scan
Lifecycle state matching Phase 208 vocabulary
Standard metadata included in every API response.
Attributes: request_id: Unique identifier for request tracing. timestamp: UTC timestamp of the response.
object
Unique identifier for request tracing
UTC timestamp of the response
Example
{ "data": { "degraded": false, "from_cache": false, "insights": [ { "category": "seo" } ], "scan_duration_seconds": 0, "status": "queued" }}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}