withHeader('anthropic-version', self::ANTHROPIC_API_VERSION); // Add the API key to the request headers. return $request->withHeader('x-api-key', $this->apiKey); } }