Sessions
A session is a conversation: the traces with onesessionId. Newest first, with sums and the first input and last output:
/v1/sessions/find takes userId, from and to (the start of the session). One session with its traces, oldest first:
Scores (evals and feedback)
A score is a number, a yes/no or a label on a trace, a span or a session. It can come long after the trace: from a person, an LLM judge or a test. Write one (at, the time of the score, is the time the server gets it when you leave it out):
anyScore takes name, min, max, label, source):
traces filter, for example "traces": {"root": {"attributes": {"experiment": "A"}}} and then "B". All fields: the server reference, “Query API” (the item “Scores for evals”).