releases.shpreview

Logs API

Access your API request logs from anywhere.

Two new endpoints give you programmatic access to your API request logs.

Retrieving logs

import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.logs.list();

Returned logs include: endpoint, method, status code, user agent.

Drilling down

Retrieve a single log entry to inspect the original request and response bodies:

const { data, error } = await resend.logs.get('37e4414c-5e25-4dbc-a071-43552a4bd53b');

Getting started

The Logs API enables: equipping agents with debugging tools, building custom dashboards and monitoring tools, and integrating with existing infrastructure.

Available in all official Resend SDKs, the Resend CLI, and MCP Server.

Logs API

Fetched May 13, 2026