GTM - Charts

Generate Chart

Generate a branded chart and return its S3 URL.

Query spec shape varies by chart_type — see app.charts.service._fetch_data for details. Can bypass DB fetch entirely by including inline_data in query_spec.

post/api/v1/gtm/charts/generate

Request

  • Base URL: https://api.gemstoneaiapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gemstoneaiapp.com/api/v1/gtm/charts/generate
  • Auth: none declared

Headers

x-admin-keystring nullable

Request body

chart_typestring required
query_specobject required
aspectstring
titlestring required
subtitlestring nullable
include_watermarkboolean

Response

Successful Response

s3_urlstring required
chart_typestring required
aspectstring required
generated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.