AI Gateway

Changes to POST /ai/v1/chat/completions

post/ai/v1/chat/completions
    • info

      added the new optional request property allOf[subschema #2]/messages/items/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control

    • info

      added the optional property choices/items/message/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control to the response with the status

    • info

      added the optional property usage/oneOf[#/components/schemas/UsageInfo]/prompt_tokens_details to the response with the status

    • warning

      removed the request property allOf[subschema #2]/messages/items/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control

    • warning

      removed the optional property choices/items/message/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control from the response with the status

    • warning

      removed the optional property usage/oneOf[#/components/schemas/UsageInfo]/prompt_tokens_details from the response with the status

    • info

      added the new optional request property allOf[subschema #2]/messages/items/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control

    • info

      added the optional property choices/items/message/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control to the response with the status

    • info

      added the optional property usage/oneOf[#/components/schemas/UsageInfo]/prompt_tokens_details to the response with the status

    • warning

      removed the request property allOf[subschema #2]/messages/items/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control

    • warning

      removed the optional property choices/items/message/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control from the response with the status

    • warning

      removed the optional property usage/oneOf[#/components/schemas/UsageInfo]/prompt_tokens_details from the response with the status

    • info

      added the new optional request property allOf[subschema #2]/messages/items/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control

    • info

      added the optional property choices/items/message/content/oneOf[#/components/schemas/MessageContent]/oneOf[subschema #2]/items/cache_control to the response with the status

    • info

      added the optional property usage/oneOf[#/components/schemas/UsageInfo]/prompt_tokens_details to the response with the status

    • info

      endpoint added