v9

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01211389.1 KB

Async completion

Retrieve the completion or status of a queued conversation – use GET /ai?id=....

get/ai/completions

Query parameters

idstring uuid required
Example:1851dab8-4619-409f-893f-47dd3a180bc3

The identifier returned by the AI endpoint of the queued conversation to retrieve.

Response

The AI completion or status.

OR

Example response

{
  "model": "chatgpt",
  "query": "best basketball shoes for 2026",
  "html": "<!DOCTYPE html><html lang=\"en-US\" ...",
  "prompt": "<h4 class=\"sr-only select-none\">You said: ...",
  "completion": "<h4 class=\"sr-only select-none\">ChatGPT said: ...",
  "sources": "<section aria-label=\"Sources\" ...",
  "ads": "<div class=\"border-token-border-default mt-2 border-t py-4 text-sm\" ...",
  "sse": "{\"type\": \"conversation_detail_metadata\" ...",
  "fanouts": [
    "best basketball shoes 2026",
    "top rated basketball shoes 2026 reviews",
    "best performance basketball shoes 2026",
    "best basketball shoes for guards 2026",
    "best basketball shoes for wide feet 2026",
    "best outdoor basketball shoes 2026",
    "most popular basketball shoes 2026"
  ]
}