API Reference
Using the Ag.dev API
Retrieve drives for the authenticated organization with pagination
cURL
curl --request GET \ --url https://api.ag.dev/v0.1/drives \ --header 'X-API-Key: <api-key>'
{ "data": [ { "id": "<string>", "organizationId": "<string>", "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ], "pagination": { "limit": 123, "offset": 123, "total": 123 } }
Provide either X-API-Key: or Authorization: Bearer
Maximum number of drives to return
1 <= x <= 100
Number of drives to skip for pagination
x >= 0
Paginated list of drives
Array of drives
Show child attributes
Pagination metadata