Files
2026-07-17 21:48:37 +05:30

9 lines
237 B
TypeScript

import { NextResponse } from "next/server";
import { getBackend } from "@/lib/backend";
export const dynamic = "force-dynamic";
export async function GET() {
return NextResponse.json({ agents: await getBackend().availability() });
}