For the complete documentation index, see llms.txt. This page is also available as Markdown.

評估與測試集

評估與測試集端點對應後台 AgentOps 的「測試集」與「自動化測試」,讓您從自己的系統批次測試 Agent。完整流程是:

  1. 建立測試集:用 POST /api/v1/dataset/ 建立空白測試集,或用 POST /api/v1/dataset/upload/ 上傳 CSV/Excel 一次建好。

  2. 加入測試案例:單輪問答用 /api/v1/test-case/(逐筆建立、上傳檔案或從知識庫檔案生成),多輪對話情境用 /api/v1/multi-turn-test-case/。從知識庫檔案生成在背景執行,回應 202 與 jobId,再用 查詢測試案例生成任務進度 追蹤。

  3. 執行評估:用 POST /api/v1/evaluations/evaluate/(單輪)或 POST /api/v1/evaluations/multi-turn-evaluate/(多輪)指定測試集與 Agent,回應 202 與 evaluationId。

  4. 讀取結果與匯出:輪詢 GET /api/v1/evaluations/{id}/,status 變成 completed、partial_completed 或 failed 即結束;單輪的逐題結果在 details,多輪的逐對話結果在 multi-turn-results。已完成的單輪評估可以用 export 匯出 Excel 報表,再從 export-status 取得下載網址。

所需權限:API Key 以建立它的成員身分呼叫。/dataset/、/test-case/、/multi-turn-test-case/ 的列表與所有寫入操作需要角色具備「測試集權限」,/evaluations/ 的列表與所有寫入操作需要「自動化測試權限」(角色權限中的 AgentOps 權限;擁有者一律具備),權限不足回 403。擁有者以外的成員只看得到、也只能評估自己角色可使用的 Agent。

Credit:從知識庫檔案生成測試案例,依實際生成的題數扣計價項目 agentops_test_gen;執行評估在結束時依完成的測試案例數扣 agentops_test_run 與 agentops_deepeval,評分用的評估模型呼叫另依該模型的用量計費。送出生成或評估前,系統會先檢查組織 Credit 與額度,不足回 402。手動建立、上傳檔案與讀取結果不扣 Credit;各項單價見 列出計價項目。

功能與後台操作見使用者手冊測試集管理與自動評估與 Agent 監控。

列出測試集

GET /api/v1/dataset/

參數

參數名稱
必填
類型
說明

isActive

❌

boolean

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


建立空白測試集

POST /api/v1/dataset/

測試集名稱在組織內不可重複,重複時回 400。

請求內容

請求參數

欄位
類型
必填
說明

name

string

是

description

string

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 201

回應結構範例

回應範例值


上傳 CSV 或 Excel 建立測試集

POST /api/v1/dataset/upload/

以 multipart/form-data 上傳:file 與 name 必填,description 選填。檔案格式同 上傳 CSV 或 Excel 加入測試案例;測試集名稱在組織內不可重複。

程式碼範例

回應內容

狀態碼: 201

回應結構範例

回應範例值


從知識庫檔案生成測試集

POST /api/v1/dataset/generate-from-file/

以單一知識庫檔案(knowledgeBaseFileId)建立新測試集並生成單輪測試案例,numTestCases 為 1~50(預設 10)。生成在背景執行,實際回應是 202 與 taskId,不含測試集 ID,也沒有進度可查;完成後新測試集會出現在列表中。需要追蹤進度時,請先建立空白測試集,再用 從知識庫檔案生成單輪測試案例。Credit:送出前檢查組織 Credit,不足回 402;依實際生成的題數扣 agentops_test_gen。

請求內容

請求參數

欄位
類型
必填
說明

name

string

是

description

string

否

chatbotFileId

string (uuid)

否

knowledgeBaseFileId

string (uuid)

否

numTestCases

integer

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 201

回應結構範例

回應範例值


列出可生成測試案例的知識庫檔案

GET /api/v1/dataset/knowledge-base-files/

