Buckets

List Buckets

This endpoint lists buckets with pagination, sorting, and filtering options.

post/v1/buckets/list

Query parameters

limitinteger nullable
page_sizeinteger nullable
offsetinteger nullable
pageinteger nullable
cursorstring nullable
next_cursorstring nullable
afterstring nullable
include_totalboolean

Request body

limitinteger nullable

Page size. A body value wins over the limit query param.

page_sizeinteger nullable

Alias for limit (page size). If both are given, limit wins.

offsetinteger nullable

Number of results to skip (legacy, use cursor instead). A body value wins over the offset query param.

pageinteger nullable

1-indexed page number. Folds to offset = (page-1) * limit. If both page and offset are given, offset wins.

searchstring nullable

Search term for wildcard search across bucket_id, bucket_name, description, and other text fields

filtersobject nullable

Filters to apply to the bucket list. Supports filtering by bucket_id or bucket_name.

sortobject nullable

Sort options for the bucket list (single-column, legacy)

sortsobject[] nullable

Sort options for the bucket list as a list of {field, direction} — the shape Studio datatables and the retriever list send. The first entry is the primary sort. Takes precedence over the singular sort.

case_sensitiveboolean

If True, filters and search will be case-sensitive

Response

Successful Response

total_countinteger required

Total number of buckets matching the query

Example response

{
  "results": [
    {
      "unique_key": {
        "default_policy": "upsert",
        "description": "Single field, upsert by default (idempotent video ingestion)",
        "fields": [
          "video_id"
        ]
      }
    }
  ]
}

Changes

Changed in 4 of the 30 revisions of this API.116

    • the endpoint scheme security BearerAuth AND NamespaceHeader was added to the API

      api-security-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new DEACTIVATED enum value to the results/items/status response property for the response status 200

      response-property-enum-value-added

    • added the new optional query request parameter after

      new-optional-request-parameter

    • added the new optional query request parameter next_cursor

      new-optional-request-parameter

    • added the new optional query request parameter cursor

      new-optional-request-parameter

    • added the new optional query request parameter include_total

      new-optional-request-parameter

    • added the new optional query request parameter limit

      new-optional-request-parameter

    • added the new optional query request parameter offset

      new-optional-request-parameter

    • added the new optional query request parameter page

      new-optional-request-parameter

    • added the new optional query request parameter page_size

      new-optional-request-parameter

    • added the new optional request property page

      new-optional-request-property

    • added the new optional request property page_size

      new-optional-request-property

    • added the new optional request property sorts

      new-optional-request-property

    • the limit request property default value 10 was removed

      request-property-default-value-removed

    • the offset request property default value 0 was removed

      request-property-default-value-removed

    • request property limit list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    • request property offset list-of-types was widened by adding types null to media type application/json

      request-property-list-of-types-widened

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog