List All Configured Accounts

April 6, 2026

Table of contents

  1. Request Headers
  2. Responses
  3. Model
  4. Examples
  5. Try It

List all configured Luma accounts.

To get a specific account with live details use GET /accounts/email.

https://api.useapi.net/v1/luma/accounts

Request Headers

Authorization: Bearer {API token}

Responses

  • 200 OK

    Returns a map of all configured accounts, keyed by email.

    {
      "[email protected]": {
        "account": "[email protected]",
        "email": "[email protected]",
        "user_id": "9ecac364-4b63-5b61-9241-297345710d63",
        "concurrency": 4,
        "luma_session_expires": "2026-05-27 02:20:34 UTC",
        "updated": "2026-03-28",
        "executing": 0
      }
    }
    
  • 401 Unauthorized

    Invalid API token.

    {
      "error": "Unauthorized"
    }
    
  • 404 Not Found

    No accounts are configured. Returns an empty response with status 404.

Model

// Map of email to account summary
{
  [email: string]: {
    account: string
    email: string
    user_id: string
    concurrency: number
    luma_session_expires: string // ISO 8601 timestamp
    updated: string
    refresh_last?: string        // ISO 8601 timestamp of last session refresh
    refresh_count: number        // Total number of session refreshes
    executing: number            // Currently executing jobs for this account
    error?: string
  }
}

Examples

  • curl -H "Authorization: Bearer YOUR_API_TOKEN" \
         "https://api.useapi.net/v1/luma/accounts"
    
  • const token = 'YOUR_API_TOKEN';
    
    const response = await fetch('https://api.useapi.net/v1/luma/accounts', {
      headers: {
        'Authorization': `Bearer ${token}`
      }
    });
    
    const accounts = await response.json();
    console.log('Configured accounts:', accounts);
    
  • import requests
    
    token = 'YOUR_API_TOKEN'
    headers = {'Authorization': f'Bearer {token}'}
    
    response = requests.get('https://api.useapi.net/v1/luma/accounts', headers=headers)
    print('All accounts:', response.json())
    

Try It