依知識庫分組,只列出處理完成、類型為 txt、docx、pdf、md、markdown、mdx 的檔案。pageSize 是每個知識庫最多回傳的檔案數(預設 5,上限 100),search 依檔名篩選。

參數

參數名稱
必填
類型
說明

pageSize

❌

integer

Number of files per knowledge base (default: 5, max: 100)

search

❌

string

Filter files by filename

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


取得特定測試集

GET /api/v1/dataset/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset.

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


取得測試集與單輪測試案例

GET /api/v1/dataset/{id}/details/

回應在測試集欄位之外另含 testCases 陣列,只包含單輪測試案例;多輪測試案例請用 GET /api/v1/multi-turn-test-case/?datasetId={id}。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset.

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


更新測試集

PUT /api/v1/dataset/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset.

請求內容

請求參數

欄位
類型
必填
說明

name

string

是

description

string

否

isActive

boolean

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


部分更新測試集

PATCH /api/v1/dataset/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset.

請求內容

請求參數

欄位
類型
必填
說明

name

string

否

description

string

否

isActive

boolean

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


刪除測試集

DELETE /api/v1/dataset/{id}/

刪除後無法復原,會一併刪除測試集內的所有測試案例,以及用這個測試集執行過的評估與結果。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset.

程式碼範例

回應內容

狀態碼
說明

204

No response body


列出單輪測試案例

GET /api/v1/test-case/

用 datasetId 篩選單一測試集,也可依 status、creationMethod(manual、file、generate)篩選。

參數

參數名稱
必填
類型
說明

creationMethod

❌

string

`manual`: Manual ; `file`: File import ; `generate`: Generated;

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

status

❌

string

`active`: Active ; `inactive`: Inactive ; `pending`: Pending Review;

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


建立單輪測試案例

POST /api/v1/test-case/

datasetId、question、groundTruth 必填。status 預設 active;評估只會執行 active 的測試案例。

請求內容

請求參數

欄位
類型
必填
說明

datasetId

string (uuid)

是

question

string

是

groundTruth

string

是

status

string

否

flaky

boolean

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 201

回應結構範例

回應範例值


上傳 CSV 或 Excel 加入測試案例

POST /api/v1/test-case/upload/

以 multipart/form-data 上傳,file 與 dataset_id 都必填。檔案為 .csv、.xlsx 或 .xls,標題列須有 question 與 ground_truth 兩欄,每一列新增一筆單輪測試案例;CSV 請用 UTF-8 編碼。回應是新增測試案例的陣列。

參數

參數名稱
必填
類型
說明

creationMethod

❌

string

`manual`: Manual ; `file`: File import ; `generate`: Generated;

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

status

❌

string

`active`: Active ; `inactive`: Inactive ; `pending`: Pending Review;

程式碼範例

回應內容

狀態碼: 201

回應結構範例

回應範例值


從知識庫檔案生成單輪測試案例

POST /api/v1/test-case/generate-from-file/

用 knowledgeBaseIds(展開為知識庫內處理完成、類型支援的所有檔案)或 knowledgeBaseFileIds 指定來源,兩者可合用;支援 txt、docx、pdf、md、markdown、mdx。numTestCases 是這次要生成的總題數(預設 10),檔案數或題數超過平台上限時回 400,訊息會寫出上限。生成在背景執行,回應 202 與 jobId;同一個測試集已有生成任務在進行時,回傳該任務的 jobId,不會重複建立。Credit:送出前檢查組織 Credit,不足回 402;依實際生成的題數扣 agentops_test_gen。

請求內容

請求參數

欄位
類型
必填
說明

chatbotFileIds

array[string]

否

List of KnowledgeBaseFile IDs to generate test cases from (deprecated)

knowledgeBaseFileIds

array[string]

否

List of KnowledgeBaseFile IDs to generate test cases from

knowledgeBaseIds

array[string]

否

List of KnowledgeBase IDs to generate test cases from all their files

datasetId

string (uuid)

是

numTestCases

integer

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 202

回應結構範例

回應範例值


