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

Prompts API

Manage prompts and retrieve performance data.

GET/v1/prompts

List all prompts in your workspace.

ParameterReqDescription
periodstring7d 30d 90d. Filters by createdAt. Omit to return all prompts.
limitnumberPage size, 1–100. Default: 50.
cursorstringPagination cursor from a previous response's pagination.nextCursor.
{
  "data": [
    {
      "id": "6868b4c1f2a3b4c5d6e7f8a9",
      "text": "best vacation rental direct booking platform",
      "engines": ["gpt", "perplexity", "claude", "gemini"],
      "category": "discovery",
      "createdAt": "2026-06-01T00:00:00.000Z",
      "updatedAt": "2026-06-01T00:00:00.000Z"
    }
  ],
  "pagination": { "hasMore": false, "nextCursor": null }
}

POST/v1/prompts

Add a new prompt to your workspace. Requires prompts:write scope.

ParameterReqDescription
textstringyesThe prompt text. 1–2000 characters.
enginesstring[]Engines to run this prompt on: gpt perplexity claude gemini. Defaults to all four.
categorystringOptional category label, max 100 characters.
{
  "data": {
    "id": "6868b4c1f2a3b4c5d6e7f8a9",
    "text": "best vacation rental direct booking platform",
    "engines": ["gpt", "perplexity", "claude", "gemini"],
    "category": null,
    "createdAt": "2026-06-01T00:00:00.000Z"
  }
}

Intent classification runs asynchronously after creation and is not returned in the immediate response.

Next steps

← Previous
Visibility API
Next →
Optimize API
Was this page helpful?Report an issue →