List Executing Jobs

February 23, 2026

Table of contents

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

List all currently executing (in-progress) video generation jobs, grouped by account.

https://api.useapi.net/v1/dreamina/scheduler

Request Headers

Authorization: Bearer {API token}

Responses

  • 200 OK

    Returns executing jobs grouped by account.

    {
      "executing": {
        "US:[email protected]": [
          {
            "jobid": "j0223140530123456789v-u12345-US:[email protected]:dreamina",
            "submitId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
            "model": "seedance-2.0",
            "elapsedSeconds": 45,
            "replyUrl": "https://your-domain.com/webhook"
          }
        ]
      },
      "total": 1
    }
    

    When no jobs are executing:

    {
      "executing": {},
      "total": 0
    }
    
  • 401 Unauthorized

    Invalid API token.

    {
      "error": "Unauthorized"
    }
    

Model

{
  executing: {
    [account: string]: Array<{
      jobid: string              // Job identifier
      submitId: string           // Upstream submission ID
      model: string              // Model used
      elapsedSeconds: number     // Seconds since job was submitted
      replyUrl?: string          // Webhook URL if configured
    }>
  }
  total: number                  // Total number of executing jobs
}

Examples

  • curl -H "Authorization: Bearer YOUR_API_TOKEN" \
         "https://api.useapi.net/v1/dreamina/scheduler"
    
  • const token = 'YOUR_API_TOKEN';
    
    const response = await fetch('https://api.useapi.net/v1/dreamina/scheduler', {
      headers: {
        'Authorization': `Bearer ${token}`
      }
    });
    
    const scheduler = await response.json();
    console.log('Executing jobs:', scheduler.total);
    for (const [account, jobs] of Object.entries(scheduler.executing)) {
      console.log(`  ${account}: ${jobs.length} jobs`);
    }
    
  • import requests
    
    token = 'YOUR_API_TOKEN'
    headers = {'Authorization': f'Bearer {token}'}
    
    response = requests.get('https://api.useapi.net/v1/dreamina/scheduler', headers=headers)
    scheduler = response.json()
    
    print(f"Executing jobs: {scheduler['total']}")
    for account, jobs in scheduler['executing'].items():
        print(f"  {account}: {len(jobs)} jobs")
    

Try It