> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prequel.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Logging

> Events Prequel automatically logs, reviewable through the logs API endpoint.

## Monitoring

Once Prequel is up and running, you may wish to monitor activity on the platform. Prequel automatically logs the following events which can be reviewed using the [logs API endpoint](/export/api-reference/monitoring-&-logging/list-logs).

### Resource management events

| `event_type`             | `resource_id`      | Logged when...               |
| ------------------------ | ------------------ | ---------------------------- |
| `DESTINATION_ADD`        | `{destination_id}` | A destination is created     |
| `DESTINATION_DELETE`     | `{destination_id}` | A destination is deleted     |
| `DESTINATION_UPDATE`     | `{destination_id}` | A destination is updated     |
| `DESTINATION_ENABLE_ALL` | *(empty)*          | All destinations are enabled |
| `DESTINATION_PAUSE_ALL`  | *(empty)*          | All destinations are paused  |
| `SOURCE_ADD`             | `{source_id}`      | A source is created          |
| `SOURCE_DELETE`          | `{source_id}`      | A source is deleted          |
| `SOURCE_UPDATE`          | `{source_id}`      | A source is updated          |
| `RECIPIENT_ADD`          | `{recipient_id}`   | A recipient is created       |
| `RECIPIENT_DELETE`       | `{recipient_id}`   | A recipient is deleted       |
| `RECIPIENT_UPDATE`       | `{recipient_id}`   | A recipient is updated       |
| `MODEL_ADD`              | `{model_id}`       | A model is created           |
| `MODEL_UPDATE`           | `{model_id}`       | A model is updated           |
| `MODEL_DELETE`           | `{model_id}`       | A model is deleted           |
| `PRODUCT_ADD`            | `{product_id}`     | A product is created         |
| `PRODUCT_UPDATE`         | `{product_id}`     | A product is updated         |
| `PRODUCT_DELETE`         | `{product_id}`     | A product is deleted         |

### Magic links & webhooks

| `event_type`        | `resource_id`     | Logged when...          |
| ------------------- | ----------------- | ----------------------- |
| `MAGIC_LINK_CREATE` | `{magic_link_id}` | A magic link is created |
| `MAGIC_LINK_DELETE` | `{magic_link_id}` | A magic link is deleted |
| `WEBHOOK_ADD`       | `{webhook_id}`    | A webhook is created    |
| `WEBHOOK_DELETE`    | `{webhook_id}`    | A webhook is deleted    |
| `WEBHOOK_UPDATE`    | `{webhook_id}`    | A webhook is updated    |

### Transfer events

Note: Due to volume of transfers, Prequel does not report individual transfers within logs. For more detail on transfer metrics, see [Usage Data](/export/features/usage-data).

| `event_type`        | `resource_id`   | Logged when...                  |
| ------------------- | --------------- | ------------------------------- |
| `TRANSFER_CANCELED` | `{transfer_id}` | A transfer is manually canceled |

### Credential management

| `event_type`                         | `resource_id`     | Logged when...                           |
| ------------------------------------ | ----------------- | ---------------------------------------- |
| `RECIPIENT_SOURCE_CREDENTIAL_ADD`    | `{credential_id}` | A recipient source credential is created |
| `RECIPIENT_SOURCE_CREDENTIAL_DELETE` | `{credential_id}` | A recipient source credential is deleted |
| `RECIPIENT_SOURCE_CREDENTIAL_UPDATE` | `{credential_id}` | A recipient source credential is updated |
