Generate chart type and data preparation suggestions from a dataset. Send a GraphConfig and a prompt, receive suggested visualizations.
The response is a Server-Sent Events (SSE) stream with progress, complete, and error events.
GraphConfig and a prompt, receive suggested visualizations via Server-Sent Events.
config, userPrompt, and optional metadata, you may send maxSuggestionCount (integer 1–4). When set, it is communicated to the model as the target maximum number of suggestions. The stream is not validated or truncated to that count if the model returns more.
| Status | Description |
|---|---|
| 200 | Success (stream begins) |
| 400 | Invalid request body |
| 401 | Invalid or missing API key |
| 429 | Rate limit exceeded |
| 500 | Internal server error |
Your Graphy API key
The graph configuration object used to render charts. See Graph Config Schema for the complete reference.
Natural language description of what to visualize
10000Optional tracking information for requests
Optional upper bound (1–4) communicated to the model for how many suggestions to aim for. The response is not truncated; the model may still return more items.
1 <= x <= 4SSE stream with progress and completion events