ChatDOC
  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
  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 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

Request

Body Params application/json
collection_id
string 
Collection Id
required
>= 36 characters<= 36 characters
upload_ids
array[string]
Upload Ids
required
upload id list
Examples

Responses

🟢200Successful Response
application/json
Body
No schema defined
🟠422Validation Error
Modified at 2024-07-26 06:57:23
Previous
Create Collection
Next
Get Suggested Questions
Built with