GET /accounts/{account_id}/logs/retrieve

Returns logs stored in R2 that match the provided query parameters.

Servers

Path parameters

Name Type Required Description
account_id String Yes

Cloudflare account ID (32-character hex string).

Request headers

Name Type Required Description
R2-Access-Key-Id String Yes
R2-Secret-Access-Key String Yes

Query parameters

Name Type Required Description
end String Yes

End time in RFC3339 format.

prefix String No

R2 bucket prefix logs are stored under.

bucket String Yes

R2 bucket name.

start String Yes

Start time in RFC3339 format.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.