IntelligenceX
Command

Get-IntelligenceXThread

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient
Outputs
IntelligenceX.Json.JsonValue IntelligenceX.OpenAI.AppServer.Models.ThreadListResult

Lists available threads.

Syntax

Get-IntelligenceXThread
[-Client <IntelligenceXClient>]
[-Cursor <string>]
[-Limit <int>]
[-ModelProvider <string[]>]
[-Raw]
[-SortKey <string>]
[<CommonParameters>]
#

Examples

Example 1

Get-IntelligenceXThread -Limit 20 -SortKey updated_at

List recent threads

Example 2

Get-IntelligenceXThread -Cursor $result.cursor -Limit 20

Continue a previous page

Example 3

Get-IntelligenceXThread -ModelProvider "openai","anthropic"

Filter by model provider

Parameters

-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to use. Defaults to the active client.
-Cursor string optional
Cursor from a previous list response.
-Limit int optional
Maximum number of threads to return.
-ModelProvider string[] optional
Filter by model providers.
-Raw SwitchParameter optional
Return raw JSON response.
-SortKey string optional
Sort key (created_at or updated_at).

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.