Skip to main content
GET
/
visibility-time-series
Visibility Time Series
curl --request GET \
  --url https://server.promptwatch.com/api/v1/visibility-time-series \
  --header 'X-API-Key: <api-key>'
[
  {
    "date": "2023-12-25",
    "value": 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 visibility data (YYYY-MM-DD)

endDate
string<date>

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

range
enum<string>
default:day

Time grouping for the data (day, week, or month)

Available options:
day,
week,
month
models
string[]

Filter by specific LLM models

promptId
string

Filter by specific prompt ID

llmMonitorId
string

Filter by specific LLM monitor ID

Response

Default Response

date
string<date>
required
value
number | null
required