🪢 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
docs(api): add additional descriptions to api reference (#2776)
Marc Klingen0a83be775f29
diff --git a/fern/apis/server/definition/commons.yml b/fern/apis/server/definition/commons.ymlindex 8cd4b7508d..366d8712e3 100644--- a/fern/apis/server/definition/commons.yml+++ b/fern/apis/server/definition/commons.yml@@ -5,16 +5,36 @@ types:id:type: stringdocs: The unique identifier of a trace- timestamp: datetime- name: optional<string>- input: optional<unknown>- output: optional<unknown>- sessionId: optional<string>- release: optional<string>- version: optional<string>- userId: optional<string>- metadata: optional<unknown>- tags: optional<list<string>>+ timestamp:+ type: datetime+ docs: The timestamp when the trace was created+ name:+ type: optional<string>+ docs: The name of the trace+ input:+ type: optional<unknown>+ docs: The input data of the trace. Can be any JSON.+ output:+ type: optional<unknown>+ docs: The output data of the trace. Can be any JSON.+ sessionId:+ type: optional<string>+ docs: The session identifier associated with the trace+ release:+ type: optional<string>+ docs: The release version of the application when the trace was created+ version:+ type: optional<string>+ docs: The version of the trace+ userId:+ type: optional<string>+ docs: The user identifier associated with the trace+ metadata:+ type: optional<unknown>+ docs: The metadata associated with the trace. Can be any JSON.+ tags:+ type: optional<list<string>>+ docs: The tags associated with the trace. Can be an array of strings or null.public:type: optional<boolean>docs: Public traces are accessible via url without login@@ -65,39 +85,97 @@ types:traces: list<Trace>Observation:properties:- id: string- traceId: optional<string>- type: string- name: optional<string>- startTime: datetime- endTime: optional<datetime>- completionStartTime: optional<datetime>- model: optional<string>- modelParameters: optional<map<string, MapValue>>- input: optional<unknown>- version: optional<string>- metadata: optional<unknown>- output: optional<unknown>- usage: optional<Usage>- level: ObservationLevel- statusMessage: optional<string>- parentObservationId: optional<string>- promptId: optional<string>+ id:+ type: string+ docs: The unique identifier of the observation+ traceId:+ type: optional<string>+ docs: The trace ID associated with the observation+ type:+ type: string+ docs: The type of the observation+ name:+ type: optional<string>+ docs: The name of the observation+ startTime:+ type: datetime+ docs: The start time of the observation+ endTime:+ type: optional<datetime>+ docs: The end time of the observation.+ completionStartTime:+ type: optional<datetime>+ docs: The completion start time of the observation+ model:+ type: optional<string>+ docs: The model used for the observation+ modelParameters:+ type: optional<map<string, MapValue>>+ docs: The parameters of the model used for the observation+ input:+ type: optional<unknown>+ docs: The input data of the observation+ version:+ type: optional<string>+ docs: The version of the observation+ metadata:+ type: optional<unknown>+ docs: Additional metadata of the observation+ output:+ type: optional<unknown>+ docs: The output data of the observation+ usage:+ type: optional<Usage>+ docs: The usage data of the observation+ level:+ type: ObservationLevel+ docs: The level of the observation+ statusMessage:+ type: optional<string>+ docs: The status message of the observation+ parentObservationId:+ type: optional<string>+ docs: The parent observation ID+ promptId:+ type: optional<string>+ docs: The prompt ID associated with the observationObservationsView:extends: Observationproperties:- promptName: optional<string>- promptVersion: optional<integer>- modelId: optional<string>- inputPrice: optional<double>- outputPrice: optional<double>- totalPrice: optional<double>- calculatedInputCost: optional<double>- calculatedOutputCost: optional<double>- calculatedTotalCost: optional<double>- latency: optional<double>- timeToFirstToken: optional<double>+ promptName:+ type: optional<string>+ docs: The name of the prompt associated with the observation+ promptVersion:+ type: optional<integer>+ docs: The version of the prompt associated with the observation+ modelId:+ type: optional<string>+ docs: The unique identifier of the model+ inputPrice:+ type: optional<double>+ docs: The price of the input in USD+ outputPrice:+ type: optional<double>+ docs: The price of the output in USD.+ totalPrice:+ type: optional<double>+ docs: The total price in USD.+ calculatedInputCost:+ type: optional<double>+ docs: The calculated cost of the input in USD+ calculatedOutputCost:+ type: optional<double>+ docs: The calculated cost of the output in USD+ calculatedTotalCost:+ type: optional<double>+ docs: The calculated total cost in USD+ latency:+ type: optional<double>+ docs: The latency in seconds.+ timeToFirstToken:+ type: optional<double>+ docs: The time to the first token in secondsUsage:docs: Standard interface for usage and cost@@ -239,14 +317,30 @@ types:updatedAt: datetimeDatasetRun:properties:- id: string- name: string- description: optional<string>- metadata: optional<unknown>- datasetId: string- datasetName: string- createdAt: datetime- updatedAt: datetime+ id:+ type: string+ docs: Unique identifier of the dataset run+ name:+ type: string+ docs: Name of the dataset run+ description:+ type: optional<string>+ docs: Description of the run+ metadata:+ type: optional<unknown>+ docs: Metadata of the dataset run+ datasetId:+ type: string+ docs: Id of the associated dataset+ datasetName:+ type: string+ docs: Name of the associated dataset+ createdAt:+ type: datetime+ docs: The date and time when the dataset run was created+ updatedAt:+ type: datetime+ docs: The date and time when the dataset run was last updatedDatasetRunWithItems:extends: DatasetRunproperties:diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.ymlindex 101cf47995..8831b10dd1 100644--- a/web/public/generated/api/openapi.yml+++ b/web/public/generated/api/openapi.yml@@ -1990,32 +1990,44 @@ components:timestamp:type: stringformat: date-time+ description: The timestamp when the trace was createdname:type: stringnullable: true+ description: The name of the traceinput:nullable: true+ description: The input data of the trace. Can be any JSON.output:nullable: true+ description: The output data of the trace. Can be any JSON.sessionId:type: stringnullable: true+ description: The session identifier associated with the tracerelease:type: stringnullable: true+ description: The release version of the application when the trace was createdversion:type: stringnullable: true+ description: The version of the traceuserId:type: stringnullable: true+ description: The user identifier associated with the tracemetadata:nullable: true+ description: The metadata associated with the trace. Can be any JSON.tags:type: arrayitems:type: stringnullable: true+ description: >-+ The tags associated with the trace. Can be an array of strings or+ null.public:type: booleannullable: true@@ -2122,56 +2134,74 @@ components:properties:id:type: string+ description: The unique identifier of the observationtraceId:type: stringnullable: true+ description: The trace ID associated with the observationtype:type: string+ description: The type of the observationname:type: stringnullable: true+ description: The name of the observationstartTime:type: stringformat: date-time+ description: The start time of the observationendTime:type: stringformat: date-timenullable: true+ description: The end time of the observation.completionStartTime:type: stringformat: date-timenullable: true+ description: The completion start time of the observationmodel:type: stringnullable: true+ description: The model used for the observationmodelParameters:type: objectadditionalProperties:$ref: '#/components/schemas/MapValue'nullable: true+ description: The parameters of the model used for the observationinput:nullable: true+ description: The input data of the observationversion:type: stringnullable: true+ description: The version of the observationmetadata:nullable: true+ description: Additional metadata of the observationoutput:nullable: true+ description: The output data of the observationusage:$ref: '#/components/schemas/Usage'nullable: true+ description: The usage data of the observationlevel:$ref: '#/components/schemas/ObservationLevel'+ description: The level of the observationstatusMessage:type: stringnullable: true+ description: The status message of the observationparentObservationId:type: stringnullable: true+ description: The parent observation IDpromptId:type: stringnullable: true+ description: The prompt ID associated with the observationrequired:- id- type@@ -2184,44 +2214,55 @@ components:promptName:type: stringnullable: true+ description: The name of the prompt associated with the observationpromptVersion:type: integernullable: true+ description: The version of the prompt associated with the observationmodelId:type: stringnullable: true+ description: The unique identifier of the modelinputPrice:type: numberformat: doublenullable: true+ description: The price of the input in USDoutputPrice:type: numberformat: doublenullable: true+ description: The price of the output in USD.totalPrice:type: numberformat: doublenullable: true+ description: The total price in USD.calculatedInputCost:type: numberformat: doublenullable: true+ description: The calculated cost of the input in USDcalculatedOutputCost:type: numberformat: doublenullable: true+ description: The calculated cost of the output in USDcalculatedTotalCost:type: numberformat: doublenullable: true+ description: The calculated total cost in USDlatency:type: numberformat: doublenullable: true+ description: The latency in seconds.timeToFirstToken:type: numberformat: doublenullable: true+ description: The time to the first token in secondsallOf:- $ref: '#/components/schemas/Observation'Usage:@@ -2567,23 +2608,31 @@ components:properties:id:type: string+ description: Unique identifier of the dataset runname:type: string+ description: Name of the dataset rundescription:type: stringnullable: true+ description: Description of the runmetadata:nullable: true+ description: Metadata of the dataset rundatasetId:type: string+ description: Id of the associated datasetdatasetName:type: string+ description: Name of the associated datasetcreatedAt:type: stringformat: date-time+ description: The date and time when the dataset run was createdupdatedAt:type: stringformat: date-time+ description: The date and time when the dataset run was last updatedrequired:- id- name