Skip to main content
GET
List Topics with Prompts

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Query Parameters

page
integer
default:1

Page number (1-based)

Required range: x >= 1
size
integer
default:25

Topics per page (max 50)

Required range: 1 <= x <= 50
query
string

Match topic names (keeps all their prompts) or prompt text (keeps only the matching prompts)

Maximum string length: 200
sortBy
enum<string>
default:visibility

Own-brand metric, promptCount or name to sort by

Available options:
visibility,
citationShare,
position,
shareOfVoice,
sentiment,
promptCount,
name
sortOrder
enum<string>
default:desc

Sort order

Available options:
asc,
desc
startDate
string<date>

Start date (YYYY-MM-DD). Max range 92 days; spans over 90 days are cut to the 90 days before endDate.

endDate
string<date>

End date (YYYY-MM-DD). Omit both dates for the last 30 days; omit one and it defaults to today.

models

Filter by model ids from GET /models. Repeat for multiple: models=x&models=y

monitorIds

Filter by monitor ids. Repeat for multiple.

promptTypes

Filter by prompt type. Repeat for multiple.

Available options:
ORGANIC,
BRAND_SPECIFIC,
COMPETITOR_COMPARISON
intentTypes

Filter by prompt intent. Repeat for multiple.

Available options:
BRANDED,
INFORMATIONAL,
NAVIGATIONAL,
COMMERCIAL,
TRANSACTIONAL

Response

Default Response

topics
object[]
required

Topics with at least one active prompt that has responses in the window. Metrics are the project's own brand.

total
integer
required

Total matching topics

page
integer
required

Current page

size
integer
required

Topics per page

totalPages
integer
required

Total pages