List Running Agent Jobs
November 24, 2025
Table of contents
List all currently running agent jobs for your account. This endpoint returns jobs that are still being processed (status: started).
Completed and failed jobs are not included in this list but can be retrieved using GET agent/jobId if you have the job ID.
https://api.useapi.net/v1/minimax/agent/jobs
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Responses
-
List of running jobs returned successfully.
Returns jobs grouped by account with execution statistics.
{ "accounts": ["67890", "54321"], "summary": { "67890": { "executing": 2 }, "54321": { "executing": 1 } }, "executing": { "67890": [ { "jobId": "p123456789-u12345-a67890-bot:minimax", "elapsed": "02:15" }, { "jobId": "p987654321-u12345-a67890-bot:minimax", "elapsed": "01:30" } ], "54321": [ { "jobId": "p456789123-u12345-a54321-bot:minimax", "elapsed": "00:45" } ] } } -
Invalid API token.
{ "error": "Unauthorized" }
Model
{
accounts: string[] // List of account IDs with configured access
summary: Record<string, {
executing: number // Number of currently executing jobs for this account
}>
executing: Record<string, Array<{ // Jobs grouped by account
jobId: string // Job identifier
elapsed: string // Elapsed time since job started (mm:ss format)
}>>
}
Examples
-
curl -H "Authorization: Bearer YOUR_API_TOKEN" \ "https://api.useapi.net/v1/minimax/agent/jobs" -
const token = "YOUR_API_TOKEN"; const apiUrl = "https://api.useapi.net/v1/minimax/agent/jobs"; const response = await fetch(apiUrl, { headers: { 'Authorization': `Bearer ${token}` } }); const result = await response.json(); console.log(`${result.accounts.length} account(s) configured`); for (const account of result.accounts) { const summary = result.summary[account]; if (summary) { console.log(`Account ${account}: ${summary.executing} job(s) executing`); } const jobs = result.executing[account] || []; jobs.forEach(job => { console.log(` ${job.jobId} (${job.elapsed})`); }); } -
import requests token = "YOUR_API_TOKEN" api_url = "https://api.useapi.net/v1/minimax/agent/jobs" response = requests.get( api_url, headers={'Authorization': f'Bearer {token}'} ) result = response.json() print(f"{len(result['accounts'])} account(s) configured") for account in result['accounts']: summary = result['summary'].get(account) if summary: print(f"Account {account}: {summary['executing']} job(s) executing") jobs = result['executing'].get(account, []) for job in jobs: print(f" {job['jobId']} ({job['elapsed']})")