# Terminology

## Action

*Action* in the Session API context means fetching recommendations for a specific view. For example when a visitor navigates from the front page to a product view you would most likely fetch recommendations related to a [product](/techdocs/apis/frontend/implementation-guide-session-api/spa-basics-tracking-events.md#upon-viewing-a-product). This would be considered as an *Action*. Setting the [cart contents](/techdocs/apis/frontend/implementation-guide-session-api/spa-basics-managing-sessions.md#setting-the-cart) however would not be considered as action.

It's also good to keep in mind that each *Action* is considered as a page view in Nosto's analytics. It's recommended to perform an action only once per route change to keep the analytics consistent and comparable to traditional "static" e-commerce stores.

## Route change

*Route change* in the context of this documentation means, as it stands, when the navigational route (url) of the application is changed. In traditional web sites this would be a (full) page load.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nosto.com/techdocs/apis/frontend/implementation-guide-session-api/session-api-terminology.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
