Authorizations
##All APIs require Bearer Token authentication##
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYBody
application/json
Response
Chat completion generated successfully
Unique identifier for the chat completion
Example:
"chatcmpl-20251010015944503180122WJNB8Eid"
Model name actually used
Example:
"gemini-2.5-flash"
Response type
Available options:
chat.completion Example:
"chat.completion"
Creation timestamp
Example:
1760032810
List of chat completion choices
Token usage statistics