List the recommendations of a report.
List the recommendations of a report.
GET
https://app.softsolz.uk/api/v1/services/seo/runs/{run_id}/recommendationsRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
run_idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Query Params
limitintegerPage size, 1 to 200 (default 50).
offsetintegerRows to skip before the first result.
Response
Response Body · array of objects
idstringRecommendation id.run_idstringReport the recommendation belongs to.playstringWhich playbook produced it. external_suggestion for recommendations written through the API.titlestringOne-line action.detail_markdownstring | nullWhy and how, in Markdown.priority_rankinteger | null1 is the most valuable recommendation in the report.priority_scorenumberScore the rank was derived from.estimated_effortstringRough effort.opportunity_clicksnumberMonthly clicks at stake if the recommendation is acted on.statusstringDecision state.dismissed_reasonstring | nullWhy it was dismissed, when it was.task_idstring | nullTask created from it, when one was.finding_idsarray of stringsFindings the recommendation is built on.sourcestringdetector when SoftSolz produced it, api when a connected app did.author_labelstring | nullName of the app or key that wrote it.created_atstringCreation time.updated_atstringLast change.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.seo.listRunRecommendations('<run_id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": [ { "id": "string", "run_id": "string", "play": "string", "title": "string", "detail_markdown": "string", "priority_rank": 0, "priority_score": 0, "estimated_effort": "string", "opportunity_clicks": 0, "status": "string", "dismissed_reason": "string", "task_id": "string", "finding_ids": [], "source": "string", "author_label": "string", "created_at": "string", "updated_at": "string" } ]}