Get the detailed content blocks of a single assistant message in a paginated way.
This endpoint returns all content blocks (thinking, text, tool use, and tool result blocks)
in the exact order they occurred during message generation, allowing full reconstruction
of the streaming sequence including interleaved thinking and text content.
Example
Use a bare-bones client and the command you need to make an API call.
InternalServerError (server fault)
An internal failure at the fault of the server.
Throws
BadRequestError (client fault)
An error at the fault of the client sending invalid input.
Throws
NotFoundError (client fault)
An error due to the client attempting to access a missing
resource.
Throws
NotAuthorizedError (client fault)
An error due to the client not being authorized to access the
resource.
Throws
NotAuthenticatedError (client fault)
An error due to the client not being authenticated.
Throws
ValidationError (client fault)
A standard error for input validation failures.
This should be thrown by services when a member of the input structure
falls outside of the modeled or documented constraints.
Get the detailed content blocks of a single assistant message in a paginated way.
This endpoint returns all content blocks (thinking, text, tool use, and tool result blocks) in the exact order they occurred during message generation, allowing full reconstruction of the streaming sequence including interleaved thinking and text content.
Example
Use a bare-bones client and the command you need to make an API call.
Param: ListAssistantMessageDetailsCommandInput
ListAssistantMessageDetailsCommandInput
Returns
ListAssistantMessageDetailsCommandOutput
See
inputshape.responseshape.configshape.Throws
InternalServerError (server fault) An internal failure at the fault of the server.
Throws
BadRequestError (client fault) An error at the fault of the client sending invalid input.
Throws
NotFoundError (client fault) An error due to the client attempting to access a missing resource.
Throws
NotAuthorizedError (client fault) An error due to the client not being authorized to access the resource.
Throws
NotAuthenticatedError (client fault) An error due to the client not being authenticated.
Throws
ValidationError (client fault) A standard error for input validation failures. This should be thrown by services when a member of the input structure falls outside of the modeled or documented constraints.
Throws
Apiv2ServiceException
Base exception class for all service exceptions from Apiv2 service.