Days the measurement changed
curl --request GET \
--url https://api.seomator.com/v1/projects/{id}/trend-markers \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/trend-markers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/trend-markers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"markers": [
{
"date": "2023-12-25",
"kind": "model",
"assistant": "<string>",
"from": "<string>",
"to": "<string>"
}
]
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}Days the measurement changed
Marks for trend charts. One kind is the day an assistant’s main model changed: the model of more than half of its answers that day moved from one known model to another. A day without such a model is skipped, and so are unknown models. The other kind is the days prompts were added or archived after tracking started. With promptId, only the model changes in that prompt’s answers are returned.
GET
/
v1
/
projects
/
{id}
/
trend-markers
Days the measurement changed
curl --request GET \
--url https://api.seomator.com/v1/projects/{id}/trend-markers \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/trend-markers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/trend-markers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"markers": [
{
"date": "2023-12-25",
"kind": "model",
"assistant": "<string>",
"from": "<string>",
"to": "<string>"
}
]
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}Authorizations
Path Parameters
Project id (proj_…) or slug (the domain with dots as dashes).
Query Parameters
First day (UTC)
Last day (UTC)
Only model changes in the answers to this prompt
Maximum string length:
64