跳转到内容

导出运行结果

方法: POST

端点: /api/v1/run/result/export

使用 Content-Type: application/json 发送请求体。

POST/api/v1/run/result/exportExport run results
Required

Stored only in this browser tab. Sent only to https://openapi.coreclaw.com.

BodyRequiredapplication/json
FieldTypeRequiredDescription
run_slugstringyesRun slug whose results should be exported.
filter_keysstring[]yesOptional list of field keys to keep in the export. Use `[]` to export all fields.
formatenum (2)yesExport file format.
Request body (JSON)
{
"run_slug": "YOUR_RUN_SLUG",
"filter_keys": [],
"format": "csv"
}
参数示例值类型必填说明
run_slugYOUR_RUN_SLUGString运行唯一标识符
filter_keys[]String[]要导出的字段。使用 [] 导出全部字段
formatcsvString导出格式:csvjson
{
"code": 0,
"message": "success",
"data": {
"download_url": "https://..."
}
}
参数示例类型说明
code0Integer全局状态码
messagesuccessString响应消息
data-Object响应数据
download_url-String导出文件下载 URL