---
title: "Changes to Test Policies And Guardrails"
method: POST
path: "/utils/test_policies_and_guardrails"
---

# Changes to Test Policies And Guardrails

`POST /utils/test_policies_and_guardrails`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 101 revisions.

- **2026-10-21** `f2fb14eab3f5`: 1 breaking, 3 warning, 24 info

## Changes

- **2026-10-21** `f2fb14eab3f5`: 1 breaking, 3 warning, 24 info
  - the `inputs_list/items/structured_messages/items/anyOf[subschema #3: ChatCompletionToolMessage]/content/anyOf[subschema #2]/items/` request property type changed from `object` to no type
  - removed the request property `inputs_list/items/structured_messages/items/anyOf[subschema #3: ChatCompletionToolMessage]/content/anyOf[subschema #2]/items/cache_control`
  - removed the request property `inputs_list/items/structured_messages/items/anyOf[subschema #3: ChatCompletionToolMessage]/content/anyOf[subschema #2]/items/text`
  - removed the request property `inputs_list/items/structured_messages/items/anyOf[subschema #3: ChatCompletionToolMessage]/content/anyOf[subschema #2]/items/type`
  - api tag `policies` added
  - api tag `utils` removed
  - added the new optional request property `inputs_list/items/stream_holdback_chars`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #1: ChatCompletionUserMessage]/cache_control/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #1: ChatCompletionUserMessage]/content/anyOf[subschema #2]/items/anyOf[subschema #1: ChatCompletionTextObject]/cache_control/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/cache_control/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/content/anyOf[subschema #2]/items/anyOf[subschema #1: ChatCompletionTextObject]/cache_control/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/content/anyOf[subschema #2]/items/anyOf[subschema #2: ChatCompletionThinkingBlock]/cache_control/anyOf[subschema #2: ChatCompletionCachedContent]/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/content/anyOf[subschema #2]/items/anyOf[subschema #3: ChatCompletionRedactedThinkingBlock]/cache_control/anyOf[subschema #2: ChatCompletionCachedContent]/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/reasoning_items`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/thinking_blocks/anyOf[subschema #1]/items/anyOf[subschema #1: ChatCompletionThinkingBlock]/cache_control/anyOf[subschema #2: ChatCompletionCachedContent]/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/thinking_blocks/anyOf[subschema #1]/items/anyOf[subschema #2: ChatCompletionRedactedThinkingBlock]/cache_control/anyOf[subschema #2: ChatCompletionCachedContent]/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #4: ChatCompletionSystemMessage]/cache_control/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #5: ChatCompletionFunctionMessage]/content/anyOf[subschema #2]/items/cache_control/ttl`
  - added the new optional request property `inputs_list/items/structured_messages/items/anyOf[subschema #6: ChatCompletionDeveloperMessage]/cache_control/ttl`
  - added the new optional request property `inputs_list/items/tools/items/allowed_callers`
  - added the new optional request property `inputs_list/items/tools/items/cache_control/ttl`
  - added the new optional request property `inputs_list/items/tools/items/eager_input_streaming`
  - added the new optional request property `inputs_list/items/tools/items/function/eager_input_streaming`
  - added `#/components/schemas/ChatCompletionTextObject, #/components/schemas/ChatCompletionImageObject, #/components/schemas/ChatCompletionToolReferenceObject` to the `inputs_list/items/structured_messages/items/anyOf[subschema #3: ChatCompletionToolMessage]/content/anyOf[subschema #2]/items/` request property `anyOf` list
  - request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/content/anyOf[subschema #2]/items/anyOf[subschema #2: ChatCompletionThinkingBlock]/signature` list-of-types was widened by adding types `null` to media type `application/json`
  - request property `inputs_list/items/structured_messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/thinking_blocks/anyOf[subschema #1]/items/anyOf[subschema #1: ChatCompletionThinkingBlock]/signature` list-of-types was widened by adding types `null` to media type `application/json`
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

---

[Operation](https://skmtc.dev/sea-lion/apis/litellm-api/docs/utils/test_policies_and_guardrails/post.md) · [API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [Page](https://skmtc.dev/sea-lion/apis/litellm-api/changes/utils/test_policies_and_guardrails/post)