列出測試案例生成任務

GET /api/v1/test-case/generation-jobs/

列出組織的單輪與多輪生成任務,新到舊排序,可用 datasetId 與 status 篩選。

參數

參數名稱
必填
類型
說明

creationMethod

❌

string

`manual`: Manual ; `file`: File import ; `generate`: Generated;

datasetId

❌

string

只列出此資料集的生成任務

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

status

❌

string

依狀態過濾:pending / running / completed / partial_completed / failed

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


查詢測試案例生成任務進度

GET /api/v1/test-case/generation-jobs/{jobId}/

status 為 pending、running、completed、partial_completed 或 failed;generatedCount 是已生成的題數,fileResults 列出每個檔案的結果與失敗原因。單輪與多輪的生成任務都用這個端點查詢,以 jobType 區分。

參數

參數名稱
必填
類型
說明

jobId

✅

string

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


更新單輪測試案例

PUT /api/v1/test-case/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Q&A pair.

請求內容

請求參數

欄位
類型
必填
說明

question

string

是

groundTruth

string

否

status

string (enum: active, inactive, pending)

否

active: Active ; inactive: Inactive ; pending: Pending Review;

flaky

boolean

否

Flaky test cases still run and keep their results, but are excluded from the pass rate.

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


部分更新單輪測試案例

PATCH /api/v1/test-case/{id}/

想暫時不測某一題時,把 status 改成 inactive,評估會略過它,過往的評估結果也會保留。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Q&A pair.

請求內容

請求參數

欄位
類型
必填
說明

question

string

否

groundTruth

string

否

status

string (enum: active, inactive, pending)

否

active: Active ; inactive: Inactive ; pending: Pending Review;

flaky

boolean

否

Flaky test cases still run and keep their results, but are excluded from the pass rate.

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


刪除單輪測試案例

DELETE /api/v1/test-case/{id}/

會一併刪除這筆測試案例在過往評估中的逐題結果;只想暫停測試請改用 status。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Q&A pair.

程式碼範例

回應內容

狀態碼
說明

204

No response body


批次刪除單輪測試案例

POST /api/v1/test-case/bulk-delete/

以 testCaseIds 傳入要刪除的測試案例 ID 陣列,成功回 204。刪除的影響同 刪除單輪測試案例。

請求內容

請求參數

欄位
類型
必填
說明

test_case_ids

array[string]

是

要刪除的測試案例 ID 列表

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼
說明

204

No response body


列出多輪測試案例

GET /api/v1/multi-turn-test-case/

用 datasetId 篩選單一測試集。

參數

參數名稱
必填
類型
說明

dataset

❌

string

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

search

❌

string

A search term.

status

❌

string

`active`: Active ; `inactive`: Inactive;

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


建立多輪測試案例

POST /api/v1/multi-turn-test-case/

datasetId、scenario(模擬使用者要完成的任務情境)、expectedOutcome(對話成功時應達成的結果,也是模擬對話的結束條件)必填;userDescription 選填,描述模擬使用者的語氣、背景與專業程度。

請求內容

請求參數

欄位
類型
必填
說明

datasetId

string (uuid)

是

scenario

string

是

expectedOutcome

string

是

userDescription

string

否

status

object

否

flaky

boolean

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 201

回應結構範例

回應範例值


從知識庫檔案生成多輪測試案例

POST /api/v1/multi-turn-test-case/generate-from-file/

用 knowledgeBaseFileIds 指定來源檔案,numTestCases 預設 5、最多 20。生成在背景執行,回應 202 與 jobId,用 查詢測試案例生成任務進度 追蹤。Credit:同單輪生成,依實際生成的題數扣 agentops_test_gen。

請求內容

請求參數

欄位
類型
必填
說明

datasetId

string (uuid)

是

knowledgeBaseFileIds

array[string]

是

List of KnowledgeBaseFile IDs to generate multi-turn test cases from

numTestCases

integer

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 202

回應結構範例

回應範例值


取得特定多輪測試案例

