{
  "name": "ClickUp API Worker",
  "version": "1.0.0",
  "description": "AI-friendly ClickUp API endpoints",
  "endpoints": [
    {
      "path": "/api/spaces/search",
      "method": "GET",
      "description": "Search for ClickUp spaces by name or domain",
      "parameters": {
        "query": "Search query (required)"
      }
    },
    {
      "path": "/api/spaces/:space_id/tasks",
      "method": "GET",
      "description": "Get tasks from a space with optional filters",
      "parameters": {
        "status": "Filter by status: done, todo, all (default: all)",
        "date_filter": "Filter by date: upcoming, overdue, all (default: all)",
        "from_date": "Custom date range start (ISO format, optional)",
        "to_date": "Custom date range end (ISO format, optional)"
      }
    }
  ]
}