All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| trace_delete | DELETE /api/public/traces/{traceId} | |
| trace_delete_multiple | DELETE /api/public/traces | |
| trace_get | GET /api/public/traces/{traceId} | |
| trace_list | GET /api/public/traces |
models::DeleteTraceResponse trace_delete(trace_id)
Delete a specific trace
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| trace_id | String | The unique langfuse identifier of the trace to delete | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::DeleteTraceResponse trace_delete_multiple(trace_delete_multiple_request)
Delete multiple traces
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| trace_delete_multiple_request | TraceDeleteMultipleRequest | [required] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::TraceWithFullDetails trace_get(trace_id)
Get a specific trace
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| trace_id | String | The unique langfuse identifier of a trace | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Traces trace_list(page, limit, user_id, name, session_id, from_timestamp, to_timestamp, order_by, tags, version, release, environment)
Get list of traces
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| page | Option<i32> | Page number, starts at 1 | ||
| limit | Option<i32> | Limit of items per page. If you encounter api issues due to too large page sizes, try to reduce the limit. | ||
| user_id | Option<String> | |||
| name | Option<String> | |||
| session_id | Option<String> | |||
| from_timestamp | Option<String> | Optional filter to only include traces with a trace.timestamp on or after a certain datetime (ISO 8601) | ||
| to_timestamp | Option<String> | Optional filter to only include traces with a trace.timestamp before a certain datetime (ISO 8601) | ||
| order_by | Option<String> | Format of the string [field].[asc/desc]. Fields: id, timestamp, name, userId, release, version, public, bookmarked, sessionId. Example: timestamp.asc | ||
| tags | Option<Vec> | Only traces that include all of these tags will be returned. | ||
| version | Option<String> | Optional filter to only include traces with a certain version. | ||
| release | Option<String> | Optional filter to only include traces with a certain release. | ||
| environment | Option<Vec> | Optional filter for traces where the environment is one of the provided values. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]