Skip to content

Dedup probe for chunks

POST
/v1/datasets/upload/chunks-exist
curl --request POST \
--url https://example.com/v1/datasets/upload/chunks-exist \
--header 'Content-Type: application/json' \
--data '{ "hashes": [ "example" ] }'

Tenant-scoped content-addressed dedup probe.

x-api-key
string | null
Media type application/json
ChunksExistBody
object
hashes
required
Array<string>
<= 262144 items
Example generated
{
"hashes": [
"example"
]
}

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationError
object
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}