Class ThreadQueryParams.Body

    • Constructor Detail

    • Method Detail

      • cursor

         final Optional<String> cursor()

        cursor is the opaque string from a previous response's next_cursor. Omit on the first request; pass the returned cursor to fetch the next page.

      • filter

         final Optional<String> filter()

        filter narrows 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_time is the exclusive upper bound on thread activity (RFC3339 date-time). Defaults to now (UTC) when omitted.

      • minStartTime

         final Optional<OffsetDateTime> minStartTime()

        min_start_time is 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_size is 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 than page_size even when next_cursor is 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.

      • 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.