# REST Resource: projects.locations.agent.sessions

- [Resource](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.agent.sessions#RESOURCE_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.agent.sessions#METHODS_SUMMARY)

## Resource

There is no persistent data associated with this resource.

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.agent.sessions/deleteContexts` | Deletes all active contexts in the specified session. |
| ### `https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects.locations.agent.sessions/detectIntent` | Processes a natural language query and returns structured, actionable data as a result. |