ChatDOC
  1. Schemas
ChatDOC
  • Documents
    • Upload Document
      POST
    • Upload Document
      POST
    • Get Document
      GET
    • Delete Document
      DELETE
    • Download Document
      GET
  • Collections
    • Create Collection
    • Clone Document To Collection
  • Questions
    • Get Suggested Questions
    • Ask Question
    • Get Question
    • Ask Question With Multiple Documents
  • Users
    • Get Quota
  • Schemas
    • Schemas
      • APIAIModelEnum
      • APICloneReq
      • APICollectionOrUploadResp
      • APIPackageInfoResp
      • APIUploadResp
      • Body_Upload_Document_documents_upload_post
      • ChatMessage
      • ChatRoleEnum
      • CollectionReq
      • DocumentErrorMessage
      • DocumentStatus
      • HTTPValidationError
      • HtmlSelectedMeta
      • InteractionType
      • PDFViewerRect
      • PackageDataResp
      • PackageQuotaResp
      • QuestionReq
      • QuestionReqWithUploadIds
      • QuestionResp
      • SelectedMeta
      • SelectedMetaWithUploadId
      • UploadOcrType
      • UploadPackageType
      • UploadType
      • ValidationError
      • WebsiteReq
  1. Schemas

APICollectionOrUploadResp(APICollectionOrUploadResp)

{
    "id": "string",
    "status": 1,
    "name": "string",
    "created_at": 0,
    "type": "collection",
    "documents": [
        {
            "id": "string",
            "status": 1,
            "name": "string",
            "created_at": 0,
            "type": "collection"
        }
    ],
    "error_msg": {
        "error_code": 0,
        "error_msg": "string",
        "page_num": 0,
        "ocr_page_num": 0
    },
    "ocr_type": "disable"
}
Built with