Skip to content
Dmitrii Shmanatov edited this page May 11, 2026 · 4 revisions

⚠️ API is not yet implemented
This documentation is a draft. The endpoints described below do not exist yet.
Status: planned for future releases after the stable release of the demo.

Authentication

Pass your API token in the X-API-Token header.

Endpoint

POST /api/task/status

Request body

Field Type Required Description
id int yes Unique task identifier
status string yes Task status (queued, completed, etc.)
mc int no Max concurrency (default: 1)
progress int no Progress percentage (0–100)
worker int no Worker ID
message string no Human-readable message
meta object no Additional metadata

Example

curl -X POST https://fast.af.l3373.xyz/api/task/status \
  -H "Content-Type: application/json" \
  -H "X-API-Token: reptile" \
  -d '{
    "id": 123,
    "status": "check_lock",
    "mc": 4,
    "progress": 75,
    "worker": 2,
    "message": "Checking semaphore",
    "meta": {"job": "App\\\\Jobs\\\\SendEmail", "user_id": 42}
  }'

Response

Success

{
  "success": true,
  "message": "Task created"
}

Error

{
  "success": false,
  "message": "Missing id or status"
}

Error responses

HTTP status Description
400 Validation error
401 Unauthorized
429 Rate limit exceeded
500 Internal server error

Clone this wiki locally