---
title: "Create Interaction"
method: POST
path: "/interactions"
tags: ["google genai endpoints", "interactions"]
---

# Create Interaction

`POST /interactions`

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:
```bash
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?"
    }'
```

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/79928a3d37d3/schema)
