> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# 查询分析报告

> 查询分析报告。



## OpenAPI

````yaml openapi/zh/apollo.json POST /apollo/reports/sync_report
openapi: 3.0.3
info:
  title: Apollo API
  version: 1.0.0
  description: 通过 AIsa 统一网关公开的 Apollo API 端点。
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /apollo/reports/sync_report:
    post:
      summary: 查询分析报告
      description: 查询分析报告。需要主 API 密钥。
      operationId: post_apollo_reports_sync_report
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                metrics:
                  type: array
                  items:
                    type: string
                  description: 要计算的指标。
                group_by:
                  type: array
                  items:
                    type: string
                  description: 用于分组的维度。
                pivot_group_by:
                  type: array
                  items:
                    type: string
                  description: 可选的数据透视维度。
                sorts:
                  type: array
                  items:
                    type: string
                  description: 排序规范。
                filters:
                  type: string
                  description: 筛选条件规范。
                date_range:
                  type: object
                  description: 日期范围筛选器（支持时）。
      responses:
        '200':
          description: 成功响应
          content:
            application/json:
              schema:
                type: object
                properties:
                  report:
                    type: object
                    description: 报告结果（结构取决于请求）。
        '400':
          description: 错误请求
        '401':
          description: 未授权
        '429':
          description: 超出速率限制
        '500':
          description: 内部服务器错误
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````