diff --git a/app/schema.graphql b/app/schema.graphql index 7af3536618..aa78ea6259 100644 --- a/app/schema.graphql +++ b/app/schema.graphql @@ -555,6 +555,7 @@ type Project implements Node { documentEvaluationNames(spanId: ID): [String!]! spanEvaluationSummary(evaluationName: String!, timeRange: TimeRange, filterCondition: String): EvaluationSummary documentEvaluationSummary(evaluationName: String!, timeRange: TimeRange, filterCondition: String): DocumentEvaluationSummary + streamingLastUpdatedAt: DateTime } type ProjectConnection { diff --git a/src/phoenix/server/api/types/Project.py b/src/phoenix/server/api/types/Project.py index 9be7fe75c6..450c2dfc6e 100644 --- a/src/phoenix/server/api/types/Project.py +++ b/src/phoenix/server/api/types/Project.py @@ -213,3 +213,9 @@ def document_evaluation_summary( evaluation_name=evaluation_name, metrics_collection=metrics_collection, ) + + @strawberry.field + def streaming_last_updated_at( + self, + ) -> Optional[datetime]: + return self.project.last_updated_at