curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache/{cacheId}/status \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"status": "RUNNING",
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"lastIncrementalCacheExecution": {
"id": "<string>",
"status": "<string>",
"error": {},
"progress": {
"numberOfCachedRecords": 123,
"numberOfInsertedRecords": 123,
"numberOfUpdatedRecords": 123,
"numberOfDeletedRecords": 123,
"lastOffset": "<string>",
"lastCacheTxId": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
},
"lastFullRefreshCacheExecution": {
"id": "<string>",
"status": "<string>",
"error": {},
"progress": {
"numberOfCachedRecords": 123,
"numberOfInsertedRecords": 123,
"numberOfUpdatedRecords": 123,
"numberOfDeletedRecords": 123,
"lastOffset": "<string>",
"lastCacheTxId": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
},
"cacheActionLogs": [
{
"timestamp": "2023-11-07T05:31:56Z",
"action": "<string>",
"message": "<string>",
"cacheType": "<string>",
"isScheduled": true
}
],
"projectId": "<string>"
}
curl --request GET \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache/{cacheId}/status \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"status": "RUNNING",
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"lastIncrementalCacheExecution": {
"id": "<string>",
"status": "<string>",
"error": {},
"progress": {
"numberOfCachedRecords": 123,
"numberOfInsertedRecords": 123,
"numberOfUpdatedRecords": 123,
"numberOfDeletedRecords": 123,
"lastOffset": "<string>",
"lastCacheTxId": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
},
"lastFullRefreshCacheExecution": {
"id": "<string>",
"status": "<string>",
"error": {},
"progress": {
"numberOfCachedRecords": 123,
"numberOfInsertedRecords": 123,
"numberOfUpdatedRecords": 123,
"numberOfDeletedRecords": 123,
"lastOffset": "<string>",
"lastCacheTxId": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
},
"cacheActionLogs": [
{
"timestamp": "2023-11-07T05:31:56Z",
"action": "<string>",
"message": "<string>",
"cacheType": "<string>",
"isScheduled": true
}
],
"projectId": "<string>"
}
Use the Authorization header with the value 'Bearer <apiKey>' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
Exclude Logs
OK
The response is of type object
.