history_data
Retrieve a social account's posting history with live post links and failure reasons, using a date range for up to 100 posts or the last 60 minutes by default.
Instructions
Posting history of one social account (id = smpa_id) with live post links and fail reasons. Send start_date and end_date together (YYYY-MM-DD HH:MM:SS in the account's timezone) to get up to 100 posts of that window; without dates only the last 60 minutes come back. For every account at once use history_list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "history_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Encrypted social account id from /api/social_account_list. | |
| end_date | No | End of the window, YYYY-MM-DD HH:MM:SS in the account's timezone. Must be sent together with start_date. | |
| start_date | No | Start of the window, YYYY-MM-DD HH:MM:SS in the account's timezone (the time part is mandatory). Must be sent together with end_date. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. | |
| is_get_video_updates | No | false, 0, no or off leaves video posts out, sent as a JSON boolean or number or as a string. Default: true. |