πͺ’ Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat(fern/scores): demote scores v2 to legacy, promote v3 to canonical Scores section (#14126)
Niklas Semmlerd60e520707d7
diff --git a/fern/apis/server/definition/legacy/scores-v2.yml b/fern/apis/server/definition/legacy/scores-v2.ymlnew file mode 100644index 0000000000..a3f5777365--- /dev/null+++ b/fern/apis/server/definition/legacy/scores-v2.yml@@ -0,0 +1,156 @@+# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json+imports:+ pagination: ../utils/pagination.yml+ commons: ../commons.yml+service:+ auth: true+ base-path: /api/public/v2+ endpoints:+ get-many:+ docs: |+ **Deprecated.** Use `GET /api/public/v3/scores` instead.++ Get a list of scores (supports both trace and session scores)+ method: GET+ path: /scores+ request:+ name: GetScoresRequest+ query-parameters:+ page:+ type: optional<integer>+ docs: Page number, starts at 1.+ limit:+ type: optional<integer>+ docs: Limit of items per page. Maximum 100. Defaults to 50. Requests with a limit greater than 100 return HTTP 400. If you encounter api issues due to too large page sizes, try to reduce the limit.+ userId:+ type: optional<string>+ docs: Retrieve only scores with this userId associated to the trace.+ name:+ type: optional<string>+ docs: Retrieve only scores with this name.+ fromTimestamp:+ type: optional<datetime>+ docs: Optional filter to only include scores created on or after a certain datetime (ISO 8601)+ toTimestamp:+ type: optional<datetime>+ docs: Optional filter to only include scores created before a certain datetime (ISO 8601)+ environment:+ type: optional<string>+ allow-multiple: true+ docs: Optional filter for scores where the environment is one of the provided values.+ source:+ type: optional<commons.ScoreSource>+ docs: Retrieve only scores from a specific source.+ operator:+ type: optional<string>+ docs: Retrieve only scores with <operator> value.+ value:+ type: optional<double>+ docs: Retrieve only scores with <operator> value.+ scoreIds:+ type: optional<string>+ docs: Comma-separated list of score IDs to limit the results to.+ configId:+ type: optional<string>+ docs: Retrieve only scores with a specific configId.+ sessionId:+ type: optional<string>+ docs: Retrieve only scores with a specific sessionId.+ datasetRunId:+ type: optional<string>+ docs: Retrieve only scores with a specific datasetRunId.+ traceId:+ type: optional<string>+ docs: Retrieve only scores with a specific traceId.+ observationId:+ type: optional<string>+ docs: Comma-separated list of observation IDs to filter scores by.+ queueId:+ type: optional<string>+ docs: Retrieve only scores with a specific annotation queueId.+ dataType:+ type: optional<commons.ScoreDataType>+ docs: Retrieve only scores with a specific dataType.+ traceTags:+ type: optional<string>+ allow-multiple: true+ docs: Only scores linked to traces that include all of these tags will be returned.+ fields:+ type: optional<string>+ docs: "Comma-separated list of field groups to include in the response. Available field groups: 'score' (core score fields), 'trace' (trace properties: userId, tags, environment, sessionId). 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."+ filter:+ type: optional<string>+ docs: >+ A JSON stringified array of filter objects. Each object requires type, column, operator, and value.+ Supports filtering by score metadata using the stringObject type.+ Example: [{"type":"stringObject","column":"metadata","key":"user_id","operator":"=","value":"abc123"}].+ Supported types: stringObject (metadata key-value filtering), string, number, datetime, stringOptions, arrayOptions.+ Supported operators for stringObject: =, contains, does not contain, starts with, ends with.+ response: GetScoresResponse+ get-by-id:+ docs: |+ **Deprecated.** Use `GET /api/public/v3/scores` instead.++ Get a score (supports both trace and session scores)+ method: GET+ path: /scores/{scoreId}+ path-parameters:+ scoreId:+ type: string+ docs: The unique langfuse identifier of a score+ response: commons.Score++types:+ GetScoresResponseTraceData:+ properties:+ userId:+ type: optional<string>+ docs: The user ID associated with the trace referenced by score+ tags:+ type: optional<list<string>>+ docs: A list of tags associated with the trace referenced by score+ environment:+ type: optional<string>+ docs: The environment of the trace referenced by score+ sessionId:+ type: optional<string>+ docs: The session ID associated with the trace referenced by score++ GetScoresResponseDataNumeric:+ extends: commons.NumericScore+ properties:+ trace: optional<GetScoresResponseTraceData>++ GetScoresResponseDataCategorical:+ extends: commons.CategoricalScore+ properties:+ trace: optional<GetScoresResponseTraceData>++ GetScoresResponseDataBoolean:+ extends: commons.BooleanScore+ properties:+ trace: optional<GetScoresResponseTraceData>++ GetScoresResponseDataCorrection:+ extends: commons.CorrectionScore+ properties:+ trace: optional<GetScoresResponseTraceData>++ GetScoresResponseDataText:+ extends: commons.TextScore+ properties:+ trace: optional<GetScoresResponseTraceData>++ GetScoresResponseData:+ discriminant: dataType+ union:+ NUMERIC: GetScoresResponseDataNumeric+ CATEGORICAL: GetScoresResponseDataCategorical+ BOOLEAN: GetScoresResponseDataBoolean+ CORRECTION: GetScoresResponseDataCorrection+ TEXT: GetScoresResponseDataText++ GetScoresResponse:+ properties:+ data: list<GetScoresResponseData>+ meta: pagination.MetaResponsediff --git a/fern/apis/server/definition/scores-v3.yml b/fern/apis/server/definition/scores-v3.ymldeleted file mode 100644index 9f19fe3aa8..0000000000--- a/fern/apis/server/definition/scores-v3.yml+++ /dev/null@@ -1,240 +0,0 @@-# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json-imports:- commons: ./commons.yml--service:- auth: true- base-path: /api/public- endpoints:- getManyV3:- docs: |- Get a list of scores with a polymorphic `value` field (v3).-- This endpoint requires Langfuse v4 or later.-- The `value` field type depends on `dataType`:- - `NUMERIC` β number- - `BOOLEAN` β boolean- - `CATEGORICAL`, `TEXT`, `CORRECTION` β string-- Use the `fields` parameter to include optional field groups beyond the- default `core`. Unknown group names return HTTP 400.- method: GET- path: /v3/scores- request:- name: GetScoresV3Request- query-parameters:- limit:- type: optional<integer>- docs: Number of items per page. Maximum 100, default 50. Requests with a limit greater than 100 return HTTP 400.- cursor:- type: optional<string>- docs: URL-safe base64 (base64url) cursor for pagination. Use the cursor from the previous response to get the next page. Absent on the final page.- fields:- type: optional<string>- docs: >- Comma-separated field groups to include. Allowed: core, details,- subject, annotation. Defaults to "core". Unknown names return HTTP 400.- id:- type: optional<string>- docs: Comma-separated list of score IDs to filter by (OR within, AND across filters).- name:- type: optional<string>- docs: Comma-separated list of score names to filter by.- source:- type: optional<string>- docs: Comma-separated list of score sources to filter by (e.g. API, ANNOTATION, EVAL). Case-insensitive β `api` and `API` are equivalent.- dataType:- type: optional<string>- docs: Comma-separated list of data types to filter by (NUMERIC, BOOLEAN, CATEGORICAL, TEXT, CORRECTION). Case-insensitive β `numeric` and `NUMERIC` are equivalent. Must be a single value when used with value, valueMin, or valueMax; otherwise the request returns HTTP 400. Must be NUMERIC when used with valueMin or valueMax.- environment:- type: optional<string>- docs: Comma-separated list of environments to filter by.- configId:- type: optional<string>- docs: Comma-separated list of score config IDs to filter by.- queueId:- type: optional<string>- docs: Comma-separated list of annotation queue IDs to filter by.- authorUserId:- type: optional<string>- docs: Comma-separated list of author user IDs to filter by.- value:- type: optional<string>- docs: >- Comma-separated list of exact values to filter by. Requires a- single dataType from NUMERIC, BOOLEAN, or CATEGORICAL; any other- dataType, multiple dataTypes, or omitting dataType returns HTTP- 400. For BOOLEAN, each value must be "true" or "false"; for- NUMERIC, each value must be a finite number. Otherwise the- request returns HTTP 400.- valueMin:- type: optional<double>- docs: Inclusive lower bound on the numeric value. Requires dataType=NUMERIC as a single value; otherwise the request returns HTTP 400.- valueMax:- type: optional<double>- docs: Inclusive upper bound on the numeric value. Requires dataType=NUMERIC as a single value; otherwise the request returns HTTP 400.- traceId:- type: optional<string>- docs: Comma-separated list of trace IDs to filter by. Mutually exclusive with sessionId, experimentId. May be combined with observationId to scope the observation lookup to a specific trace.- sessionId:- type: optional<string>- docs: Comma-separated list of session IDs to filter by. Mutually exclusive with traceId, observationId, experimentId.- observationId:- type: optional<string>- docs: >- Comma-separated list of observation IDs to filter by. Requires traceId to be specified,- because observation IDs are scoped to a trace. Mutually exclusive with sessionId, experimentId.- Returns HTTP 400 when used without traceId.- experimentId:- type: optional<string>- docs: Comma-separated list of dataset run IDs (experiment IDs) to filter by. Mutually exclusive with traceId, sessionId, observationId.- fromTimestamp:- type: optional<datetime>- docs: Inclusive lower bound on the score timestamp.- toTimestamp:- type: optional<datetime>- docs: Exclusive upper bound on the score timestamp.- response: GetScoresV3Response--types:- ScoreSubjectTraceV3:- properties:- id:- type: string- docs: The trace ID.-- ScoreSubjectObservationV3:- properties:- id:- type: string- docs: The observation ID.- traceId:- type: optional<string>- docs: The parent trace ID, if available.-- ScoreSubjectSessionV3:- properties:- id:- type: string- docs: The session ID.-- ScoreSubjectExperimentV3:- properties:- id:- type: string- docs: The dataset run ID (experiment ID).-- ScoreSubjectV3:- docs: A reference to the entity this score is attached to. Discriminated by "kind" β one of trace, observation, session, or experiment.- discriminant: kind- union:- trace:- type: ScoreSubjectTraceV3- docs: Subject is a trace-level score.- observation:- type: ScoreSubjectObservationV3- docs: Subject is an observation-level score scoped to a trace.- session:- type: ScoreSubjectSessionV3- docs: Subject is a session-level score.- experiment:- type: ScoreSubjectExperimentV3- docs: Subject is a dataset run (experiment) score.-- BaseScoreV3:- properties:- id: string- projectId: string- name: string- source: commons.ScoreSource- timestamp: datetime- environment:- type: string- docs: The environment from which this score originated.- createdAt: datetime- updatedAt: datetime- comment:- type: optional<nullable<string>>- docs: Optional comment attached to the score. Present when "details" is included in the fields parameter.- configId:- type: optional<nullable<string>>- docs: The score config ID, if this score was created from a config. Present when "details" is included in the fields parameter.- metadata:- type: optional<map<string, unknown>>- docs: Arbitrary metadata attached to the score. Present when "details" is included in the fields parameter.- authorUserId:- type: optional<nullable<string>>- docs: The user who created this score, if available. Present when "annotation" is included in the fields parameter.- queueId:- type: optional<nullable<string>>- docs: The annotation queue this score belongs to, if any. Present when "annotation" is included in the fields parameter.- subject:- type: optional<ScoreSubjectV3>- docs: The entity this score is attached to (trace, observation, session, or experiment). Present when "subject" is included in the fields parameter.-- NumericScoreV3:- extends: BaseScoreV3- properties:- value:- type: double- docs: The numeric value of the score.-- BooleanScoreV3:- extends: BaseScoreV3- properties:- value:- type: boolean- docs: The boolean value of the score.-- CategoricalScoreV3:- extends: BaseScoreV3- properties:- value:- type: string- docs: The string category value of the score.-- TextScoreV3:- extends: BaseScoreV3- properties:- value:- type: string- docs: The text content of the score.-- CorrectionScoreV3:- extends: BaseScoreV3- properties:- value:- type: string- docs: The correction content of the score. Empty string if not set.-- ScoreV3:- discriminant: dataType- union:- NUMERIC:- type: NumericScoreV3- docs: Score with NUMERIC data type. Value is a number.- BOOLEAN:- type: BooleanScoreV3- docs: Score with BOOLEAN data type. Value is a boolean.- CATEGORICAL:- type: CategoricalScoreV3- docs: Score with CATEGORICAL data type. Value is a string category.- TEXT:- type: TextScoreV3- docs: Score with TEXT data type. Value is a string.- CORRECTION:- type: CorrectionScoreV3- docs: Score with CORRECTION data type. Value is the correction string.-- GetScoresV3Meta:- properties:- limit: integer- cursor:- type: optional<string>- docs: URL-safe base64 (base64url) cursor for the next page. Absent when there are no more results.-- GetScoresV3Response:- properties:- data: list<ScoreV3>- meta: GetScoresV3Metadiff --git a/fern/apis/server/definition/scores.yml b/fern/apis/server/definition/scores.ymlindex 7433859aa4..eec484b158 100644--- a/fern/apis/server/definition/scores.yml+++ b/fern/apis/server/definition/scores.yml@@ -1,150 +1,243 @@# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.jsonimports:- pagination: ./utils/pagination.ymlcommons: ./commons.yml+service:auth: true- base-path: /api/public/v2+ base-path: /api/publicendpoints:- get-many:- docs: Get a list of scores (supports both trace and session scores)+ getMany:+ docs: |+ Get a list of scores with a polymorphic `value` field (v3).++ This endpoint requires Langfuse v4 or later.++ The `value` field type depends on `dataType`:+ - `NUMERIC` β number+ - `BOOLEAN` β boolean+ - `CATEGORICAL`, `TEXT`, `CORRECTION` β string++ Use the `fields` parameter to include optional field groups beyond the+ default `core`. Unknown group names return HTTP 400.method: GET- path: /scores+ path: /v3/scoresrequest:name: GetScoresRequestquery-parameters:- page:- type: optional<integer>- docs: Page number, starts at 1.limit:type: optional<integer>- docs: Limit of items per page. Maximum 100. Defaults to 50. Requests with a limit greater than 100 return HTTP 400. If you encounter api issues due to too large page sizes, try to reduce the limit.- userId:+ docs: Number of items per page. Maximum 100, default 50. Requests with a limit greater than 100 return HTTP 400.+ cursor:type: optional<string>- docs: Retrieve only scores with this userId associated to the trace.- name:+ docs: URL-safe base64 (base64url) cursor for pagination. Use the cursor from the previous response to get the next page. Absent on the final page.+ fields:type: optional<string>- docs: Retrieve only scores with this name.- fromTimestamp:- type: optional<datetime>- docs: Optional filter to only include scores created on or after a certain datetime (ISO 8601)- toTimestamp:- type: optional<datetime>- docs: Optional filter to only include scores created before a certain datetime (ISO 8601)- environment:+ docs: >+ Comma-separated field groups to include. Allowed: core, details,+ subject, annotation. Defaults to "core". Unknown names return HTTP 400.+ id:type: optional<string>- allow-multiple: true- docs: Optional filter for scores where the environment is one of the provided values.- source:- type: optional<commons.ScoreSource>- docs: Retrieve only scores from a specific source.- operator:+ docs: Comma-separated list of score IDs to filter by (OR within, AND across filters).+ name:type: optional<string>- docs: Retrieve only scores with <operator> value.- value:- type: optional<double>- docs: Retrieve only scores with <operator> value.- scoreIds:+ docs: Comma-separated list of score names to filter by.+ source:type: optional<string>- docs: Comma-separated list of score IDs to limit the results to.- configId:+ docs: Comma-separated list of score sources to filter by (e.g. API, ANNOTATION, EVAL). Case-insensitive β `api` and `API` are equivalent.+ dataType:type: optional<string>- docs: Retrieve only scores with a specific configId.- sessionId:+ docs: Comma-separated list of data types to filter by (NUMERIC, BOOLEAN, CATEGORICAL, TEXT, CORRECTION). Case-insensitive β `numeric` and `NUMERIC` are equivalent. Must be a single value when used with value, valueMin, or valueMax; otherwise the request returns HTTP 400. Must be NUMERIC when used with valueMin or valueMax.+ environment:type: optional<string>- docs: Retrieve only scores with a specific sessionId.- datasetRunId:+ docs: Comma-separated list of environments to filter by.+ configId:type: optional<string>- docs: Retrieve only scores with a specific datasetRunId.- traceId:+ docs: Comma-separated list of score config IDs to filter by.+ queueId:type: optional<string>- docs: Retrieve only scores with a specific traceId.- observationId:+ docs: Comma-separated list of annotation queue IDs to filter by.+ authorUserId:type: optional<string>- docs: Comma-separated list of observation IDs to filter scores by.- queueId:+ docs: Comma-separated list of author user IDs to filter by.+ value:type: optional<string>- docs: Retrieve only scores with a specific annotation queueId.- dataType:- type: optional<commons.ScoreDataType>- docs: Retrieve only scores with a specific dataType.- traceTags:+ docs: >+ Comma-separated list of exact values to filter by. Requires a+ single dataType from NUMERIC, BOOLEAN, or CATEGORICAL; any other+ dataType, multiple dataTypes, or omitting dataType returns HTTP+ 400. For BOOLEAN, each value must be "true" or "false"; for+ NUMERIC, each value must be a finite number. Otherwise the+ request returns HTTP 400.+ valueMin:+ type: optional<double>+ docs: Inclusive lower bound on the numeric value. Requires dataType=NUMERIC as a single value; otherwise the request returns HTTP 400.+ valueMax:+ type: optional<double>+ docs: Inclusive upper bound on the numeric value. Requires dataType=NUMERIC as a single value; otherwise the request returns HTTP 400.+ traceId:type: optional<string>- allow-multiple: true- docs: Only scores linked to traces that include all of these tags will be returned.- fields:+ docs: Comma-separated list of trace IDs to filter by. Mutually exclusive with sessionId, experimentId. May be combined with observationId to scope the observation lookup to a specific trace.+ sessionId:type: optional<string>- docs: "Comma-separated list of field groups to include in the response. Available field groups: 'score' (core score fields), 'trace' (trace properties: userId, tags, environment, sessionId). 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."- filter:+ docs: Comma-separated list of session IDs to filter by. Mutually exclusive with traceId, observationId, experimentId.+ observationId:type: optional<string>docs: >- A JSON stringified array of filter objects. Each object requires type, column, operator, and value.- Supports filtering by score metadata using the stringObject type.- Example: [{"type":"stringObject","column":"metadata","key":"user_id","operator":"=","value":"abc123"}].- Supported types: stringObject (metadata key-value filtering), string, number, datetime, stringOptions, arrayOptions.- Supported operators for stringObject: =, contains, does not contain, starts with, ends with.+ Comma-separated list of observation IDs to filter by. Requires traceId to be specified,+ because observation IDs are scoped to a trace. Mutually exclusive with sessionId, experimentId.+ Returns HTTP 400 when used without traceId.+ experimentId:+ type: optional<string>+ docs: Comma-separated list of dataset run IDs (experiment IDs) to filter by. Mutually exclusive with traceId, sessionId, observationId.+ fromTimestamp:+ type: optional<datetime>+ docs: Inclusive lower bound on the score timestamp.+ toTimestamp:+ type: optional<datetime>+ docs: Exclusive upper bound on the score timestamp.response: GetScoresResponse- get-by-id:- docs: Get a score (supports both trace and session scores)- method: GET- path: /scores/{scoreId}- path-parameters:- scoreId:- type: string- docs: The unique langfuse identifier of a score- response: commons.Scoretypes:- GetScoresResponseTraceData:+ ScoreSubjectTrace:+ properties:+ id:+ type: string+ docs: The trace ID.++ ScoreSubjectObservation:properties:- userId:+ id:+ type: string+ docs: The observation ID.+ traceId:type: optional<string>- docs: The user ID associated with the trace referenced by score- tags:- type: optional<list<string>>- docs: A list of tags associated with the trace referenced by score+ docs: The parent trace ID, if available.++ ScoreSubjectSession:+ properties:+ id:+ type: string+ docs: The session ID.++ ScoreSubjectExperiment:+ properties:+ id:+ type: string+ docs: The dataset run ID (experiment ID).++ ScoreSubject:+ docs: A reference to the entity this score is attached to. Discriminated by "kind" β one of trace, observation, session, or experiment.+ discriminant: kind+ union:+ trace:+ type: ScoreSubjectTrace+ docs: Subject is a trace-level score.+ observation:+ type: ScoreSubjectObservation+ docs: Subject is an observation-level score scoped to a trace.+ session:+ type: ScoreSubjectSession+ docs: Subject is a session-level score.+ experiment:+ type: ScoreSubjectExperiment+ docs: Subject is a dataset run (experiment) score.++ # Score model types keep the V3 suffix because commons.yml already declares+ # Score, NumericScore, BooleanScore, etc. for the v1/v2 API surface.+ # Fern uses a flat global namespace, so those names are taken.+ BaseScoreV3:+ properties:+ id: string+ projectId: string+ name: string+ source: commons.ScoreSource+ timestamp: datetimeenvironment:- type: optional<string>- docs: The environment of the trace referenced by score- sessionId:- type: optional<string>- docs: The session ID associated with the trace referenced by score+ type: string+ docs: The environment from which this score originated.+ createdAt: datetime+ updatedAt: datetime+ comment:+ type: optional<nullable<string>>+ docs: Optional comment attached to the score. Present when "details" is included in the fields parameter.+ configId:+ type: optional<nullable<string>>+ docs: The score config ID, if this score was created from a config. Present when "details" is included in the fields parameter.+ metadata:+ type: optional<map<string, unknown>>+ docs: Arbitrary metadata attached to the score. Present when "details" is included in the fields parameter.+ authorUserId:+ type: optional<nullable<string>>+ docs: The user who created this score, if available. Present when "annotation" is included in the fields parameter.+ queueId:+ type: optional<nullable<string>>+ docs: The annotation queue this score belongs to, if any. Present when "annotation" is included in the fields parameter.+ subject:+ type: optional<ScoreSubject>+ docs: The entity this score is attached to (trace, observation, session, or experiment). Present when "subject" is included in the fields parameter.- GetScoresResponseDataNumeric:- extends: commons.NumericScore+ NumericScoreV3:+ extends: BaseScoreV3properties:- trace: optional<GetScoresResponseTraceData>+ value:+ type: double+ docs: The numeric value of the score.- GetScoresResponseDataCategorical:- extends: commons.CategoricalScore+ BooleanScoreV3:+ extends: BaseScoreV3properties:- trace: optional<GetScoresResponseTraceData>+ value:+ type: boolean+ docs: The boolean value of the score.- GetScoresResponseDataBoolean:- extends: commons.BooleanScore+ CategoricalScoreV3:+ extends: BaseScoreV3properties:- trace: optional<GetScoresResponseTraceData>+ value:+ type: string+ docs: The string category value of the score.- GetScoresResponseDataCorrection:- extends: commons.CorrectionScore+ TextScoreV3:+ extends: BaseScoreV3properties:- trace: optional<GetScoresResponseTraceData>+ value:+ type: string+ docs: The text content of the score.- GetScoresResponseDataText:- extends: commons.TextScore+ CorrectionScoreV3:+ extends: BaseScoreV3properties:- trace: optional<GetScoresResponseTraceData>+ value:+ type: string+ docs: The correction content of the score. Empty string if not set.- GetScoresResponseData:+ ScoreV3:discriminant: dataTypeunion:- NUMERIC: GetScoresResponseDataNumeric- CATEGORICAL: GetScoresResponseDataCategorical- BOOLEAN: GetScoresResponseDataBoolean- CORRECTION: GetScoresResponseDataCorrection- TEXT: GetScoresResponseDataText+ NUMERIC:+ type: NumericScoreV3+ docs: Score with NUMERIC data type. Value is a number.+ BOOLEAN:+ type: BooleanScoreV3+ docs: Score with BOOLEAN data type. Value is a boolean.+ CATEGORICAL:+ type: CategoricalScoreV3+ docs: Score with CATEGORICAL data type. Value is a string category.+ TEXT:+ type: TextScoreV3+ docs: Score with TEXT data type. Value is a string.+ CORRECTION:+ type: CorrectionScoreV3+ docs: Score with CORRECTION data type. Value is the correction string.++ GetScoresMeta:+ properties:+ limit: integer+ cursor:+ type: optional<string>+ docs: URL-safe base64 (base64url) cursor for the next page. Absent when there are no more results.GetScoresResponse:properties:- data: list<GetScoresResponseData>- meta: pagination.MetaResponse+ data: list<ScoreV3>+ meta: GetScoresMetadiff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.ymlindex 2ccd451fae..bcaafec536 100644--- a/web/public/generated/api/openapi.yml+++ b/web/public/generated/api/openapi.yml@@ -2306,34 +2306,204 @@ paths:schema: {}security:- BasicAuth: []- /api/public/llm-connections:+ /api/public/v2/scores:get:- description: Get all LLM connections in a project- operationId: llmConnections_list+ description: |-+ **Deprecated.** Use `GET /api/public/v3/scores` instead.++ Get a list of scores (supports both trace and session scores)+ operationId: legacy_scoresV2_get-manytags:- - LlmConnections+ - LegacyScoresV2parameters:- name: pagein: query- description: page number, starts at 1+ description: Page number, starts at 1.required: falseschema:type: integernullable: true- name: limitin: query- description: limit of items per page+ description: >-+ Limit of items per page. Maximum 100. Defaults to 50. Requests with+ a limit greater than 100 return HTTP 400. If you encounter api+ issues due to too large page sizes, try to reduce the limit.required: falseschema:type: integernullable: true+ - name: userId+ in: query+ description: Retrieve only scores with this userId associated to the trace.+ required: false+ schema:+ type: string+ nullable: true+ - name: name+ in: query+ description: Retrieve only scores with this name.+ required: false+ schema:+ type: string+ nullable: true+ - name: fromTimestamp+ in: query+ description: >-+ Optional filter to only include scores created on or after a certain+ datetime (ISO 8601)+ required: false+ schema:+ type: string+ format: date-time+ nullable: true+ - name: toTimestamp+ in: query+ description: >-+ Optional filter to only include scores created before a certain+ datetime (ISO 8601)+ required: false+ schema:+ type: string+ format: date-time+ nullable: true+ - name: environment+ in: query+ description: >-+ Optional filter for scores where the environment is one of the+ provided values.+ required: false+ schema:+ type: array+ items:+ type: string+ nullable: true+ - name: source+ in: query+ description: Retrieve only scores from a specific source.+ required: false+ schema:+ $ref: '#/components/schemas/ScoreSource'+ nullable: true+ - name: operator+ in: query+ description: Retrieve only scores with <operator> value.+ required: false+ schema:+ type: string+ nullable: true+ - name: value+ in: query+ description: Retrieve only scores with <operator> value.+ required: false+ schema:+ type: number+ format: double+ nullable: true+ - name: scoreIds+ in: query+ description: Comma-separated list of score IDs to limit the results to.+ required: false+ schema:+ type: string+ nullable: true+ - name: configId+ in: query+ description: Retrieve only scores with a specific configId.+ required: false+ schema:+ type: string+ nullable: true+ - name: sessionId+ in: query+ description: Retrieve only scores with a specific sessionId.+ required: false+ schema:+ type: string+ nullable: true+ - name: datasetRunId+ in: query+ description: Retrieve only scores with a specific datasetRunId.+ required: false+ schema:+ type: string+ nullable: true+ - name: traceId+ in: query+ description: Retrieve only scores with a specific traceId.+ required: false+ schema:+ type: string+ nullable: true+ - name: observationId+ in: query+ description: Comma-separated list of observation IDs to filter scores by.+ required: false+ schema:+ type: string+ nullable: true+ - name: queueId+ in: query+ description: Retrieve only scores with a specific annotation queueId.+ required: false+ schema:+ type: string+ nullable: true+ - name: dataType+ in: query+ description: Retrieve only scores with a specific dataType.+ required: false+ schema:+ $ref: '#/components/schemas/ScoreDataType'+ nullable: true+ - name: traceTags+ in: query+ description: >-+ Only scores linked to traces that include all of these tags will be+ returned.+ required: false+ schema:+ type: array+ 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, sessionId). 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+ - name: filter+ in: query+ description: >-+ A JSON stringified array of filter objects. Each object requires+ type, column, operator, and value. Supports filtering by score+ metadata using the stringObject type. Example:+ [{"type":"stringObject","column":"metadata","key":"user_id","operator":"=","value":"abc123"}].+ Supported types: stringObject (metadata key-value filtering),+ string, number, datetime, stringOptions, arrayOptions. Supported+ operators for stringObject: =, contains, does not contain, starts+ with, ends with.+ required: false+ schema:+ type: string+ nullable: trueresponses:'200':description: ''content:application/json:schema:- $ref: '#/components/schemas/PaginatedLlmConnections'+ $ref: '#/components/schemas/legacyGetScoresResponse''400':description: ''content:@@ -2361,21 +2531,29 @@ paths:schema: {}security:- BasicAuth: []- put:- description: >-- Create or update an LLM connection. The connection is upserted on- provider.- operationId: llmConnections_upsert+ /api/public/v2/scores/{scoreId}:+ get:+ description: |-+ **Deprecated.** Use `GET /api/public/v3/scores` instead.++ Get a score (supports both trace and session scores)+ operationId: legacy_scoresV2_get-by-idtags:- - LlmConnections- parameters: []+ - LegacyScoresV2+ parameters:+ - name: scoreId+ in: path+ description: The unique langfuse identifier of a score+ required: true+ schema:+ type: stringresponses:'200':description: ''content:application/json:schema:- $ref: '#/components/schemas/LlmConnection'+ $ref: '#/components/schemas/Score''400':description: ''content:@@ -2403,33 +2581,34 @@ paths:schema: {}security:- BasicAuth: []- requestBody:- required: true- content:- application/json:- schema:- $ref: '#/components/schemas/UpsertLlmConnectionRequest'- /api/public/llm-connections/{id}:- delete:- description: >-- Delete an LLM connection by id. Evaluators that depend on the deleted- connection are automatically paused.- operationId: llmConnections_delete+ /api/public/llm-connections:+ get:+ description: Get all LLM connections in a project+ operationId: llmConnections_listtags:- LlmConnectionsparameters:- - name: id- in: path- required: true+ - name: page+ in: query+ description: page number, starts at 1+ required: falseschema:- type: string+ type: integer+ nullable: true+ - name: limit+ in: query+ description: limit of items per page+ required: false+ schema:+ type: integer+ nullable: trueresponses:'200':description: ''content:application/json:schema:- $ref: '#/components/schemas/DeleteLlmConnectionResponse'+ $ref: '#/components/schemas/PaginatedLlmConnections''400':description: ''content:@@ -2457,26 +2636,21 @@ paths:schema: {}security:- BasicAuth: []- /api/public/media/{mediaId}:- get:- description: Get a media record- operationId: media_get+ put:+ description: >-+ Create or update an LLM connection. The connection is upserted on+ provider.+ operationId: llmConnections_upserttags:- - Media- parameters:- - name: mediaId- in: path- description: The unique langfuse identifier of a media record- required: true- schema:- type: string+ - LlmConnections+ parameters: []responses:'200':description: ''content:application/json:schema:- $ref: '#/components/schemas/GetMediaResponse'+ $ref: '#/components/schemas/LlmConnection''400':description: ''content:@@ -2504,7 +2678,108 @@ paths:schema: {}security:- BasicAuth: []- patch:+ requestBody:+ required: true+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/UpsertLlmConnectionRequest'+ /api/public/llm-connections/{id}:+ delete:+ description: >-+ Delete an LLM connection by id. Evaluators that depend on the deleted+ connection are automatically paused.+ operationId: llmConnections_delete+ tags:+ - LlmConnections+ parameters:+ - name: id+ in: path+ required: true+ schema:+ type: string+ responses:+ '200':+ description: ''+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/DeleteLlmConnectionResponse'+ '400':+ description: ''+ content:+ application/json:+ schema: {}+ '401':+ description: ''+ content:+ application/json:+ schema: {}+ '403':+ description: ''+ content:+ application/json:+ schema: {}+ '404':+ description: ''+ content:+ application/json:+ schema: {}+ '405':+ description: ''+ content:+ application/json:+ schema: {}+ security:+ - BasicAuth: []+ /api/public/media/{mediaId}:+ get:+ description: Get a media record+ operationId: media_get+ tags:+ - Media+ parameters:+ - name: mediaId+ in: path+ description: The unique langfuse identifier of a media record+ required: true+ schema:+ type: string+ responses:+ '200':+ description: ''+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/GetMediaResponse'+ '400':+ description: ''+ content:+ application/json:+ schema: {}+ '401':+ description: ''+ content:+ application/json:+ schema: {}+ '403':+ description: ''+ content:+ application/json:+ schema: {}+ '404':+ description: ''+ content:+ application/json:+ schema: {}+ '405':+ description: ''+ content:+ application/json:+ schema: {}+ security:+ - BasicAuth: []+ patch:description: Patch a media recordoperationId: media_patchtags:@@ -5309,9 +5584,9 @@ paths:Use the `fields` parameter to include optional field groups beyond thedefault `core`. Unknown group names return HTTP 400.- operationId: scoresV3_getManyV3+ operationId: scores_getManytags:- - ScoresV3+ - Scoresparameters:- name: limitin: query@@ -5466,314 +5741,45 @@ paths:in: querydescription: >-Comma-separated list of observation IDs to filter by. Requires- traceId to be specified, because observation IDs are scoped to a- trace. Mutually exclusive with sessionId, experimentId. Returns HTTP- 400 when used without traceId.- required: false- schema:- type: string- nullable: true- - name: experimentId- in: query- description: >-- Comma-separated list of dataset run IDs (experiment IDs) to filter- by. Mutually exclusive with traceId, sessionId, observationId.- required: false- schema:- type: string- nullable: true- - name: fromTimestamp- in: query- description: Inclusive lower bound on the score timestamp.- required: false- schema:- type: string- format: date-time- nullable: true- - name: toTimestamp- in: query- description: Exclusive upper bound on the score timestamp.- required: false- schema:- type: string- format: date-time- nullable: true- responses:- '200':- description: ''- content:- application/json:- schema:- $ref: '#/components/schemas/GetScoresV3Response'- '400':- description: ''- content:- application/json:- schema: {}- '401':- description: ''- content:- application/json:- schema: {}- '403':- description: ''- content:- application/json:- schema: {}- '404':- description: ''- content:- application/json:- schema: {}- '405':- description: ''- content:- application/json:- schema: {}- security:- - BasicAuth: []- /api/public/v2/scores:- get:- description: Get a list of scores (supports both trace and session scores)- operationId: scores_get-many- tags:- - Scores- parameters:- - name: page- in: query- description: Page number, starts at 1.- required: false- schema:- type: integer- nullable: true- - name: limit- in: query- description: >-- Limit of items per page. Maximum 100. Defaults to 50. Requests with- a limit greater than 100 return HTTP 400. If you encounter api- issues due to too large page sizes, try to reduce the limit.- required: false- schema:- type: integer- nullable: true- - name: userId- in: query- description: Retrieve only scores with this userId associated to the trace.- required: false- schema:- type: string- nullable: true- - name: name- in: query- description: Retrieve only scores with this name.- required: false- schema:- type: string- nullable: true- - name: fromTimestamp- in: query- description: >-- Optional filter to only include scores created on or after a certain- datetime (ISO 8601)- required: false- schema:- type: string- format: date-time- nullable: true- - name: toTimestamp- in: query- description: >-- Optional filter to only include scores created before a certain- datetime (ISO 8601)- required: false- schema:- type: string- format: date-time- nullable: true- - name: environment- in: query- description: >-- Optional filter for scores where the environment is one of the- provided values.- required: false- schema:- type: array- items:- type: string- nullable: true- - name: source- in: query- description: Retrieve only scores from a specific source.- required: false- schema:- $ref: '#/components/schemas/ScoreSource'- nullable: true- - name: operator- in: query- description: Retrieve only scores with <operator> value.- required: false- schema:- type: string- nullable: true- - name: value- in: query- description: Retrieve only scores with <operator> value.- required: false- schema:- type: number- format: double- nullable: true- - name: scoreIds- in: query- description: Comma-separated list of score IDs to limit the results to.- required: false- schema:- type: string- nullable: true- - name: configId- in: query- description: Retrieve only scores with a specific configId.- required: false- schema:- type: string- nullable: true- - name: sessionId- in: query- description: Retrieve only scores with a specific sessionId.- required: false- schema:- type: string- nullable: true- - name: datasetRunId- in: query- description: Retrieve only scores with a specific datasetRunId.- required: false- schema:- type: string- nullable: true- - name: traceId- in: query- description: Retrieve only scores with a specific traceId.- required: false- schema:- type: string- nullable: true- - name: observationId- in: query- description: Comma-separated list of observation IDs to filter scores by.- required: false- schema:- type: string- nullable: true- - name: queueId- in: query- description: Retrieve only scores with a specific annotation queueId.- required: false- schema:- type: string- nullable: true- - name: dataType- in: query- description: Retrieve only scores with a specific dataType.- required: false- schema:- $ref: '#/components/schemas/ScoreDataType'- nullable: true- - name: traceTags- in: query- description: >-- Only scores linked to traces that include all of these tags will be- returned.- required: false- schema:- type: array- 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, sessionId). 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- - name: filter- in: query- description: >-- A JSON stringified array of filter objects. Each object requires- type, column, operator, and value. Supports filtering by score- metadata using the stringObject type. Example:- [{"type":"stringObject","column":"metadata","key":"user_id","operator":"=","value":"abc123"}].- Supported types: stringObject (metadata key-value filtering),- string, number, datetime, stringOptions, arrayOptions. Supported- operators for stringObject: =, contains, does not contain, starts- with, ends with.- required: false- schema:- type: string- nullable: true- responses:- '200':- description: ''- content:- application/json:- schema:- $ref: '#/components/schemas/GetScoresResponse'- '400':- description: ''- content:- application/json:- schema: {}- '401':- description: ''- content:- application/json:- schema: {}- '403':- description: ''- content:- application/json:- schema: {}- '404':- description: ''- content:- application/json:- schema: {}- '405':- description: ''- content:- application/json:- schema: {}- security:- - BasicAuth: []- /api/public/v2/scores/{scoreId}:- get:- description: Get a score (supports both trace and session scores)- operationId: scores_get-by-id- tags:- - Scores- parameters:- - name: scoreId- in: path- description: The unique langfuse identifier of a score- required: true+ traceId to be specified, because observation IDs are scoped to a+ trace. Mutually exclusive with sessionId, experimentId. Returns HTTP+ 400 when used without traceId.+ required: false+ schema:+ type: string+ nullable: true+ - name: experimentId+ in: query+ description: >-+ Comma-separated list of dataset run IDs (experiment IDs) to filter+ by. Mutually exclusive with traceId, sessionId, observationId.+ required: false+ schema:+ type: string+ nullable: true+ - name: fromTimestamp+ in: query+ description: Inclusive lower bound on the score timestamp.+ required: false+ schema:+ type: string+ format: date-time+ nullable: true+ - name: toTimestamp+ in: query+ description: Exclusive upper bound on the score timestamp.+ required: falseschema:type: string+ format: date-time+ nullable: trueresponses:'200':description: ''content:application/json:schema:- $ref: '#/components/schemas/Score'+ $ref: '#/components/schemas/GetScoresResponse''400':description: ''content:@@ -10878,6 +10884,144 @@ components:description: The id of the created object in Langfuserequired:- id+ legacyGetScoresResponseTraceData:+ title: legacyGetScoresResponseTraceData+ type: object+ properties:+ userId:+ type: string+ nullable: true+ description: The user ID associated with the trace referenced by score+ tags:+ type: array+ items:+ type: string+ nullable: true+ description: A list of tags associated with the trace referenced by score+ environment:+ type: string+ nullable: true+ description: The environment of the trace referenced by score+ sessionId:+ type: string+ nullable: true+ description: The session ID associated with the trace referenced by score+ legacyGetScoresResponseDataNumeric:+ title: legacyGetScoresResponseDataNumeric+ type: object+ properties:+ trace:+ $ref: '#/components/schemas/legacyGetScoresResponseTraceData'+ nullable: true+ allOf:+ - $ref: '#/components/schemas/NumericScore'+ legacyGetScoresResponseDataCategorical:+ title: legacyGetScoresResponseDataCategorical+ type: object+ properties:+ trace:+ $ref: '#/components/schemas/legacyGetScoresResponseTraceData'+ nullable: true+ allOf:+ - $ref: '#/components/schemas/CategoricalScore'+ legacyGetScoresResponseDataBoolean:+ title: legacyGetScoresResponseDataBoolean+ type: object+ properties:+ trace:+ $ref: '#/components/schemas/legacyGetScoresResponseTraceData'+ nullable: true+ allOf:+ - $ref: '#/components/schemas/BooleanScore'+ legacyGetScoresResponseDataCorrection:+ title: legacyGetScoresResponseDataCorrection+ type: object+ properties:+ trace:+ $ref: '#/components/schemas/legacyGetScoresResponseTraceData'+ nullable: true+ allOf:+ - $ref: '#/components/schemas/CorrectionScore'+ legacyGetScoresResponseDataText:+ title: legacyGetScoresResponseDataText+ type: object+ properties:+ trace:+ $ref: '#/components/schemas/legacyGetScoresResponseTraceData'+ nullable: true+ allOf:+ - $ref: '#/components/schemas/TextScore'+ legacyGetScoresResponseData:+ title: legacyGetScoresResponseData+ oneOf:+ - type: object+ allOf:+ - type: object+ properties:+ dataType:+ type: string+ enum:+ - NUMERIC+ - $ref: '#/components/schemas/legacyGetScoresResponseDataNumeric'+ required:+ - dataType+ - type: object+ allOf:+ - type: object+ properties:+ dataType:+ type: string+ enum:+ - CATEGORICAL+ - $ref: '#/components/schemas/legacyGetScoresResponseDataCategorical'+ required:+ - dataType+ - type: object+ allOf:+ - type: object+ properties:+ dataType:+ type: string+ enum:+ - BOOLEAN+ - $ref: '#/components/schemas/legacyGetScoresResponseDataBoolean'+ required:+ - dataType+ - type: object+ allOf:+ - type: object+ properties:+ dataType:+ type: string+ enum:+ - CORRECTION+ - $ref: '#/components/schemas/legacyGetScoresResponseDataCorrection'+ required:+ - dataType+ - type: object+ allOf:+ - type: object+ properties:+ dataType:+ type: string+ enum:+ - TEXT+ - $ref: '#/components/schemas/legacyGetScoresResponseDataText'+ required:+ - dataType+ legacyGetScoresResponse:+ title: legacyGetScoresResponse+ type: object+ properties:+ data:+ type: array+ items:+ $ref: '#/components/schemas/legacyGetScoresResponseData'+ meta:+ $ref: '#/components/schemas/utilsMetaResponse'+ required:+ - data+ - metaLlmConnection:title: LlmConnectiontype: object@@ -12420,8 +12564,8 @@ components:Description is shown across the Langfuse UI and can be used to e.g.explain the config categories in detail, why a numeric range wasset, or provide additional context on config name or usage- ScoreSubjectTraceV3:- title: ScoreSubjectTraceV3+ ScoreSubjectTrace:+ title: ScoreSubjectTracetype: objectproperties:id:@@ -12429,8 +12573,8 @@ components:description: The trace ID.required:- id- ScoreSubjectObservationV3:- title: ScoreSubjectObservationV3+ ScoreSubjectObservation:+ title: ScoreSubjectObservationtype: objectproperties:id:@@ -12442,8 +12586,8 @@ components:description: The parent trace ID, if available.required:- id- ScoreSubjectSessionV3:- title: ScoreSubjectSessionV3+ ScoreSubjectSession:+ title: ScoreSubjectSessiontype: objectproperties:id:@@ -12451,8 +12595,8 @@ components:description: The session ID.required:- id- ScoreSubjectExperimentV3:- title: ScoreSubjectExperimentV3+ ScoreSubjectExperiment:+ title: ScoreSubjectExperimenttype: objectproperties:id:@@ -12460,8 +12604,8 @@ components:description: The dataset run ID (experiment ID).required:- id- ScoreSubjectV3:- title: ScoreSubjectV3+ ScoreSubject:+ title: ScoreSubjectoneOf:- type: objectallOf:@@ -12471,7 +12615,7 @@ components:type: stringenum:- trace- - $ref: '#/components/schemas/ScoreSubjectTraceV3'+ - $ref: '#/components/schemas/ScoreSubjectTrace'required:- kind- type: object@@ -12482,7 +12626,7 @@ components:type: stringenum:- observation- - $ref: '#/components/schemas/ScoreSubjectObservationV3'+ - $ref: '#/components/schemas/ScoreSubjectObservation'required:- kind- type: object@@ -12493,7 +12637,7 @@ components:type: stringenum:- session- - $ref: '#/components/schemas/ScoreSubjectSessionV3'+ - $ref: '#/components/schemas/ScoreSubjectSession'required:- kind- type: object@@ -12504,7 +12648,7 @@ components:type: stringenum:- experiment- - $ref: '#/components/schemas/ScoreSubjectExperimentV3'+ - $ref: '#/components/schemas/ScoreSubjectExperiment'required:- kinddescription: >-@@ -12566,7 +12710,7 @@ components:The annotation queue this score belongs to, if any. Present when"annotation" is included in the fields parameter.subject:- $ref: '#/components/schemas/ScoreSubjectV3'+ $ref: '#/components/schemas/ScoreSubject'nullable: truedescription: >-The entity this score is attached to (trace, observation, session,@@ -12695,8 +12839,8 @@ components:- $ref: '#/components/schemas/CorrectionScoreV3'required:- dataType- GetScoresV3Meta:- title: GetScoresV3Meta+ GetScoresMeta:+ title: GetScoresMetatype: objectproperties:limit:@@ -12709,144 +12853,6 @@ components:there are no more results.required:- limit- GetScoresV3Response:- title: GetScoresV3Response- type: object- properties:- data:- type: array- items:- $ref: '#/components/schemas/ScoreV3'- meta:- $ref: '#/components/schemas/GetScoresV3Meta'- required:- - data- - meta- GetScoresResponseTraceData:- title: GetScoresResponseTraceData- type: object- properties:- userId:- type: string- nullable: true- description: The user ID associated with the trace referenced by score- tags:- type: array- items:- type: string- nullable: true- description: A list of tags associated with the trace referenced by score- environment:- type: string- nullable: true- description: The environment of the trace referenced by score- sessionId:- type: string- nullable: true- description: The session ID associated with the trace referenced by score- GetScoresResponseDataNumeric:- title: GetScoresResponseDataNumeric- type: object- properties:- trace:- $ref: '#/components/schemas/GetScoresResponseTraceData'- nullable: true- allOf:- - $ref: '#/components/schemas/NumericScore'- GetScoresResponseDataCategorical:- title: GetScoresResponseDataCategorical- type: object- properties:- trace:- $ref: '#/components/schemas/GetScoresResponseTraceData'- nullable: true- allOf:- - $ref: '#/components/schemas/CategoricalScore'- GetScoresResponseDataBoolean:- title: GetScoresResponseDataBoolean- type: object- properties:- trace:- $ref: '#/components/schemas/GetScoresResponseTraceData'- nullable: true- allOf:- - $ref: '#/components/schemas/BooleanScore'- GetScoresResponseDataCorrection:- title: GetScoresResponseDataCorrection- type: object- properties:- trace:- $ref: '#/components/schemas/GetScoresResponseTraceData'- nullable: true- allOf:- - $ref: '#/components/schemas/CorrectionScore'- GetScoresResponseDataText:- title: GetScoresResponseDataText- type: object- properties:- trace:- $ref: '#/components/schemas/GetScoresResponseTraceData'- nullable: true- allOf:- - $ref: '#/components/schemas/TextScore'- GetScoresResponseData:- title: GetScoresResponseData- oneOf:- - type: object- allOf:- - type: object- properties:- dataType:- type: string- enum:- - NUMERIC- - $ref: '#/components/schemas/GetScoresResponseDataNumeric'- required:- - dataType- - type: object- allOf:- - type: object- properties:- dataType:- type: string- enum:- - CATEGORICAL- - $ref: '#/components/schemas/GetScoresResponseDataCategorical'- required:- - dataType- - type: object- allOf:- - type: object- properties:- dataType:- type: string- enum:- - BOOLEAN- - $ref: '#/components/schemas/GetScoresResponseDataBoolean'- required:- - dataType- - type: object- allOf:- - type: object- properties:- dataType:- type: string- enum:- - CORRECTION- - $ref: '#/components/schemas/GetScoresResponseDataCorrection'- required:- - dataType- - type: object- allOf:- - type: object- properties:- dataType:- type: string- enum:- - TEXT- - $ref: '#/components/schemas/GetScoresResponseDataText'- required:- - dataTypeGetScoresResponse:title: GetScoresResponsetype: object@@ -12854,9 +12860,9 @@ components:data:type: arrayitems:- $ref: '#/components/schemas/GetScoresResponseData'+ $ref: '#/components/schemas/ScoreV3'meta:- $ref: '#/components/schemas/utilsMetaResponse'+ $ref: '#/components/schemas/GetScoresMeta'required:- data- meta