Tools

get_prompt_runs

Read up to 20 recent sampled answers for a prompt, each at most 2000 characters.

Arguments#

Name Type Required Values and constraints
host string Required maxLength 253 Project host from list_projects, without scheme or path.
prompt_id integer Required min 1 max 9007199254740991
days integer Optional 7, 30, 90 Inclusive calendar days; defaults to 30.
engine string Optional chat_gpt, chat_gpt_web, gemini_web, google_ai_mode, google_ai_overview, perplexity_web, copilot_web, grok_web, perplexity, gemini, claude

Additional properties are rejected.

Example call#

Send this JSON-RPC body to POST https://app.keptai.com/mcp after the client’s initialize handshake, with your Bearer header.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_prompt_runs",
    "arguments": {
      "host": "example.com",
      "prompt_id": 1
    }
  }
}

Result and limits#

Returns at most 20 sampled answers, each capped at 2,000 characters.

Results contain text JSON and structuredContent. Check isError on tool failures and _meta.truncated for clipped data. All tools are read-only and respect project access. See Setup for authentication and rate limits.

Search titles, guides, and API references.