GET /accounts/{account_id}/dex/commands

Retrieves a paginated list of commands issued to devices under the specified account, optionally filtered by time range, device, or other parameters

Servers

Path parameters

Name Type Required Description
account_id String Yes

Unique Cloudflare account ID.

Query parameters

Name Type Required Description
page Number Yes

Page number of paginated results.

Default value: 1

to String No

End time for the query in ISO (RFC3339 - ISO 8601) format.

per_page Number Yes

Number of results per page.

user_email String No

Email tied to the device.

device_id String No

Unique identifier for a device.

command_type String No

Optionally filter executed commands by command type.

Valid values:

  • "pcap"
  • "warp-diag"
  • "speed-test"
status String No

Optionally filter executed commands by status.

Valid values:

  • "PENDING_EXEC"
  • "PENDING_UPLOAD"
  • "FAILED"
  • "SUCCESS"
from String No

Start time for the query in ISO (RFC3339 - ISO 8601) 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.