List Flight Logs
curl --request GET \
--url https://api.example.com/v1/equipment/{id}/flightsimport requests
url = "https://api.example.com/v1/equipment/{id}/flights"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/equipment/{id}/flights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/equipment/{id}/flights",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/equipment/{id}/flights"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/equipment/{id}/flights")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/equipment/{id}/flights")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyEndpoints
List Flight Logs
Retrieve paginated flight logs for a specific piece of equipment
GET
/
v1
/
equipment
/
{id}
/
flights
List Flight Logs
curl --request GET \
--url https://api.example.com/v1/equipment/{id}/flightsimport requests
url = "https://api.example.com/v1/equipment/{id}/flights"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/equipment/{id}/flights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/equipment/{id}/flights",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/equipment/{id}/flights"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/v1/equipment/{id}/flights")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/equipment/{id}/flights")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyList Flight Logs
Returns a paginated list of flight logs for a specific piece of equipment.Request
curl "https://api.dronelist.io/v1/equipment/eq_abc123/flights" \
-H "X-API-Key: dl_your_key_here"
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Equipment ID (e.g., eq_abc123) |
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
dateFrom | ISO 8601 | — | Filter flights from this date |
dateTo | ISO 8601 | — | Filter flights up to this date |
flightType | string | — | Filter by flight type (COMMERCIAL, RECREATIONAL, TRAINING, MAINTENANCE) |
orderBy | enum | date_desc | Sort order: date_asc, date_desc, duration_asc, duration_desc |
page | integer | 1 | Page number (1-indexed) |
limit | integer | 20 | Items per page (max 100) |
Response
{
"success": true,
"data": [
{
"id": "fl_xyz789",
"flightDate": "2025-03-15T09:00:00.000Z",
"flightType": "COMMERCIAL",
"operationType": "SURVEY",
"durationSeconds": 1920,
"maxAltitude": 120,
"traveledDistance": 4500,
"nightFlight": false,
"bvlos": false,
"takeoffLat": 51.5074,
"takeoffLng": -0.1278,
"landingLat": 51.5080,
"landingLng": -0.1270,
"pilotInCommand": {
"id": "prof_abc123",
"fullName": "Jane Smith"
},
"project": {
"id": "proj_def456",
"title": "Highway Bridge Inspection Q1"
},
"createdAt": "2025-03-15T09:35:00.000Z",
"updatedAt": "2025-03-15T09:35:00.000Z"
}
],
"meta": {
"pagination": {
"page": 1,
"limit": 20,
"total": 18,
"hasMore": false
}
}
}
pilotInCommand and project may be null if no pilot or project is associated with the flight.Required scope
equipment:read
Errors
| Status | Code | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid query parameters (e.g., malformed date or invalid orderBy value) |
401 | UNAUTHORIZED | Missing or invalid API key |
403 | FORBIDDEN | API key lacks equipment:read scope |
404 | NOT_FOUND | Equipment not found or belongs to another organization |
500 | INTERNAL_ERROR | Unexpected server error — retry with exponential backoff |
⌘I

