google genai endpoints
interactions
Create Interaction
Create a new interaction using Google's Interactions API.
Per OpenAPI spec: POST /{api_version}/interactions
Supports both model interactions and agent interactions:
- Model: Provide model parameter (e.g., "gemini-2.5-flash")
- Agent: Provide agent parameter (e.g., "deep-research-pro-preview-12-2025")
Example:
curl -X POST "http://localhost:4000/v1beta/interactions" -H "Authorization: Bearer sk-1234" -H "Content-Type: application/json" -d '{
"model": "gemini/gemini-2.5-flash",
"input": "Hello, how are you?"
}'
post/interactions
Request
- Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.sea-lion.ai/interactions
- Auth: one of:
- API key in header x-litellm-api-key
- API key in header x-litellm-api-key
- API key in header x-litellm-api-key
- API key in header x-litellm-api-key
- API key in header x-litellm-api-key
- API key in header x-litellm-api-key
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 78 revisions of this API.