Analytics
Authorization
Bearer AuthorizationBearer <token>
In: header
Query Parameters
post_id*string
Post ID to analyze decay for
days?integer
Number of days to analyze
Default
30Range
1 <= value <= 90Response Body
application/json
application/json
curl -X GET "https://api.relayapi.dev/v1/analytics/content-decay?post_id=string"{
"post_id": "string",
"platform": "twitter",
"data": [
{
"day": 0,
"impressions": 0,
"engagement": 0,
"cumulative_impressions": 0,
"cumulative_engagement": 0
}
],
"half_life_days": 0
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}