List Paused Prompts
Returns the paused prompts of a domain, with the most recent pause first.
curl --request GET \
--url 'https://api.aiclicks.io/api/v1/prompts/paused?domain_id=8f1d3c0a-2f9b-4c11-9b80-7a82e1f0c3f3' \
--header 'Authorization: Bearer ak_live_xxx'
import httpx, os
resp = httpx.get(
"https://api.aiclicks.io/api/v1/prompts/paused",
params={"domain_id": "8f1d3c0a-2f9b-4c11-9b80-7a82e1f0c3f3"},
headers={"Authorization": f"Bearer {os.environ['AICLICKS_API_KEY']}"},
)
resp.raise_for_status()
for p in resp.json()["data"]:
print(p["id"], p["paused_at"], p["text"])
const url = new URL("https://api.aiclicks.io/api/v1/prompts/paused");
url.searchParams.set("domain_id", "8f1d3c0a-2f9b-4c11-9b80-7a82e1f0c3f3");
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.AICLICKS_API_KEY}` },
});
const { data } = await resp.json();
for (const p of data) console.log(p.id, p.paused_at, p.text);
{
"data": [
{
"id": "21c1f9aa-9b6d-4e3a-8a31-2b0c0e1f2a3b",
"text": "best VPN for streaming abroad",
"paused_at": "2026-12-01T10:00:11.104000+00:00"
},
{
"id": "5b7e2d10-4c3a-4f8e-9d21-6a0b1c2d3e4f",
"text": "NordVPN vs Surfshark for travel",
"paused_at": "2026-11-28T14:22:40.511000+00:00"
}
],
"generated_at": "2026-12-01T10:06:00.218000+00:00"
}
{
"detail": "domain_id query parameter is required. List the domains this key can access with GET /api/v1/domains, then pass ?domain_id=<uuid>."
}
{
"detail": "Invalid or revoked API key"
}
{
"detail": "Too many requests. Please try again later."
}
Returns all paused prompts of a domain. The list is not paginated. The prompt with the most recent pause is first. Use the IDs with POST /api/v1/prompts/resume.
To get paused prompts with their topics and tags, page by page, use GET /api/v1/prompts?status=paused.
Authorizations
Your API key in the format Bearer ak_live_<your-key>. Create a key in the dashboard under Settings → Developers.
Query parameters
UUID of the domain. Find it with GET /api/v1/domains. If you omit it, the API returns 400.
Response
The paused prompts of the domain. The list is empty if no prompt is paused.
ISO-8601 time when the server made this response.
Errors
The domain_id query parameter is missing.
The API key is missing, malformed or revoked.
The caller is not a member of the team of the domain. Or the API key has no access to this domain. Or the plan of the team does not include API access.
You sent too many requests. Read the Retry-After header to know how long to wait.