Get monitor brand profile
Get the brand profile saved with a monitor, together with the monitor's current domain and brand. stale tells whether the monitor's website or brand changed since the profile was built.
Response:
profile— the saved brand profile, or null when the monitor has nonestale— null, orfield,fromandtowhen the monitor's domain or brand is no longer the one the profile was built for:fieldisdomainorbrand(domainwhen both changed),fromthe value the profile was built for,tothe monitor's current valuemonitor— the monitor's currentdomainandbrandregenerations_left— how many more times the profile can be regenerated for this monitor (moderegenerateofPOST /aiwatcher/brand-profile/buildwithmonitor_id)
Authorization
ApiKeyAuth x-access-token<token>
API token issued for your Mangools account, sent as an API key in the x-access-token HTTP header. This is NOT a standard RFC 6750 Authorization: Bearer <token> header. Auto-generated clients should be configured to send the token in x-access-token accordingly.
In: header
Path Parameters
id*string
Monitor ID
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.mangools.com/v3/aiwatcher/monitor/string/brand-profile"{
"profile": {
"about": "string",
"about_origin": "site",
"products": [
{
"key": "string",
"name": "string",
"description": "string",
"origin": "site"
}
],
"audiences": [
{
"key": "string",
"name": "string",
"origin": "site"
}
],
"business_type": "string",
"business_type_origin": "site",
"removed_keys": [
"string"
],
"source": "homepage",
"fallback_reason": "timeout",
"built_for": {
"domain": "string",
"brand": "string"
},
"homepage_read_at": "2019-08-24T14:15:22Z",
"saved_at": "2019-08-24T14:15:22Z",
"regenerations": 0
},
"stale": {
"field": "domain",
"from": "string",
"to": "string"
},
"monitor": {
"domain": "string",
"brand": "string"
},
"regenerations_left": 0
}{
"error": {
"type": "AuthError",
"message": "Invalid API Key"
}
}{
"error": {
"type": "ValidationError",
"message": "Your request is invalid",
"errors": [
"Your request is invalid"
]
}
}{
"error": {
"type": "Error",
"message": "Internal server error"
}
}