apiKey property

String? apiKey
final

API key sent as x-goog-api-key: ... (what pi's @google/genai SDK does). Falls back to an x-goog-api-key or authorization entry in headers (key then unused), else the stream fails with an error event.

Implementation

final String? apiKey;