Create or replace the rating for an exact detected change
curl --request PUT \
--url https://api.sitespy.app/api/v1/watch/{uuid}/change-feedback/{to_timestamp} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"from_timestamp": 123,
"reason": "<string>",
"intent": "<string>",
"confirm_intent": false
}
'import requests
url = "https://api.sitespy.app/api/v1/watch/{uuid}/change-feedback/{to_timestamp}"
payload = {
"from_timestamp": 123,
"reason": "<string>",
"intent": "<string>",
"confirm_intent": False
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
from_timestamp: 123,
reason: '<string>',
intent: '<string>',
confirm_intent: false
})
};
fetch('https://api.sitespy.app/api/v1/watch/{uuid}/change-feedback/{to_timestamp}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"watch_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from_timestamp": 123,
"to_timestamp": 123,
"verdict": "useful",
"reason": "<string>",
"intent": "<string>",
"source": "dashboard",
"created_at": 123,
"updated_at": 123
}Change Feedback
Create or replace the rating for an exact detected change
PUT
/
watch
/
{uuid}
/
change-feedback
/
{to_timestamp}
Create or replace the rating for an exact detected change
curl --request PUT \
--url https://api.sitespy.app/api/v1/watch/{uuid}/change-feedback/{to_timestamp} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"from_timestamp": 123,
"reason": "<string>",
"intent": "<string>",
"confirm_intent": false
}
'import requests
url = "https://api.sitespy.app/api/v1/watch/{uuid}/change-feedback/{to_timestamp}"
payload = {
"from_timestamp": 123,
"reason": "<string>",
"intent": "<string>",
"confirm_intent": False
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
from_timestamp: 123,
reason: '<string>',
intent: '<string>',
confirm_intent: false
})
};
fetch('https://api.sitespy.app/api/v1/watch/{uuid}/change-feedback/{to_timestamp}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"watch_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from_timestamp": 123,
"to_timestamp": 123,
"verdict": "useful",
"reason": "<string>",
"intent": "<string>",
"source": "dashboard",
"created_at": 123,
"updated_at": 123
}Authorizations
API key for authentication. You can find your API key in the Site Spy dashboard under Settings → API.
Body
application/json
Available options:
useful, noise Available options:
dashboard, extension, email, telegram, push Maximum string length:
500Maximum string length:
500Response
200 - application/json
Saved feedback