GET /api/v1/multi-turn-test-case/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Multi-turn test case.

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


更新多輪測試案例

PUT /api/v1/multi-turn-test-case/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Multi-turn test case.

請求內容

請求參數

欄位
類型
必填
說明

scenario

string

是

Task scenario the simulated user should accomplish

expectedOutcome

string

是

Outcome a successful conversation should reach, also used as the simulation stop condition

userDescription

string

否

Persona of the simulated user, such as tone, background and level of expertise

status

string (enum: active, inactive)

否

active: Active ; inactive: Inactive;

flaky

boolean

否

Flaky test cases still run and keep their results, but are excluded from the pass rate.

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


部分更新多輪測試案例

PATCH /api/v1/multi-turn-test-case/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Multi-turn test case.

請求內容

請求參數

欄位
類型
必填
說明

scenario

string

否

Task scenario the simulated user should accomplish

expectedOutcome

string

否

Outcome a successful conversation should reach, also used as the simulation stop condition

userDescription

string

否

Persona of the simulated user, such as tone, background and level of expertise

status

string (enum: active, inactive)

否

active: Active ; inactive: Inactive;

flaky

boolean

否

Flaky test cases still run and keep their results, but are excluded from the pass rate.

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


刪除多輪測試案例

DELETE /api/v1/multi-turn-test-case/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Multi-turn test case.

程式碼範例

回應內容

狀態碼
說明

204

No response body


列出可用的評估模型

GET /api/v1/evaluations/evaluation-llms/

isDefault 為 true 的模型,是執行評估時沒有指定 evaluationLlmId 所使用的預設評估模型。

參數

參數名稱
必填
類型
說明

chatbotId

❌

string

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

query

❌

string

search

❌

string

A search term.

status

❌

string

`pending`: Pending evaluation ; `running`: Evaluating ; `stopping`: Stopping ; `completed`: Completed ; `partial_completed`: Partially completed ; `failed`: Evaluation failed;

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


執行單輪評估

POST /api/v1/evaluations/evaluate/

datasetId 與 chatbotId 必填;evaluationLlmId 省略時使用預設評估模型。metricConfig 以布林值開關內建指標,customMetrics 最多 10 個自訂指標。只評估狀態為 active 的測試案例。評估在背景執行,回應 202 與 evaluationId。Credit:送出前檢查組織 Credit,不足回 402;評估結束時依完成的測試案例數扣 agentops_test_run 與 agentops_deepeval,評估模型的呼叫另計。

請求內容

請求參數

欄位
類型
必填
說明

datasetId

string (uuid)

是

chatbotId

string (uuid)

是

evaluationLlmId

string (uuid)

否

name

string

否

description

string

否

metricConfig

object

否

customMetrics

array[DatasetEvaluationCustomMetric]

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 202

回應結構範例

回應範例值


執行多輪評估

POST /api/v1/evaluations/multi-turn-evaluate/

以測試集內的多輪測試案例模擬使用者與 Agent 對話後評分。maxTurns 是模擬使用者最多發話的輪數(2~10,預設 6),language 是模擬使用者的語言(Traditional Chinese、Simplified Chinese、English、Japanese、Korean,預設 Traditional Chinese)。測試集沒有任何 active 的多輪測試案例時回 400。回應與 Credit 同 執行單輪評估。

請求內容

請求參數

欄位
類型
必填
說明

datasetId

string (uuid)

是

chatbotId

string (uuid)

是

evaluationLlmId

string (uuid)

否

name

string

否

description

string

否

maxTurns

integer

否

minTurns

integer

否

turnFaithfulness

boolean

否

turnRelevancy

boolean

否

conversationCompleteness

boolean

否

language

object

否

customMetrics

array[MultiTurnCustomMetric]

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 202

回應結構範例

回應範例值


列出評估

GET /api/v1/evaluations/

可用 datasetId、chatbotId、status 篩選。

參數

參數名稱
必填
類型
說明

chatbotId

❌

string

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

status

❌

