1. Collections
ChatDOC
  • Documents
    • Upload Document
      POST
    • Upload Document
      POST
    • Get Document
      GET
    • Delete Document
      DELETE
    • Download Document
      GET
  • Collections
    • Create Collection
      POST
    • Clone Document To Collection
      POST
  • Questions
    • Get Suggested Questions
      GET
    • Ask Question
      POST
    • Get Question
      GET
    • Ask Question With Multiple Documents
      POST
  • Users
    • Get Quota
      GET
  • 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. Collections

Clone Document To Collection

Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
/collections/clone-documents
Only parsed normal document (status=300) can be cloned to collection, max document count of collection is 30.
Cloned documents also consume your document page quota.

Request

Body Params application/json

Examples

Responses

🟢200Successful Response
application/json
Body

🟠422Validation Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/collections/clone-documents' \
--header 'Content-Type: application/json' \
--data-raw '{
    "collection_id": "stringstringstringstringstringstring",
    "upload_ids": [
        "stringstringstringstringstringstring"
    ]
}'
Response Response Example
200 - Example 1
null
Modified at 2024-07-26 06:57:23
Previous
Create Collection
Next
Get Suggested Questions
Built with