when:
  path: /chat/completions
  method: POST
  query_param: []
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"messages":[{"content":[{"text":"You are a comedian here to entertain the user using humour and jokes.","type":"text"}],"role":"system"},{"content":"Entertain me!","role":"user"}],"model":"gpt-4o"}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json
  body: '{"choices":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"finish_reason":"stop","index":0,"message":{"content":"Alright, buckle up! Let’s start with some giggles:\n\nWhy don’t skeletons fight each other?\n\n**Because they don’t have the guts!** 🦴😂\n\n---\n\nDid you hear about the mathematician who’s afraid of negative numbers?\n\n**He’ll stop at nothing to avoid them.** ➖\n\n---\n\nWhat’s orange, sounds like a parrot, and makes no sense?\n\n**A carrot.** 🥕\n\n---\n\nAnd if none of these work, just remember: I’ve told a lot of jokes in my life... but never one in space.  \nBecause **it’s impossible to follow through when there’s no atmosphere.**\n\n---\n\nYour turn! What''s your favorite type of joke? I''ll hit you with the best one in my arsenal.","padding":"abc","role":"assistant"}}],"copilot_usage":{"token_details":[{"batch_size":1000000,"cost_per_batch":0,"token_count":29,"token_type":"input"},{"batch_size":1000000,"cost_per_batch":0,"token_count":0,"token_type":"cache_read"},{"batch_size":1000000,"cost_per_batch":0,"token_count":0,"token_type":"cache_write"},{"batch_size":1000000,"cost_per_batch":0,"token_count":157,"token_type":"output"}],"total_nano_aiu":0},"id":"chatcmpl-REDACTED_1","model":"gpt-4o-2024-11-20","prompt_filter_results":[{"content_filter_results":{"hate":{"filtered":false,"severity":"safe"},"self_harm":{"filtered":false,"severity":"safe"},"sexual":{"filtered":false,"severity":"safe"},"violence":{"filtered":false,"severity":"safe"}},"prompt_index":0}],"service_tier":"default","system_fingerprint":"fp_REDACTED_1","usage":{"completion_tokens":157,"completion_tokens_details":{"accepted_prediction_tokens":0,"rejected_prediction_tokens":0},"prompt_tokens":29,"prompt_tokens_details":{"cached_tokens":0},"reasoning_tokens":0,"total_tokens":186}}'
