Reports
Reports
Query Citations
Changed onGet citations for a given category.
post/v1/reports/citations
Request
- Base URLhttps://api.tryprofound.com
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"order_by": {
"date": "asc"
}
}Response
Successful Response
Example response
{
"data": [
{
"dimensions": [
"example.com",
"/some/path",
"2023-10-01"
],
"metrics": [
10,
0.05
]
}
],
"info": {
"query": {
"date_interval": "day",
"dimensions": [
"hostname",
"path",
"date"
],
"filters": [
{
"field": "hostname",
"operator": "is",
"value": "example.com"
}
],
"metrics": [
"count",
"citation_share"
]
},
"total_rows": 200
}
}Changes
- breaking
removed
subschema #1subschema #2from the///request propertyanyOflist - breaking
response property
data/items/metrics/items/list-of-types was widened by adding typesnull and stringto media typeapplication/jsonof response200 - info
added
subschema #1subschema #2to the///request propertyanyOflist - info
added the new
first_cited_atenum value to the request property/
- breaking
- info
the endpoint scheme security
BearerAuthwas added to the API
- info