CoolFace
Apppublic

nothiro/cereal-applicant-api

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
App README

Cereal Applicant API

Backend API powering the Cereal Applicant platform.

Environment Variables

Set the following secrets in your HF Space settings:

VariableRequiredDescription
CLERK_ISSUER✅Clerk JWT issuer URL (e.g. https://your-app.clerk.accounts.dev)
CLERK_SECRET_KEY✅Clerk backend API key
CLERK_WEBHOOK_SECRET✅Clerk webhook signing secret
ES_CLOUD_ID✅Elasticsearch Serverless Cloud ID
ES_API_KEY✅Elasticsearch API key
ES_AGENT_ENDPOINT_ID✅ES Agent Builder inference endpoint ID
ANTHROPIC_API_KEY✅Anthropic API key (for Haiku summaries)
NOTION_CLIENT_ID❌Notion OAuth app client ID
NOTION_CLIENT_SECRET❌Notion OAuth app client secret
NOTION_REDIRECT_URI❌Notion OAuth redirect (this Space's URL + /auth/notion/callback)

Endpoints

  • —GET /health — liveness check (no auth)
  • —POST /knowledge/* — index knowledge sources
  • —GET /POST /agent/* — agent control
  • —GET /applications — list applications
  • —GET/PUT /preferences — user preferences
  • —GET/POST/DELETE /allowlist — allowed sites
  • —POST /responses/sync — app-open email sync
  • —GET /responses/counts — dashboard stats