Class ThreadQueryParams.Body
-
- All Implemented Interfaces:
public final class ThreadQueryParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadQueryParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>cursor()cursoris the opaque string from a previous response'snext_cursor.final Optional<String>filter()filternarrows which threads are returned, using a LangSmith filter expression evaluated against each thread's root run.final Optional<OffsetDateTime>maxStartTime()max_start_timeis the exclusive upper bound on thread activity (RFC3339 date-time).final Optional<OffsetDateTime>minStartTime()min_start_timeis the inclusive lower bound on thread activity (RFC3339 date-time).final Optional<Long>pageSize()page_sizeis the maximum number of threads to return in this response.final Optional<String>projectId()project_idis the tracing project UUID.final JsonField<String>_cursor()Returns the raw JSON value of cursor. final JsonField<String>_filter()Returns the raw JSON value of filter. final JsonField<OffsetDateTime>_maxStartTime()Returns the raw JSON value of maxStartTime. final JsonField<OffsetDateTime>_minStartTime()Returns the raw JSON value of minStartTime. final JsonField<Long>_pageSize()Returns the raw JSON value of pageSize. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final Map<String, JsonValue>_additionalProperties()final ThreadQueryParams.Body.BuildertoBuilder()final ThreadQueryParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThreadQueryParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
cursor
final Optional<String> cursor()
cursoris the opaque string from a previous response'snext_cursor. Omit on the first request; pass the returned cursor to fetch the next page.
-
filter
final Optional<String> filter()
filternarrows which threads are returned, using a LangSmith filter expression evaluated against each thread's root run. For example: has(tags, "production") or eq(status, "error"). See https://docs.langchain.com/langsmith/trace-query-syntax#filter-query-language for syntax.
-
maxStartTime
final Optional<OffsetDateTime> maxStartTime()
max_start_timeis the exclusive upper bound on thread activity (RFC3339 date-time). Defaults to now (UTC) when omitted.
-
minStartTime
final Optional<OffsetDateTime> minStartTime()
min_start_timeis the inclusive lower bound on thread activity (RFC3339 date-time). Defaults to 1 day before now (UTC) when omitted.
-
pageSize
final Optional<Long> pageSize()
page_sizeis the maximum number of threads to return in this response. Defaults to 20 when omitted; must be between 1 and 100 inclusive when set. The response may contain fewer threads thanpage_sizeeven whennext_cursoris non-null.
-
_cursor
final JsonField<String> _cursor()
Returns the raw JSON value of cursor.
Unlike cursor, this method doesn't throw if the JSON field has an unexpected type.
-
_filter
final JsonField<String> _filter()
Returns the raw JSON value of filter.
Unlike filter, this method doesn't throw if the JSON field has an unexpected type.
-
_maxStartTime
final JsonField<OffsetDateTime> _maxStartTime()
Returns the raw JSON value of maxStartTime.
Unlike maxStartTime, this method doesn't throw if the JSON field has an unexpected type.
-
_minStartTime
final JsonField<OffsetDateTime> _minStartTime()
Returns the raw JSON value of minStartTime.
Unlike minStartTime, this method doesn't throw if the JSON field has an unexpected type.
-
_pageSize
final JsonField<Long> _pageSize()
Returns the raw JSON value of pageSize.
Unlike pageSize, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ThreadQueryParams.Body.Builder toBuilder()
-
validate
final ThreadQueryParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ThreadQueryParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-