Pinter
ENID
Reference
View as Markdown

Backend API route map

Reference Pinter's canonical domain API groups.

All backend routes are mounted under:

/api

Route registration lives in pinter-be/routes/api.py.

Route groups

PrefixDomainPurpose
/api/identityIdentityAuthentication, users, grants, applications, API keys, profiles, SSO.
/api/agentsAgentsAgent CRUD, models, tools, assets, templates, OpenAI compatibility, runtime.
/api/conversationsConversationsConversations, messages, attachments, media, sharing, streaming.
/api/knowledgeKnowledgeDocuments, memories, folders, wiki.
/api/integrationsIntegrationsIntegration CRUD, channels, MCP servers.
/api/evaluationsEvaluationsEvaluation sets and runs, feedback, traces, statistics.
/api/governanceGovernanceQuotas, usage, alerts, budget requests, preferences.
/api/contentContentCMS pages, public content, announcements.

Common frontend mappings

Frontend areaBackend route groups
Chat/api/conversations, /api/evaluations, /api/governance
Builder/api/agents, /api/knowledge, /api/integrations
Tools and documents/api/agents/tools, /api/knowledge/documents, /api/integrations
Evaluations/api/evaluations, /api/agents
Marketplace/api/agents/templates, /api/agents
Admin users/api/identity/users, /api/identity/grants
Admin models/api/agents/models, /api/identity/api-keys
Admin quotas and usage/api/governance/quotas, /api/governance/usage
Applications/api/identity/applications

Endpoint-level reference

For endpoint-level details, use the generated pages in the API reference tab. They are built from the backend OpenAPI schema.

To refresh the schema after backend route changes:

cd pinter-be
python scripts/export_openapi.py
cp docs/openapi.json ../pinter-fe/docs/openapi.json