API Reference
Using the Ag.dev API
Create a new drive for the authenticated organization
cURL
curl --request POST \ --url https://api.ag.dev/v0.1/drives \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>" } '
{ "id": "<string>", "organizationId": "<string>", "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Provide either X-API-Key: or Authorization: Bearer
Human-readable name for the drive
Drive created successfully
Drive ID
Organization ID
Creation timestamp
Last update timestamp