Skip to main content

title: ‘Introduction’ description: ‘Overview of the Lab68 Dev Platform API surface.‘

Overview

Lab68 Dev Platform exposes lightweight API routes under app/api/* to power in-product automations. The primary public-facing endpoint today is the Gemini-backed chat route used by the AI tools workspace. Additional endpoints will ship as workflows expand.

POST /api/chat

Send prompts and conversation history to Gemini to generate contextual responses for project teams.

Runtime

  • Routes run as Next.js App Router server actions using the edge runtime where possible for low latency.
  • Responses are JSON by default; clients should set Content-Type: application/json on requests.

Authentication

The chat endpoint requires a Google Gemini API key. Set GEMINI_API_KEY inside .env.local (or NEXT_PUBLIC_GEMINI_API_KEY as a temporary fallback). If the key is absent, the route returns HTTP 500 with guidance on how to supply the credential.

Roadmap

  • Webhooks for activity logging and meeting summaries.
  • REST and GraphQL endpoints to manage projects, kanban boards, and files from external systems.
  • Fine-grained scopes for personal access tokens when multi-tenant auth is wired in.