Data -- Cache

Create Batch Cache

Creates multiple caches in a single request. Each item in the array follows the same schema as the single create cache endpoint. Caches are created independently; if one fails, the others may still succeed.

The response contains a list of results, one per requested cache, each indicating success or failure. On success, the created cache object is included. On failure, the error message is provided.

This is useful when enabling caching for multiple tables at once (e.g. during initial project setup).

post/data/projects/{projectId}/cache/batch

Request

  • Base URL: https://partner.peaka.studio/api/v1
  • URL: https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache/batch
  • Auth: HTTP bearer

Path parameters

projectIdstring required

The unique identifier of the project that owns the data sources

Request body

catalogIdstring

The ID of the catalog for the cache request.

schemaNamestring

The name of the schema for the cache request.

tableNamestring

The name of the table for the cache request.

Response

Batch processing completed. Each entry in the response array indicates whether that specific cache was created successfully or failed.

Changes

No recorded changes to this operation across all 1 revision of this API.