> ## Documentation Index
> Fetch the complete documentation index at: https://confidence-auth-testing.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Apply Event

> Confidence has the concept of applying a flag, this means marking the flag as used by a user.

Confidence automatically generate Apply Events, which you can use out-of-the-box to create [Assignment Tables](/docs/capabilities/metrics/create-assignment-table.md).

## On-Access Apply

Client-Side SDKs automatically emit `apply` events to the Confidence backend once applications read a flag or a flag's property. This allows Confidence to track who was exposed to what variant and when.

> [!NOTE]
>
> The `apply` event is only generated for flags that are successfully evaluated (that is, default values returned due to errors don't generate `apply` events).

> [!NOTE]
>
> The `apply` event reports which flag and variant the application read, but not which property the application has read from such variant's value.

To avoid generating redundant data, as long as the flags' data returned from the backend for a user remains unchanged, only the first reading of flag's property generates an `apply` event.

The Mobile Providers (iOS and Android) stores `apply` events on disk until it can send them correctly, thus ensuring the apply data reaches the backend even if generated when there is no network available (assuming the device re-connects to the network before the user deletes the application).

## On-Resolve Apply

Server SDKs and Edge Resolvers generate `apply` data at resolve time. The SDKs then batch this data and send it to the Confidence backend in the background, on a cadence.

## Related Resources

> **[Confidence SDKs](/docs/reference/sdks/overview.md)**
>
> Overview of available SDKs

> **[Assignment Tables](/docs/capabilities/metrics/assignment-tables.md)**
>
> Configure assignment tracking

> **[Create Assignment Table](/docs/capabilities/metrics/create-assignment-table.md)**
>
> Set up assignment tables

> **[Exposure](/docs/capabilities/metrics/exposure.md)**
>
> Understand experiment exposure
