List suggestions
GET
/api/v1/workflows/{workflowId}/smart/suggestions
const url = 'https://dashboard.justcrawl.io/api/v1/workflows/example/smart/suggestions';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workflowId
required
string
Responses
Section titled “ Responses ”All suggestions for this workflow (newest first).
Media type application/json
Array<object>
object
id
string format: uuid
status
string
currentProviderOrder
Array<string>
suggestedProviderOrder
Array<string>
reason
string
improvementPct
number
improvementMetric
string
estimatedCostBefore
number
estimatedCostAfter
number
createdAt
string format: date-time
resolvedAt
string format: date-time
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"}