interactions: - request: body: '{"input": ["The capital of France is Paris."], "model": "text-embedding-3-small", "encoding_format": "base64"}' headers: accept: - application/json accept-encoding: - gzip, deflate connection: - keep-alive content-length: - '110' content-type: - application/json host: - api.openai.com user-agent: - OpenAI/Python 1.61.0 x-stainless-arch: - x64 x-stainless-async: - 'false' x-stainless-lang: - python x-stainless-os: - Linux x-stainless-package-version: - 1.61.0 x-stainless-retry-count: - '0' x-stainless-runtime: - CPython x-stainless-runtime-version: - 3.12.7 method: POST uri: https://api.openai.com/v1/embeddings response: content: "{\n \"error\": {\n \"message\": \"Incorrect API key provided: sk-proj-********************************************************************************************************************************************************sLcA. You can find your API key at https://platform.openai.com/account/api-keys.\",\n \ \"type\": \"invalid_request_error\",\n \"param\": null,\n \"code\": \"invalid_api_key\"\n }\n}\n" headers: CF-RAY: - 9219d2095edc680f-SEA Connection: - keep-alive Content-Length: - '414' Content-Type: - application/json; charset=utf-8 Date: - Mon, 17 Mar 2025 04:41:52 GMT Server: - cloudflare Set-Cookie: - __cf_bm=VL2xCt_SZgziztqb6CFL0smPGPhRpbELZKUdSHPmfLQ-1742186512-1.0.1.1-UFayToBt3jFkEkjQwZJ7A4KLy0.uZK9sqwbNqpMQ75dMEz2hycNU3NwtXor0NmM7k7XsdxtcXPfv.JcVjYatku_yE3I6qMEMGsgoog.guDU; path=/; expires=Mon, 17-Mar-25 05:11:52 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None - _cfuvid=O4ymzjmuwsEutsmbHpzKDz4uyyZNA1tSUX0M.FNCjro-1742186512991-0.0.1.1-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None X-Content-Type-Options: - nosniff alt-svc: - h3=":443"; ma=86400 cf-cache-status: - DYNAMIC strict-transport-security: - max-age=31536000; includeSubDomains; preload vary: - Origin x-request-id: - req_62700144d22a58e93c0464aa643af3ec http_version: HTTP/1.1 status_code: 401 version: 1