ghl_snapshot_get_pushes_between_dates
Retrieves the sub-accounts where a specified snapshot was pushed during a date range, using an agency-level token and pagination for complete results.
Instructions
REQUIRES AN AGENCY-LEVEL (Company) TOKEN — spec security is Agency-Access-Only for all snapshots ops. from/to/lastDoc are required query params per spec despite generic-sounding names.
Get Snapshot Push between Dates
Get list of sub-accounts snapshot pushed in time period
Endpoint: GET /snapshots/snapshot-status/{snapshotId} (Version header: v3; source: v3/snapshots-v3.json)
Requires an Agency (company-level) token.
Pagination params: limit — pass them to page through full result sets.
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": {
"snapshotId": "<snapshotId>",
"companyId": "<companyId>",
"from": "<from>",
"to": "<to>",
"lastDoc": "<lastDoc>"
},
"name": "ghl_snapshot_get_pushes_between_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Only accepts ISO 8601 format | |
| from | Yes | Only accepts ISO 8601 format | |
| limit | No | Limit of documents to return. Default is 20 | |
| lastDoc | Yes | Id for last document till what you want to skip | |
| companyId | Yes | ||
| snapshotId | Yes |