List running jobs

June 3, 2026 (November 16, 2026)

Table of contents

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

List the currently-running jobs, grouped by account email: async jobs and sync requests still in progress. Useful for tracking concurrency against each account’s maxJobs limit.

https://api.useapi.net/v1/flowmusic/jobs

Request Headers

Authorization: Bearer {API token}

Responses

  • 200 OK

    The jobs running now, grouped by account email: how many run, the account’s maxJobs, and each pending job.

    {
      "[email protected]": {
        "running": 1,
        "maxJobs": 2,
        "jobs": [
          {
            "jobid": "job:d0a58b8d-37f6-4267-85a0-e94f335ea0d8-user:[email protected]:flowmusic",
            "status": "pending",
            "created_at": "2026-11-28T23:01:34.940Z"
          }
        ]
      }
    }
    
  • 400 Bad Request

    The request itself is wrong, or no usable Google Flow Music account is added. The error text says what to change.

    {
      "error": "Please configure at least one account at https://useapi.net/docs/api-flowmusic-v1/post-flowmusic-accounts",
      "code": 400
    }
    
    {
      "error": "Invalid JSON: Unexpected token 'o', \"not json\" is not valid JSON",
      "code": 400
    }
    
  • 401 Unauthorized

    The useapi.net API token is missing or wrong.

    {
      "error": "useapi.net ⁝ Unauthorized",
      "code": 401
    }
    
  • 402 Payment Required

    The useapi.net subscription is not active.

    {
      "error": "useapi.net ⁝ Your account has no subscription, please subscribe to our services before submitting requests",
      "code": 402
    }
    
  • 500 Internal Server Error

    Something failed on our side.

    {
      "error": "Cannot read properties of undefined (reading 'email')",
      "code": 500
    }
    

Model

An object keyed by account email ({} when nothing is running).

The running jobs, per account
// TypeScript, fields marked ? may be absent
{
  [email: string]: {
    running: number  // how many jobs run on the account now
    maxJobs: number  // how many may run on it at once
    jobs: {
      jobid: string  // the job's id: read it with GET /jobs/{jobid}
      status: "pending" | "completed" | "failed"  // the job's status
      operation?: "effect" | "extend" | "replace" | "cover" | "remix"  // the edit, on edit jobs only
      created_at: string  // when the job started, ISO 8601
    }[]  // the account's running jobs
  }
}

Examples

  • curl "https://api.useapi.net/v1/flowmusic/jobs" \
         -H "Authorization: Bearer YOUR_API_TOKEN"
    
  • const response = await fetch('https://api.useapi.net/v1/flowmusic/jobs', {
      headers: {
        'Authorization': 'Bearer YOUR_API_TOKEN'
      }
    })
    console.log(response.status, await response.json())
    
  • import requests
    
    response = requests.get(
        'https://api.useapi.net/v1/flowmusic/jobs',
        headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
    )
    print(response.status_code, response.json())
    

Try It