# `api.contacts.get_history_graph_data` > `GET /contacts/{contactId}/history/graphdata` — ACPortal **Python** ```python api.contacts.get_history_graph_data(contact_id: str) -> ContactGraphData ``` **CLI** ```bash ab contacts get_history_graph_data ``` GET /contacts/{contactId}/history/graphdata ## Query parameters — `ContactHistoryParams` | Field | Type | Required | Description | |---|---|---|---| | `statuses` | `Optional[str]` | no | Comma-separated status filters | ## Response Returns `ContactGraphData`. | Field | Type | Required | Description | |---|---|---|---| | `dataPoints` | `Optional[list[dict]]` | no | Graph data points | | `labels` | `Optional[list[str]]` | no | Graph labels | --- [← Back to api.contacts](../contacts.md)