Node.js
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.logs.list();
Documentation Index
Fetch the complete documentation index at: https://resend.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Number of logs to retrieve.
- Default value:
20 - Maximum value:
100 - Minimum value:
1
The ID after which we'll retrieve more logs (for pagination). This ID will not be included in the returned list. Cannot be used with thebefore parameter.
The ID before which we'll retrieve more logs (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.