DeskGene API Documentation

This document provides information about the DeskGene API endpoints.

Interactive Swagger UI Documentation

Task Management

GET /api/tasks

Returns a list of all available tasks.

GET /api/tasks/{task_name}

Returns details of a specific task.

POST /api/tasks

Creates a new task.

DELETE /api/tasks/{task_name}

Deletes a task.

Task Execution

POST /api/execute_task

Executes a task.

Query Parameters:

GET /api/task_status/{job_id}

Returns the status of a task execution.

Examples

Executing a Task:

curl -X POST "http://localhost:5000/api/execute_task?headless=true" \
  -H "Content-Type: application/json" \
  -d '{
    "task_name": "Legacy App"
  }'

Try the Interactive Swagger UI