Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set public flag on traces #57

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading