Threads

List Threads

Retrieves a list of threads from your Confident AI project.

get/v1/threads

Query parameters

pageinteger

This specifies the page number of the threads to return. Defaulted to 1.

pageSizeinteger

This specifies the maximum number of threads per page. Defaulted to 25.

environmentstring

This filters the threads by the environment where the thread was created, and returns threads from all environments if not specified.

startstring date-time

This filters for threads created after the specified start datetime. Defaulted to 30 days ago.

endstring date-time

This filters for threads created before the specified end datetime. Defaulted to the current time.

sortBy'createdAt' | 'lastActivity'

This determines the field to sort by. Defaulted to lastActivity.

ascending'true' | 'false'

This determines if the field specified in sortBy should be in ascending order. Defaults to false.

Headers

CONFIDENT_API_KEYstring required

The API key of your Confident AI project.

Response

successboolean required

This is true if the threads were successfully retrieved.

deprecatedboolean required

This is true if this endpoint is deprecated.

Changes

Changed in 1 of the 54 revisions of this API.22

    • removed the enum value asc from the query request parameter ascending

      request-parameter-enum-value-removed

    • removed the enum value desc from the query request parameter ascending

      request-parameter-enum-value-removed

    • added the new enum value false to the query request parameter ascending

      request-parameter-enum-value-added

    • added the new enum value true to the query request parameter ascending

      request-parameter-enum-value-added

Of the 54 revisions, 3 have no diff computed.