> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/rest-api/midapi-v2/operations.md).

# Operations

A **operation** It groups the assets of a business session, gives them a common identifier, and sets an expiration date for them. Every stored asset belongs to an operation, and any validation that references an asset by key declares which operation it belongs to.

Creating the operation is the first step of an Integration that works by reference, and it is located in its context in [Common Flow](/docs.facephi-en/rest-api/midapi-v2/flujo-comun.md). The identifier is issued by the service: it is not a business datum chosen by the integrator.

Each operation comes with an expiration date, indicated in `expiresAt`. An expired operation does not allow storing or referencing assets, and it cannot be renewed: you must create another one and store the assets again.

#### Available services

* [**Create Operation**](/docs.facephi-en/rest-api/midapi-v2/operations/create-operation.md): Creates an operation and returns its identifier and expiration date.
* [**Get File Keys**](/docs.facephi-en/rest-api/midapi-v2/operations/get-file-keys.md): Returns the keys of the assets stored in an operation, indexed by context.
