**Full name**: projects.locations.interactionsHttp.create

Creates a new interaction.

### Endpoint

post `https://{service-endpoint}/v1/{parent}/interactionsHttp`   
Where `{service-endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest#rest_endpoints).

### Path parameters

`parent` `string` Required. The parent resource where this interaction will be created. Format: `projects/{project}/locations/{location}`

Supported only by the Vertex API only.

### Request body

The request body contains data with the following structure:
Fields `httpBody` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/HttpBody`)`` Required. The interaction to create.

### Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `aiplatform.interactions.create`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).