Tail Logs
Cloudflare API docsList Tails
Get list of tails currently deployed on a Worker.
php
$response = $client->workers()->logs()->get('account_id', 'script_name');
Start Tail
Starts a tail that receives logs and exception from a Worker.
php
$response = $client->workers()->logs()->start('account_id', 'script_name');
Delete Tail
Deletes a tail from a Worker.
php
$response = $client->workers()->logs()->delete('account_id', 'script_name', 'log_id');
Table of Contents