# IRPCEventsAdmin.EventsExported

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Event administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/EventsExported/

Badges: `Administration API / specialized` `admin` `session`

Records in the event log that a range of events was exported.

- **Service:** [Event administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/index.md) `MFiles.IRPCEventsAdmin`
- **gRPC method:** `/MFiles.IRPCEventsAdmin/EventsExported`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/events-exported`
- **Request:** [`EventsExportedRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/EventsExported/index.md#request)
- **Response:** [`EventsExportedResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCEventsAdmin/EventsExported/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Exports nothing itself: it adds an "event log exported" event
  (`EVENT_TYPE_EVENT_LOG_EXPORTED`) with the given range and filters, when event logging is on.
  Call it after you have saved the events, for the audit trail.
- Requires a vault session and the vault right `manage_events`.

<a id="request"></a>

## Request: EventsExportedRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `oldest_exported_event` | `int64` | The lowest exported event ID, or -1 for no lower bound. |
| `newest_exported_event` | `int64` | The highest exported event ID, or -1 for no upper bound. |
| `object_type_filter` | `int32` | The object type the export was limited to, or -1 for none. |
| `object_idfilter` | `int32` | The object ID the export was limited to, or -1 for none. |

<a id="response"></a>

## Response: EventsExportedResponse

No fields.
