Suna Kortix icon

Suna Kortix

Interact with Suna Kortix AI Agents - Execute agents, manage sandboxes, and handle files

Thread → List

AI-generated

Summary

List retrieves threads with pagination support from the Suna Kortix API, returning thread data including a display name and URL for each thread.

Inputs

  • Page — Page number for pagination, defaults to 1.
  • Limit — Maximum number of results to return, minimum 1, defaults to 50.

Output shape

a list of thread objects, each containing at least a 'name' to display, a 'value' as the thread ID string, and a 'url' to the thread in the Suna Kortix web UI; additionally returns a pagination token string if more pages are available

The operation uses the 'page' param to control pagination, independent of the 'limit' input (limit parameter is present in UI but the API request uses limit=50 fixed). The returned pagination token, if present, can be used to fetch the next page. The returned 'name' prefers thread.project.name, else thread.name, else a truncated thread ID. Requires valid API credentials.

Examples

Example 1: Retrieve the first 50 threads on page 1

Set Page to 1, Limit to 50 (default).

Example 2: Fetch the next page of threads using pagination token

Use the pagination token returned from previous call as the new page number.

Links

Discussion