GenlyticDocs
API Reference/Optimize API
genlytic.app ↗
Get started

Optimize API

Access the impact queue and update optimize action status.

GET/v1/optimize/actions

Returns the current impact queue for your workspace.

ParameterReqDescription
statusstringFilter by status: todo in_progress done applied dismissed.
periodstring7d 30d 90d. Filters by updatedAt. Omit to return all actions.
limitnumberPage size, 1–100. Default: 50.
cursorstringPagination cursor from a previous response's pagination.nextCursor.
{
  "data": [
    {
      "id": "6868b4c1f2a3b4c5d6e7f8a9",
      "title": "Schema Gap: FAQPage Missing",
      "description": "Homepage has no FAQPage schema...",
      "status": "todo",
      "impactScore": 3,
      "effort": 2,
      "createdAt": "2026-06-12T09:41:00.000Z",
      "updatedAt": "2026-06-12T09:41:00.000Z"
    }
  ],
  "pagination": { "hasMore": false, "nextCursor": null }
}

PATCH/v1/optimize/actions/{id}

Update the status of an action. Requires optimize:write scope.

ParameterReqDescription
statusstringyestodo in_progress done applied dismissed
{
  "data": {
    "id": "6868b4c1f2a3b4c5d6e7f8a9",
    "status": "applied",
    "updatedAt": "2026-06-12T09:41:00.000Z",
    "completedAt": "2026-06-12T09:41:00.000Z",
    "baselineVisibility": 71
  }
}

Setting status to applied records a baselineVisibility snapshot (from your most recent visibility snapshot) so outcome impact can be measured later. completedAt and baselineVisibility are null for any other status.


Next steps

← Previous
Prompts API
Next →
Agent API
Was this page helpful?Report an issue →