# Generate chart Endpoint: POST /platform-config/v1/questions/{question_id}/chart Version: 1.0.0 ## Path parameters: - `question_id` (any, required) ## Request fields (application/json): - `tenantId` (string) Tenant ID of the user Example: "tenant-123" - `userId` (string) User ID of the requester Example: "user-456" - `chart_type` (any) Type of chart to generate (applicable if question_type is 'chart') Example: "bar" - `knowledgeBaseId` (string) KnowledgeBase Identifier Example: 12345 ## Response 200 fields (application/json): - `chart` (any) chart data Example: "iVBORw0KGgoAAAANSUhEUgAAC7gAAAcICAYAAACsf4x4AAAAOnRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjEwLjMsIGh0dHBzOi8vbWF0cGxvdGxpYi5vcmcvZiW"