v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1494674591.3 KB

Lists the AI Prompts available on the Amazon Q in Connect assistant.

get/assistants/{assistantId}/aiprompts

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.

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