v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1433660423.8 KB

Lists all invocation steps associated with a session and optionally, an invocation within the session. For more information about sessions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/sessions.html">Store and retrieve conversation history and context with Amazon Bedrock sessions</a>.

post/sessions/{sessionIdentifier}/invocationSteps/

Path parameters

sessionIdentifierstring required

The unique identifier for the session associated with the invocation steps. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).

Query parameters

maxResultsinteger

Max Results.

The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.

nextTokenstring

If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.

Request body

invocationIdentifierstring

The unique identifier (in UUID format) for the invocation to list invocation steps for.

Response

Success

nextTokenstring

If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.