Skip to content

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

docs: update api reference to specify datetime format (ISO 8601)

Marc Klingend1b935b28095
diff --git a/fern/apis/server/definition/metrics.yml b/fern/apis/server/definition/metrics.yml
index f51fcc7ded..35c81b0f97 100644
--- a/fern/apis/server/definition/metrics.yml
+++ b/fern/apis/server/definition/metrics.yml
@@ -31,10 +31,10 @@ service:
docs: Optional filter for metrics where traces include all of these tags
fromTimestamp:
type: optional<datetime>
- docs: Optional filter to only include traces on or after a certain timestamp
+ docs: Optional filter to only include traces on or after a certain datetime (ISO 8601)
toTimestamp:
type: optional<datetime>
- docs: Optional filter to only include traces before a certain timestamp
+ docs: Optional filter to only include traces before a certain datetime (ISO 8601)
response: DailyMetrics
types:
DailyMetrics:
diff --git a/fern/apis/server/definition/observations.yml b/fern/apis/server/definition/observations.yml
index 65d1a061f8..e4288ec5ac 100644
--- a/fern/apis/server/definition/observations.yml
+++ b/fern/apis/server/definition/observations.yml
@@ -35,7 +35,7 @@ service:
parentObservationId: optional<string>
fromStartTime:
type: optional<datetime>
- docs: Retrieve only observations with a start_time greater than this timestamp.
+ docs: Retrieve only observations with a start_time greater than this datetime (ISO 8601).
response: ObservationsViews
types:
diff --git a/fern/apis/server/definition/score.yml b/fern/apis/server/definition/score.yml
index 3a555dfd76..af21bca4f1 100644
--- a/fern/apis/server/definition/score.yml
+++ b/fern/apis/server/definition/score.yml
@@ -29,7 +29,7 @@ service:
name: optional<string>
fromTimestamp:
type: optional<datetime>
- docs: Retrieve only scores newer than this timestamp.
+ docs: Retrieve only scores newer than this datetime (ISO 8601).
source:
type: commons.ScoreSource
docs: Retrieve only scores from a specific source.
diff --git a/fern/apis/server/definition/trace.yml b/fern/apis/server/definition/trace.yml
index 131c6a0161..e1f3c79017 100644
--- a/fern/apis/server/definition/trace.yml
+++ b/fern/apis/server/definition/trace.yml
@@ -32,7 +32,7 @@ service:
name: optional<string>
fromTimestamp:
type: optional<datetime>
- docs: Retrieve only traces newer than this timestamp.
+ docs: Retrieve only traces newer than this datetime (ISO 8601).
orderBy:
type: optional<string>
docs: "Format of the string [field].[asc/desc]. Fields: id, timestamp, name, userId, release, version, public, bookmarked, sessionId. Example: timestamp.asc"
diff --git a/web/public/generated/api/openapi.yml b/web/public/generated/api/openapi.yml
index f442264181..0612df6209 100644
--- a/web/public/generated/api/openapi.yml
+++ b/web/public/generated/api/openapi.yml
@@ -496,7 +496,7 @@ paths:
in: query
description: >-
Optional filter to only include traces on or after a certain
- timestamp
+ datetime (ISO 8601)
required: false
schema:
type: string
@@ -504,7 +504,9 @@ paths:
nullable: true
- name: toTimestamp
in: query
- description: Optional filter to only include traces before a certain timestamp
+ description: >-
+ Optional filter to only include traces before a certain datetime
+ (ISO 8601)
required: false
schema:
type: string
@@ -648,7 +650,7 @@ paths:
in: query
description: >-
Retrieve only observations with a start_time greater than this
- timestamp.
+ datetime (ISO 8601).
required: false
schema:
type: string
@@ -986,7 +988,7 @@ paths:
nullable: true
- name: fromTimestamp
in: query
- description: Retrieve only scores newer than this timestamp.
+ description: Retrieve only scores newer than this datetime (ISO 8601).
required: false
schema:
type: string
@@ -1262,7 +1264,7 @@ paths:
nullable: true
- name: fromTimestamp
in: query
- description: Retrieve only traces newer than this timestamp.
+ description: Retrieve only traces newer than this datetime (ISO 8601).
required: false
schema:
type: string
diff --git a/web/public/generated/postman/collection.json b/web/public/generated/postman/collection.json
index 3e60f9408a..d375f073bb 100644
--- a/web/public/generated/postman/collection.json
+++ b/web/public/generated/postman/collection.json
@@ -418,12 +418,12 @@
{
"key": "fromTimestamp",
"value": "",
- "description": "Optional filter to only include traces on or after a certain timestamp"
+ "description": "Optional filter to only include traces on or after a certain datetime (ISO 8601)"
},
{
"key": "toTimestamp",
"value": "",
- "description": "Optional filter to only include traces before a certain timestamp"
+ "description": "Optional filter to only include traces before a certain datetime (ISO 8601)"
}
],
"variable": []
@@ -528,7 +528,7 @@
{
"key": "fromStartTime",
"value": "",
- "description": "Retrieve only observations with a start_time greater than this timestamp."
+ "description": "Retrieve only observations with a start_time greater than this datetime (ISO 8601)."
}
],
"variable": []
@@ -788,7 +788,7 @@
{
"key": "fromTimestamp",
"value": "",
- "description": "Retrieve only scores newer than this timestamp."
+ "description": "Retrieve only scores newer than this datetime (ISO 8601)."
},
{
"key": "source",
@@ -996,7 +996,7 @@
{
"key": "fromTimestamp",
"value": "",
- "description": "Retrieve only traces newer than this timestamp."
+ "description": "Retrieve only traces newer than this datetime (ISO 8601)."
},
{
"key": "orderBy",