Amazon Bedrock post-prompt callback

View as MarkdownOpen in Claude
Sent to your [`amazon_bedrock.post_prompt_url`](/docs/swml/reference/calling/amazon-bedrock) when the agent's session ends, carrying its answer to your `post_prompt` alongside the record of the call. Nothing you return in the response is read. Bedrock agents send a different report from [`ai`](/docs/swml/reference/calling/ai) agents. There is no `call_timeline`, `previous_contexts`, `hard_timeout`, `call_ended_by`, or `ai_id_tag`; `raw_call_log` is a copy of `call_log` rather than a separate unfiltered view; `swaig_log` is always empty; `conversation_summary` is always present; and the `total_*` fields arrive without your having to enable accounting. `post_prompt_url` also takes no separate credentials here — put them in the URL as `username:password@url`. Write your handler against this payload, not the [AI post-prompt callback](#tag/calls/webhook/aiPostPromptCallback).