PUT
/
v1
/
buckets
/
{bucket_identifier}
/
objects
/
{object_identifier}
curl --request PUT \
  --url https://api.mixpeek.com/v1/buckets/{bucket_identifier}/objects/{object_identifier} \
  --header 'Content-Type: application/json' \
  --data '{
  "blobs": [
    {
      "data": {
        "num_pages": 6,
        "title": "Revised Service Agreement 2024"
      },
      "key_prefix": "/contract-2024-revised",
      "metadata": {
        "author": "Jane Smith",
        "department": "Legal",
        "version": "2.0"
      },
      "property": "content",
      "type": "PDF"
    }
  ],
  "key_prefix": "/updated-documents",
  "metadata": {
    "category": "contracts",
    "reviewed": true,
    "status": "final",
    "year": 2024
  }
}'
{
  "task_id": "<string>",
  "status": "PENDING",
  "inputs": [
    "<any>"
  ],
  "outputs": [
    "<any>"
  ]
}

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

X-Namespace
string | null

Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.

Path Parameters

bucket_identifier
string
required

Identifier of the bucket

object_identifier
string
required

Identifier of the object

Body

application/json

Request model for updating an existing bucket object

Response

200
application/json
Successful Response

The response is of type object.