Data -- Materialized Queries

Read Materialized Query Status

Returns refresh status and schedule information for a single materialized query.

get/data/projects/{projectId}/materialized-queries/{queryId}/status

Request

  • Base URL: https://partner.peaka.studio/api/v1
  • URL: https://partner.peaka.studio/api/v1/data/projects/{projectId}/materialized-queries/{queryId}/status
  • Auth: HTTP bearer

Path parameters

projectIdstring required

ID of the Project

queryIdstring required

ID of the Query

Response

Materialized query status

queryIdstring

ID of the query

queryNamestring

Name of the query

nextExecutionStartTimestring nullable

Next scheduled execution start time (ISO 8601). Null when the schedule type is 'none' or cannot be computed.

statusstring

Status of the most recent refresh

lastExecutionStartTimestring nullable

Start time of the last refresh (ISO 8601)

lastUpdateTimestring nullable

Time the status was last updated (ISO 8601)

Example response

{
  "queryId": "709922802836177297",
  "queryName": "samplequery",
  "scheduleSettings": {
    "type": "cron",
    "cronExpression": "0 0 * * *",
    "timezone": "UTC"
  },
  "nextExecutionStartTime": "2025-01-15T16:00:00Z",
  "status": "COMPLETED",
  "lastExecutionStartTime": "2025-01-15T10:00:00Z",
  "lastUpdateTime": "2025-01-15T10:05:00Z"
}

Changes

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