openapi: 3.0.3 info: title: Metadata Governance Dependency Contracts version: 0.2.0 x-contract-level: L1 paths: /admin/kb/knowledge-bases: get: summary: List knowledge bases for routing configuration operationId: depListKnowledgeBases responses: '200': description: OK /admin/kb/documents: post: summary: Create knowledge base document with metadata payload operationId: depCreateKbDocument responses: '201': description: Created /admin/intent-rules: post: summary: Create intent rule with metadata and routing policy operationId: depCreateIntentRule responses: '201': description: Created /admin/script-flows: post: summary: Create script flow with metadata payload operationId: depCreateScriptFlow responses: '201': description: Created /admin/prompt-templates: post: summary: Create prompt template with metadata payload operationId: depCreatePromptTemplate responses: '201': description: Created /chat/completions: post: summary: Runtime completion endpoint for intent route and RAG execution operationId: depChatCompletions responses: '200': description: OK