> 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

An **operation** groups the assets of a business session, assigns them a shared identifier, and sets an expiration time. Every stored asset belongs to an operation, and every validation that references an asset by key specifies which operation it belongs to.

Creating the operation is the first step in a reference-based integration, and its context is described in [Common Flow](https://docs.facephi.com/docs.facephi-en/rest-api/midapi-v2/flujo-comun.md). The identifier is issued by the service; it is not business data chosen by the integrator.

Each operation is created with an expiration time, specified in `expiresAt`. An expired operation cannot be used to store or reference assets, and it cannot be renewed: you must create another operation and store the assets again.

#### Available services

* [**Create Operation**](https://docs.facephi.com/docs.facephi-en/rest-api/midapi-v2/operations/create-operation.md): Creates an operation and returns its identifier and expiration time.
* [**Get File Keys**](https://docs.facephi.com/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.
