sensorhubDevelopers
Open SensorhubGet an API key
Browse documentation
REST API / Collections

action_suggestions

Collection

Recommended next actions, recommendations and to-dos ranked by priority. Review and accept recommendations in the app.

Max rows per query
100
Default order
priority desc
Cursor paging
by id

Use read report_* for dashboard headline metrics and anchored comparison windows.

Fields

FieldTypeDescriptionFilterSort
id
indexed
stringUnique row ID.✓✓
project_id
indexed
stringProject ID from projects.✓–
type
stringSuggested action type.
CONTENT SEARCH AI_VISIBILITY SOURCE REPUTATION COMPETITOR COMMUNITY_REPLY TECHNICAL REVIEW_SUGGESTION
✓✓
title
stringSuggested title.✓✓
status
stringReview state.
PENDING ACCEPTED DISMISSED EXPIRED
✓✓
created_at
datetimeCreation time.✓✓
priority
indexed
integerRecommendation priority; higher is more important.✓✓
impact
nullable
stringExpected impact.
LOW MEDIUM HIGH
✓✓
effort
nullable
stringExpected effort.
LOW MEDIUM HIGH
✓✓
why_it_matters
nullable
stringEvidence-backed reason for the recommendation.✓✓
evidence_url
nullable
stringSupporting evidence URL.✓✓

Examples

Example
SELECT id, project_id, type, title, status
FROM action_suggestions
ORDER BY priority DESC
LIMIT 25

Calling it

MCP

Tool call
query({"sql":"SELECT id, project_id, type, title, status FROM action_suggestions ORDER BY priority DESC LIMIT 25"})

REST

curl
curl -X POST "https://app.sensorhub.ai/api/v1/query" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "sql": "SELECT id, project_id, type, title, status FROM action_suggestions ORDER BY priority DESC LIMIT 25"
}
JSON
Row JSON Schema
json
{
  "type": "object",
  "description": "Recommended next actions, recommendations and to-dos ranked by priority. Review and accept recommendations in the app.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique row ID.",
      "x-sensorhub-indexed": true,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "project_id": {
      "type": "string",
      "description": "Project ID from projects.",
      "x-sensorhub-indexed": true,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": false
    },
    "type": {
      "type": "string",
      "description": "Suggested action type.",
      "enum": [
        "CONTENT",
        "SEARCH",
        "AI_VISIBILITY",
        "SOURCE",
        "REPUTATION",
        "COMPETITOR",
        "COMMUNITY_REPLY",
        "TECHNICAL",
        "REVIEW_SUGGESTION"
      ],
      "x-sensorhub-filter-operators": [
        "=",
        "!=",
        "<>",
        "IN",
        "NOT IN",
        "IS NULL",
        "IS NOT NULL"
      ],
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "title": {
      "type": "string",
      "description": "Suggested title.",
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "status": {
      "type": "string",
      "description": "Review state.",
      "enum": [
        "PENDING",
        "ACCEPTED",
        "DISMISSED",
        "EXPIRED"
      ],
      "x-sensorhub-filter-operators": [
        "=",
        "!=",
        "<>",
        "IN",
        "NOT IN",
        "IS NULL",
        "IS NOT NULL"
      ],
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "created_at": {
      "type": "string",
      "description": "Creation time.",
      "format": "date-time",
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "priority": {
      "type": "integer",
      "description": "Recommendation priority; higher is more important.",
      "x-sensorhub-indexed": true,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "impact": {
      "type": [
        "string",
        "null"
      ],
      "description": "Expected impact.",
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH",
        null
      ],
      "x-sensorhub-filter-operators": [
        "=",
        "!=",
        "<>",
        "IN",
        "NOT IN",
        "IS NULL",
        "IS NOT NULL"
      ],
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "effort": {
      "type": [
        "string",
        "null"
      ],
      "description": "Expected effort.",
      "enum": [
        "LOW",
        "MEDIUM",
        "HIGH",
        null
      ],
      "x-sensorhub-filter-operators": [
        "=",
        "!=",
        "<>",
        "IN",
        "NOT IN",
        "IS NULL",
        "IS NOT NULL"
      ],
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "why_it_matters": {
      "type": [
        "string",
        "null"
      ],
      "description": "Evidence-backed reason for the recommendation.",
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    },
    "evidence_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Supporting evidence URL.",
      "x-sensorhub-indexed": false,
      "x-sensorhub-searchable": false,
      "x-sensorhub-aggregatable": true,
      "x-sensorhub-filterable": true,
      "x-sensorhub-sortable": true
    }
  },
  "additionalProperties": false
}