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/v1beta/interactions

Request

  • Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
  • URL: https://apiclaw.biz/v1beta/interactions
  • Auth: API key in header x-litellm-api-key

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.