Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
API Routes Orbia - Skill - OpenSmartRoute
Skillv1.0.0
API Routes Orbia
Use quando criar ou alterar endpoints Next.js em src/app/api. Inclui padrão de auth, validação, arquitetura limpa e compatibilidade de rotas singular/plural.
Instruction file imported from esbnet/orbia-task-manager (.github/instructions/api-routes.instructions.md). Copyright stays with the author.
API Routes - Orbia
Objetivo
Manter handlers HTTP simples, seguros e alinhados a Clean Architecture.
Checklist de Implementação
Autenticar no inicio do handler.
Validar e sanitizar entradas antes de chamar use case.
Delegar logica de negocio para application/use-cases ou application/services.
Retornar respostas HTTP consistentes e mensagens claras.
Tratar erros sem vazar detalhes sensíveis.
Nao Fazer
Nao colocar regras de negocio complexas diretamente na rota.
Nao usar Prisma direto na rota quando houver use case/repository apropriado.
Nao quebrar aliases/compatibilidade entre rotas singular/plural sem necessidade.
Referencias
docs/architecture-refactor-log.md
docs/codebase-overview.md
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.