Skip to main content
Glama
+server.ts595 B
import type { RequestHandler } from './$types' import { json } from '@sveltejs/kit' import { schedulerService } from '$lib/server/schedulerService' import { logErrorAlways } from '$lib/log' export const GET: RequestHandler = async ({ url }) => { try { const status = schedulerService.getJobStatus() return json({ success: true, jobs: status, timestamp: new Date().toISOString() }) } catch (error) { logErrorAlways('Error getting scheduler status:', error) return json( { success: false, error: 'Failed to get scheduler status' }, { status: 500 } ) } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/khromov/llmctx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server