string

`pending`: Pending evaluation ; `running`: Evaluating ; `stopping`: Stopping ; `completed`: Completed ; `partial_completed`: Partially completed ; `failed`: Evaluation failed;

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


取得評估結果

GET /api/v1/evaluations/{id}/

status 為 pending、running、stopping、completed、partial_completed 或 failed;執行中看 progressPercentage,結束後看 passRate、overallScore 與各指標的 metricScores。沒有任何測試案例完成時結束為 failed。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


取得單輪評估的逐題結果

GET /api/v1/evaluations/{id}/details/

只適用單輪評估,多輪評估回 400。回應是所有測試案例結果的陣列,不分頁。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

chatbotId

❌

string

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

status

❌

string

`pending`: Pending evaluation ; `running`: Evaluating ; `stopping`: Stopping ; `completed`: Completed ; `partial_completed`: Partially completed ; `failed`: Evaluation failed;

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


取得多輪評估的逐對話結果

GET /api/v1/evaluations/{id}/multi-turn-results/

只適用多輪評估,單輪評估回 400。回應分頁。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

chatbotId

❌

string

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

status

❌

string

`pending`: Pending evaluation ; `running`: Evaluating ; `stopping`: Stopping ; `completed`: Completed ; `partial_completed`: Partially completed ; `failed`: Evaluation failed;

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


取消執行中的評估

POST /api/v1/evaluations/{id}/cancel/

只能取消 status 為 running 的評估,否則回 400。取消後 status 先變成 stopping,停止後結束為 partial_completed,保留已算好的分數,已完成的測試案例照常扣 Credit;之後可以用 繼續未完成的評估 補跑。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


繼續未完成的評估

POST /api/v1/evaluations/{id}/resume/

只能繼續 status 為 partial_completed 的評估,否則回 400。重跑失敗與尚未執行的測試案例並保留已完成的結果,回應 202;只對先前未計費的完成案例扣 Credit。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

程式碼範例

回應內容

狀態碼: 202

回應結構範例

回應範例值


匯出評估報表

POST /api/v1/evaluations/{id}/export/

只能匯出 status 為 completed 的單輪評估;多輪評估目前不支援匯出,回 400。報表在背景產生 Excel 檔,回應 201 與匯出紀錄,再用 查詢最新匯出狀態 取得下載網址。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

程式碼範例

回應內容

狀態碼: 201

回應結構範例

回應範例值


查詢最新匯出狀態

GET /api/v1/evaluations/{id}/export-status/

回傳這筆評估最近一次的匯出紀錄:status 為 pending、processing、completed 或 failed,completed 時從 fileUrl 下載。這筆評估沒有匯出紀錄時回 404。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


列出匯出紀錄

GET /api/v1/evaluations/{id}/exports/

回應是這筆評估所有匯出紀錄的陣列,新到舊排序,不分頁。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

chatbotId

❌

string

datasetId

❌

string

ordering

❌

string

Which field to use when ordering the results.

page

❌

integer

A page number within the paginated result set.

pageSize

❌

integer

Number of results to return per page.

query

❌

string

search

❌

string

A search term.

status

❌

string

`pending`: Pending evaluation ; `running`: Evaluating ; `stopping`: Stopping ; `completed`: Completed ; `partial_completed`: Partially completed ; `failed`: Evaluation failed;

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


編輯評估名稱與描述

PATCH /api/v1/evaluations/{id}/

只接受 name 與 description,其他欄位會被忽略;任何狀態都可以編輯。

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

請求內容

請求參數

欄位
類型
必填
說明

name

string

否

description

string

否

請求結構範例

請求範例值

程式碼範例

回應內容

狀態碼: 200

回應結構範例

回應範例值


刪除評估

DELETE /api/v1/evaluations/{id}/

參數

參數名稱
必填
類型
說明

id

✅

string

A UUID string identifying this Dataset evaluation.

程式碼範例

回應內容

狀態碼
說明

204

No response body


最後更新於

這有幫助嗎?