Skip to content
Discussion options

You must be logged in to vote

@nikkinxaver Within the UI we have some additional magic to make filtering by trace properties within the observation view more efficient which are not applicable on the SDK.

If you query the traces api (https://api.reference.langfuse.com/#tag/trace/get/api/public/traces) each trace will have a list of observation IDs that are attached to it. You could use this list to query the relevant observations in a second step. I believe rebuilding your desired behaviour with the given APIs would be better than modifying the APIs.

Let me know in case you have further questions on how to approach this.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@Eskiii
Comment options

Answer selected by Steffen911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants