interactions: - request: body: '{"messages": [{"role": "user", "content": "What is the capital of France?"}], "model": "gpt-4.1-mini-2025-04-14", "stop": []}' headers: accept: - application/json accept-encoding: - gzip, deflate connection: - keep-alive content-length: - '125' content-type: - application/json host: - api.openai.com user-agent: - OpenAI/Python 1.68.2 x-stainless-arch: - arm64 x-stainless-async: - 'false' x-stainless-lang: - python x-stainless-os: - MacOS x-stainless-package-version: - 1.68.2 x-stainless-raw-response: - 'true' x-stainless-read-timeout: - '600.0' x-stainless-retry-count: - '0' x-stainless-runtime: - CPython x-stainless-runtime-version: - 3.11.12 method: POST uri: https://api.openai.com/v1/chat/completions response: body: string: "{\n \"id\": \"chatcmpl-BP8CseGRtCJSUgUxQ2Lj70CjhCtpc\",\n \"object\": \"chat.completion\",\n \"created\": 1745329446,\n \"model\": \"gpt-4.1-mini-2025-04-14\",\n \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\": \"assistant\",\n \"content\": \"The capital of France is Paris.\",\n \"refusal\": null,\n \"annotations\": []\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 14,\n \"completion_tokens\": 8,\n \"total_tokens\": 22,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0,\n \"audio_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"reasoning_tokens\": 0,\n \"audio_tokens\": 0,\n \"accepted_prediction_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n },\n \"service_tier\": \"default\",\n \"system_fingerprint\": \"fp_79b79be41f\"\n}\n" headers: CF-RAY: - 93458dcf6d0ef53b-GRU Connection: - keep-alive Content-Type: - application/json Date: - Tue, 22 Apr 2025 13:44:07 GMT Server: - cloudflare Transfer-Encoding: - chunked X-Content-Type-Options: - nosniff access-control-expose-headers: - X-Request-ID alt-svc: - h3=":443"; ma=86400 cf-cache-status: - DYNAMIC openai-organization: - crewai-iuxna1 openai-processing-ms: - '1391' openai-version: - '2020-10-01' strict-transport-security: - max-age=31536000; includeSubDomains; preload x-ratelimit-limit-requests: - '30000' x-ratelimit-limit-tokens: - '150000000' x-ratelimit-remaining-requests: - '29999' x-ratelimit-remaining-tokens: - '149999989' x-ratelimit-reset-requests: - 2ms x-ratelimit-reset-tokens: - 0s x-request-id: - req_74408ec81f430b6e9795cf5332262b8d status: code: 200 message: OK version: 1