curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"incrementalCacheSchedule": {
"expression": "<string>"
},
"fullRefreshCacheSchedule": {
"expression": "<string>"
}
}
]
'[
{
"success": true,
"error": "<string>",
"cache": {
"id": "<string>",
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"incrementalCacheSchedule": {
"expression": "<string>"
},
"fullRefreshCacheSchedule": {
"expression": "<string>"
},
"projectId": "<string>"
}
}
]curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"incrementalCacheSchedule": {
"expression": "<string>"
},
"fullRefreshCacheSchedule": {
"expression": "<string>"
}
}
]
'[
{
"success": true,
"error": "<string>",
"cache": {
"id": "<string>",
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"incrementalCacheSchedule": {
"expression": "<string>"
},
"fullRefreshCacheSchedule": {
"expression": "<string>"
},
"projectId": "<string>"
}
}
]

Use the Authorization header with the value 'Bearer
Create Cache Request
The ID of the catalog for the cache request.
The name of the schema for the cache request.
The name of the table for the cache request.
This class represents a schedule for a materialized query.
Show child attributes
The expression of the schedule. The expression is a duration in ISO-8601 format. "PT15M" -- parses as "15 minutes" (where a minute is 60 seconds) "PT10H" -- parses as "10 hours" (where an hour is 3600 seconds) "P2D" -- parses as "2 days" (where a day is 24 hours or 86400 seconds)
This class represents a schedule for a materialized query.
Show child attributes
The expression of the schedule. The expression is a duration in ISO-8601 format. "PT15M" -- parses as "15 minutes" (where a minute is 60 seconds) "PT10H" -- parses as "10 hours" (where an hour is 3600 seconds) "P2D" -- parses as "2 days" (where a day is 24 hours or 86400 seconds)
OK
Show child attributes
The ID of the cache.
The ID of the catalog for the cache request.
The name of the schema for the cache request.
The name of the table for the cache request.
This class represents a schedule for a materialized query.
Show child attributes
The expression of the schedule. The expression is a duration in ISO-8601 format. "PT15M" -- parses as "15 minutes" (where a minute is 60 seconds) "PT10H" -- parses as "10 hours" (where an hour is 3600 seconds) "P2D" -- parses as "2 days" (where a day is 24 hours or 86400 seconds)
This class represents a schedule for a materialized query.
Show child attributes
The expression of the schedule. The expression is a duration in ISO-8601 format. "PT15M" -- parses as "15 minutes" (where a minute is 60 seconds) "PT10H" -- parses as "10 hours" (where an hour is 3600 seconds) "P2D" -- parses as "2 days" (where a day is 24 hours or 86400 seconds)
The ID of the project for the cache request.