Skip to main content
Base path: /v1/ai/generate AI visibility endpoints measure how your website and competitors appear across AI models. These are the primary API routes for integrating Krastie into analytics dashboards, agency workflows, or custom reporting tools.
Each report refresh counts toward your plan’s AI refresh usage usage. See the pricing page for refresh limits on your plan.

POST /seo-site-report

Start a new visibility report or refresh an existing one. Body: New report example:
Refresh example:
Response: Report object with visibility scores, per-prompt results, competitor comparisons, and recommendations.

POST /seo-site-report/prefill

Suggest competitors and prompts before running a full report. Body:
Use the returned suggestions to populate a full report request.

GET /seo-site-report

Fetch the latest visibility report for the authenticated workspace.

GET /seo-site-report/history

Retrieve historical visibility data to track mention rates, citation rates, and competitor positioning over time.

GET /assistant/context

Returns workspace summary data available to the assistant, including visibility metrics, traffic, and documents.
Use this endpoint to verify what visibility data is available before calling chat with useWorkspaceContext: true.

Report data model

Reports typically include: Exact field names may vary by API version. Treat responses as the source of truth for your integration.

Workflow example

Content tools that support visibility improvements are documented separately: