elevenlabs · Schema

KnowledgeBaseDocument

Properties

Name Type Description
document_id string Unique identifier for the document.
name string Display name of the document.
type string The type of the knowledge base document.
created_at string Timestamp when the document was added.
View JSON Schema on GitHub

JSON Schema

elevenlabs-knowledgebasedocument-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/KnowledgeBaseDocument",
  "title": "KnowledgeBaseDocument",
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "description": "Unique identifier for the document."
    },
    "name": {
      "type": "string",
      "description": "Display name of the document."
    },
    "type": {
      "type": "string",
      "description": "The type of the knowledge base document.",
      "enum": [
        "file",
        "url",
        "text"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the document was added."
    }
  }
}