Skip to content

Commit

Permalink
feat: set public flag on traces (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen authored Dec 4, 2023
1 parent dfd6871 commit 96186aa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions langfuse-core/openapi-spec/openapi-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,10 @@ components:
nullable: true
metadata:
nullable: true
public:
type: boolean
nullable: true
description: Public traces are accessible via url without login
required:
- id
- timestamp
Expand Down Expand Up @@ -1734,6 +1738,10 @@ components:
nullable: true
metadata:
nullable: true
public:
type: boolean
nullable: true
description: Make trace publicly accessible via url
Traces:
title: Traces
type: object
Expand Down
4 changes: 4 additions & 0 deletions langfuse-core/src/openapi/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ export interface components {
version?: string | null;
userId?: string | null;
metadata?: Record<string, unknown> | null;
/** @description Public traces are accessible via url without login */
public?: boolean | null;
};
/** TraceWithDetails */
TraceWithDetails: WithRequired<
Expand Down Expand Up @@ -413,6 +415,8 @@ export interface components {
release?: string | null;
version?: string | null;
metadata?: Record<string, unknown> | null;
/** @description Make trace publicly accessible via url */
public?: boolean | null;
};
/** Traces */
Traces: {
Expand Down

0 comments on commit 96186aa

Please sign in to comment.