ApiKnowledge
Create a knowledge base
Authorization
TokenAuth Authorization<token>
Project API key as Token lb-sk_...
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/knowledge" \ -H "Content-Type: application/json" \ -d '{ "name": "support-docs", "instructions": "Answer concisely and cite sources." }'{ "id": "string", "name": "string", "instructions": "string", "model": "string", "embed_model": "string", "document_count": 0, "created_at": "2019-08-24T14:15:22Z"}