Skip to main content
GET
/
citations
/
llm-sources
LLM Sources
curl --request GET \
  --url https://server.promptwatch.com/api/v1/citations/llm-sources \
  --header 'X-API-Key: <api-key>'
[
  {
    "llm": "<string>",
    "provider": "<string>",
    "model": "<string>",
    "totalCitations": 123,
    "uniqueDomains": 123,
    "uniquePrompts": 123
  }
]

Authorizations

X-API-Key
string
header
required

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

Query Parameters

startDate
string<date>

Start date for citation data (YYYY-MM-DD)

endDate
string<date>

End date for citation data (YYYY-MM-DD)

model
string

Filter by specific LLM model

promptId
string

Filter by specific prompt ID

llmMonitorId
string

Filter by specific LLM monitor ID

promptTypes
enum<string>[]

Filter by prompt type

Available options:
ORGANIC,
BRAND_SPECIFIC,
COMPETITOR_COMPARISON
limit
integer
default:20

Maximum number of results to return

Required range: 1 <= x <= 100
domains
string[]

Filter by specific domains

Response

Default Response

llm
string
required

LLM identifier (provider_model)

provider
string
required

LLM provider name

model
string
required

LLM model name

totalCitations
number
required

Total number of citations from this LLM

uniqueDomains
number
required

Number of unique domains cited by this LLM

uniquePrompts
number
required

Number of unique prompts that generated citations