Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: add score v2 docs (#11356)

Max Deichmann23f722bf7b10
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index 248379f5e2..e4c4f46ea0 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -5193,6 +5193,21 @@ paths:
items:
type: string
nullable: true
+ - name: fields
+ in: query
+ description: >-
+ Comma-separated list of field groups to include in the response.
+ Available field groups: 'score' (core score fields), 'trace' (trace
+ properties: userId, tags, environment). If not specified, both
+ 'score' and 'trace' are returned by default. Example: 'score' to
+ exclude trace data, 'score,trace' to include both. Note: When
+ filtering by trace properties (using userId or traceTags
+ parameters), the 'trace' field group must be included, otherwise a
+ 400 error will be returned.
+ required: false
+ schema:
+ type: string
+ nullable: true
responses:
'200':
description: ''
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 151beab128..9cdd110faf 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -3231,7 +3231,7 @@
"request": {
"description": "Get a list of scores (supports both trace and session scores)",
"url": {
- "raw": "{{baseUrl}}/api/public/v2/scores?page=&limit=&userId=&name=&fromTimestamp=&toTimestamp=&environment=&source=&operator=&value=&scoreIds=&configId=&sessionId=&datasetRunId=&traceId=&queueId=&dataType=&traceTags=",
+ "raw": "{{baseUrl}}/api/public/v2/scores?page=&limit=&userId=&name=&fromTimestamp=&toTimestamp=&environment=&source=&operator=&value=&scoreIds=&configId=&sessionId=&datasetRunId=&traceId=&queueId=&dataType=&traceTags=&fields=",
"host": [
"{{baseUrl}}"
],
@@ -3331,6 +3331,11 @@
"key": "traceTags",
"value": "",
"description": "Only scores linked to traces that include all of these tags will be returned."
+ },
+ {
+ "key": "fields",
+ "value": "",
+ "description": "Comma-separated list of field groups to include in the response. Available field groups: 'score' (core score fields), 'trace' (trace properties: userId, tags, environment). If not specified, both 'score' and 'trace' are returned by default. Example: 'score' to exclude trace data, 'score,trace' to include both. Note: When filtering by trace properties (using userId or traceTags parameters), the 'trace' field group must be included, otherwise a 400 error will be returned."
}
],
"variable": []