v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1494674591.3 KB

List AI Agent versions.

get/assistants/{assistantId}/aiagents/{aiAgentId}/versions

Path parameters

assistantIdstring required

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

aiAgentIdstring required

The identifier of the Amazon Q in Connect AI Agent for which versions are to be listed.

Query parameters

nextTokenstring

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

maxResultsinteger

The maximum number of results to return per page.

origin'SYSTEM' | 'CUSTOMER'

The origin of the AI Agent versions to be listed. <code>SYSTEM</code> for a default AI Agent created by Q in Connect or <code>CUSTOMER</code> for an AI Agent created by calling AI Agent creation APIs.

Response

Success

nextTokenstring

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.