Skip to main content

Get User Drive

Retrieve the authenticated user’s drive information.
GET /drives

Headers

Authorization
string
required
Bearer token for authentication

Response

success
boolean
required
Indicates if the request succeeded
data
object
Drive object

Example

curl -X GET 'https://app.memorylake.ai/api/memorylake/api/v1/drives' \
  -H 'Authorization: Bearer YOUR_API_KEY'
{
  "success": true,
  "data": {
    "id": "drive_123",
    "root_item_id": "item_root_456",
    "created_at": "2024-01-15T10:00:00Z"
  }
}

Create Drive

Initialize a new drive for the user.
POST /drives

Response

Same as GET /drives

Next Steps