---
title: "获取AI智能中心执行数据"
method: GET
path: "/v1/ai_hub/execution_data"
tags: ["ai_hub"]
---

# 获取AI智能中心执行数据

`GET /v1/ai_hub/execution_data`

返回最新10条执行数据记录（来源项目、SQL片段、功能模块、价值维度、处理状态、预估提升、时间）

## Response `200`

OK

- V1GetAIHubExecutionDataResp
  - `code` integer
  - `data` V1AIHubExecutionRecord[]
    - `estimated_upgrade` number — 预估提升
    - `function_module` 'smart_correction' | 'performance_engine' — 功能模块
    - `id` integer — 记录ID
    - `operation_time` string — 操作时间
    - `process_status` 'pending' | 'running' | 'completed' | 'failed' — 处理状态
    - `source_project` string — 来源项目
    - `sql_snippet` string — SQL片段
    - `value_dimension` 'security' | 'performance' | 'correction' | 'maintenance' | 'code_standard' — 价值维度
  - `message` string
  - `total_nums` integer — 总数

## Changes

- **2026-03-05** `9a0f5d9bf5fd` — 1 info
  - endpoint added
- **2026-02-26** `2fcd2f7459b5` — 1 breaking
  - api path removed without deprecation
- **2026-02-24** `c3b7acfa6046` — 1 info
  - endpoint added
- **2025-06-24** `ea902136997f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/actiontech/apis/sqle-api-docs/changes/v1/ai_hub/execution_data/get.md)

---

[API](https://skmtc.dev/actiontech/apis/sqle-api-docs.md) · [All operations](https://skmtc.dev/actiontech/apis/sqle-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/actiontech/sqle-api-docs/revisions/3e36a0067703/schema)
