Render AI job visualization
Changed onRender the visualization from a completed AI job as a PNG image. The endpoint extracts the visualization configuration from the job result, loads Arrow IPC data, and renders it server-side using Vega. For style-only follow-ups (e.g., "make it a bar chart"), the endpoint walks back through previous jobs in the conversation to find the original query data.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/ai/jobs/{jobId}/vis
- AuthHTTP bearer
Path parameters
The unique identifier of the AI job
Query parameters
The literal string false disables automatic chart selection and returns 204 if the job has no visualization. All other strings, including empty strings and 0, enable automatic selection. Defaults to true.
Returns debug JSON instead of the rendered PNG when enabled. The strings false, 0, and the empty string disable debug; other nonempty strings, including true and 1, enable it. Defaults to false.
Response
Visualization rendered as image/png, or application/json when debug is enabled. Debug JSON contains the compiled visualization and query details, or diagnostic information when Arrow data is unavailable.
Changes
- breaking
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8to the///response propertyoneOflist for the response status - breaking
added
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8to the///response propertyoneOflist for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8from the///response propertyoneOflist for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4subschema #5subschema #6subschema #7subschema #8from the///response propertyoneOflist for the response status
- breaking
- info
added the new optional
queryrequest parameterauto_vis - info
added the new optional
queryrequest parameterdebug - info
added the media type
application/jsonfor the response with the status - info
added the success response with the status
- info