Skip to content

List suggestions

GET
/api/v1/workflows/{workflowId}/smart/suggestions
curl --request GET \
--url https://dashboard.justcrawl.io/api/v1/workflows/example/smart/suggestions \
--header 'Authorization: Bearer <token>'

Lists every optimization_suggestions row for this workflow, of every status (pending / applied / dismissed), newest first. The dashboard shows pending ones as actionable cards and the rest as audit log. Org-scoped — empty array (not 404) for workflows with zero suggestions ever written.

workflowId
required
string

All suggestions for this workflow (newest first).

Media type application/json
Array<object>
object
id
string format: uuid
status
string
Allowed values: pending applied dismissed
currentProviderOrder
Array<string>
suggestedProviderOrder
Array<string>
reason
string
improvementPct
number
nullable
improvementMetric
string
estimatedCostBefore
number
nullable
estimatedCostAfter
number
nullable
createdAt
string format: date-time
resolvedAt
string format: date-time
nullable
expiresAt
string format: date-time
Example
[
{
"status": "pending"
}
]

Missing or invalid authentication token

Media type application/json
object
error
string
Example
{
"error": "Missing or invalid authentication token"
}

Insufficient permissions for this operation

Media type application/json
object
error
string
Example
{
"error": "No organization. Complete onboarding first."
}

Unexpected server error. Logs and PostHog $exception capture

Media type application/json
object
error
string
Example
{
"error": "Something went wrong"
}