> For the complete documentation index, see [llms.txt](https://documentation.virtuedeep.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions.md). Agents can also search and read this documentation through its [MCP server](https://documentation.virtuedeep.tech/~gitbook/mcp).

# Creating, managing, and performing interactions

Learn about the Interaction endpoint collection, which enables you to create, manage, and perform interactions between your solution and its users.

Every time an end-user logs in, they start interacting with Affective Computing (powered by Virtue)'s infrastructure. At that exact moment, a new session is created and the entry point generates the corresponding session ID.

You can use the endpoints in the `Interaction` collection to set the characteristics of interactions between Affective Computing and users and retrieve information about them. You can do the following:

* [Initialize an interaction session](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/initialize-an-interaction-session.md)
* [Perform an interaction](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/perform-an-interaction.md)
* [Perform a Streaming Interaction (Speech-to-Speech)](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/perform-a-streaming-interaction-speech-to-speech.md)
* Group interactions:
  * [Initialize a group interaction](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/initialize-a-group-interaction.md)
  * [Dissolve a group interaction](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/dissolve-a-group-interaction.md)
* [Queue actions](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/queue-actions.md)
* [Consume queued actions](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/consume-queued-actions.md)
* [View the number of queued actions of a specific type](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-the-number-of-queued-actions-of-a-specific-type.md)
* [View all interaction sessions of a user](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-all-interaction-sessions-of-a-user.md)
* [View the recent interaction history](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-the-recent-interaction-history.md)
* [Inform Affective Computing about an active interaction](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/inform-affective-computing-about-an-active-interaction.md)
* [Validate whether a foreign ID was previously used](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/validate-whether-a-foreign-id-was-previously-used.md)
* [View the interaction mode of a specific interaction session](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-the-interaction-mode-of-a-specific-interaction-session.md)
* [End an interaction session](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/end-an-interaction-session.md)
* [View all interaction modes](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-all-interaction-modes.md)
* [Summon a VH](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/summon-a-vh.md)
* [Terminate a VH](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/terminate-a-vh.md)
* [View details of all summoned VHs](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-details-of-all-summoned-vhs.md)
* [View the status of all summoned VHs](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-the-status-of-all-summoned-vhs.md)
* [Begin data augmentation for clone simulations](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/begin-data-augmentation-for-clone-simulations.md)
* [Begin data augmentation for bulk simulations](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/begin-data-augmentation-for-bulk-simulations.md)
* [View all interactions performed by an actual user whose data was augmented for simulation](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/view-all-interactions-performed-by-an-actual-user-whose-data-was-augmented-for-simulation.md)
* [Validate whether the diagnostics process is complete for a user](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/validate-whether-the-diagnostics-process-is-complete-for-a-user.md)
* [Manually broadcast an action to a set of VHs](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/manually-broadcast-an-action-to-a-set-of-vhs.md)
* [Analyze the psychological evolution of VHs during a simulation](https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-managing-and-performing-interactions/analyze-the-psychological-evolution-of-vhs-during-a-simulation.md)

## Query parameters

| Parameter                                                                         | Description                                                                                                                                                                         |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `testing_session`                                                                 | <p>Indicates if the session is a testing session.</p><p></p><p>By default, the value of this parameter is <code>false</code></p>                                                    |
| `enable_debugging`                                                                | <p>Indicates whether debugging is allowed in this session with questions to analyze the user's mood.</p><p></p><p>By default, the value of this parameter is <code>false</code></p> |
| `session_id`                                                                      | Unique identifier of the session.                                                                                                                                                   |
| `content_type`                                                                    | Type of content consumed in the session.                                                                                                                                            |
| `content_value`                                                                   | Helps to identify the content.                                                                                                                                                      |
| `priority`                                                                        | <p>Indicates whether consuming the session content is a priority.</p><p></p><p>By default, the value of this parameter is <code>1</code>.</p>                                       |
| `userId`                                                                          | Unique identifier of the user.                                                                                                                                                      |
| <ul><li><code>interaction\_id</code></li><li><code>interactionId</code></li></ul> | Unique identifier of the interaction between the user and EDAA™.                                                                                                                    |
| `foreign_identity`                                                                | A custom name/identity to be added to this interaction, will be very helpful for data visualization.                                                                                |
| `longitude`                                                                       | Helps identify the user's spatial position.                                                                                                                                         |
| `latitude`                                                                        | Helps identify the user's spatial position.                                                                                                                                         |
| `speed`                                                                           | Value of the speed at which the user moves.                                                                                                                                         |
| `current_HR`                                                                      | Value of the user's heart rate.                                                                                                                                                     |
| `action_Detail`                                                                   | Helps to identify the nature of the user's action.                                                                                                                                  |
| `tenantID`                                                                        | Unique identifier of the tenant responsible for the project.                                                                                                                        |
| `option_Name`                                                                     | Name of the preferred interaction option.                                                                                                                                           |
| `option_Value`                                                                    | Helps to identify the preferred interaction option.                                                                                                                                 |
| `from`                                                                            | Exact time and date to start counting.                                                                                                                                              |
| `to`                                                                              | Exact time and date to count up to.                                                                                                                                                 |
| `groupBy`                                                                         | Term by which to group sessions.                                                                                                                                                    |
| `interaction_Session`                                                             | Identifier of the session in which the interaction occurs.                                                                                                                          |
| `image`                                                                           | Image name.                                                                                                                                                                         |
| `skipCount`                                                                       | Specifies where to start counting in a list of returned resources.                                                                                                                  |
| `maxResultCount`                                                                  | Limits the number of resources returned.                                                                                                                                            |
