Dismiss suggestion
POST
/api/v1/workflows/{workflowId}/smart/suggestions/{id}/dismiss
const url = 'https://api.justcrawl.io/api/v1/workflows/example/smart/suggestions/example/dismiss';const options = {method: 'POST', 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 POST \ --url https://api.justcrawl.io/api/v1/workflows/example/smart/suggestions/example/dismiss \ --header 'Authorization: Bearer <token>'Marks a suggestion dismissed without applying it. The DAG stays as-is; future
optimization ticks can still write fresh suggestions if metrics keep favoring a
different ranking. Org-scoped — cross-tenant probes return 404 indistinguishably from
missing suggestions. Requires workflows:write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workflowId
required
string
The workflow’s stable logical id — the workflowId field of a workflow object, NOT its id field. id is the per-version row key and 404s here.
id
required
string
Responses
Section titled “Responses”Suggestion dismissed.
Media typeapplication/json
object
status
string
Example
{ "status": "dismissed"}Missing or invalid authentication token
Media typeapplication/json
object
error
string
Example
{ "error": "Missing or invalid authentication token"}Insufficient permissions for this operation
Media typeapplication/json
object
error
string
Example
{ "error": "No organization. Complete onboarding first."}Resource not found
Media typeapplication/json
object
error
string
Example
{ "error": "Workflow not found"}Unexpected server error. Logs and PostHog $exception capture
Media typeapplication/json
object
error
string
Example
{ "error": "Something went wrong"}