result.data | object | Yes | — | Provider response payload. |
result.data.status | number | No | — | HTTP status code. |
result.data.requestId | string | No | — | Unique id assigned to every request. UUIDv4 Format: uuid. |
result.data.result | object | No | — | — |
result.data.result.aggregate | object | No | — | — |
result.data.result.aggregate.queryId | string | Yes | — | Stable identifier for the query pattern (normalized SQL). |
result.data.result.aggregate.queryText | string | Yes | — | Normalized query text with literals replaced by placeholders. |
result.data.result.aggregate.dbName | string | Yes | — | Database the query ran in. |
result.data.result.aggregate.dbUser | string | Yes | — | Database user that executed the query. |
result.data.result.aggregate.dbOperation | string | Yes | — | Top-level SQL operation type (for example, SELECT, INSERT, UPDATE, DELETE, UTILITY). |
result.data.result.aggregate.app | string | Yes | — | Value of the Postgres application_name for executions matching this pattern. |
result.data.result.aggregate.callCount | integer | Yes | — | Number of times the pattern executed in the window. |
result.data.result.aggregate.errorCount | integer | Yes | — | Number of executions of the pattern that raised an error. |
result.data.result.aggregate.totalDurationUs | integer | Yes | — | Total execution time across all calls, in microseconds. |
result.data.result.aggregate.avgDurationUs | integer | Yes | — | Average execution time per call, in microseconds. |
result.data.result.aggregate.maxDurationUs | integer | Yes | — | Maximum execution time of any call, in microseconds. |
result.data.result.aggregate.p50DurationUs | integer | Yes | — | 50th percentile execution time, in microseconds. |
result.data.result.aggregate.p95DurationUs | integer | Yes | — | 95th percentile execution time, in microseconds. |
result.data.result.aggregate.p99DurationUs | integer | Yes | — | 99th percentile execution time, in microseconds. |
result.data.result.aggregate.totalRows | integer | Yes | — | Total number of rows returned or affected across all calls. |
result.data.result.aggregate.totalSharedBlksRead | integer | Yes | — | Total shared buffer blocks read from disk (cache misses) across all calls. |
result.data.result.aggregate.totalSharedBlksHit | integer | Yes | — | Total shared buffer blocks hit (cache hits) across all calls. |
result.data.result.aggregate.totalCpuTimeUs | integer | Yes | — | Total CPU time across all calls, in microseconds. |
result.data.result.aggregate.totalWalBytes | integer | Yes | — | Total WAL (write-ahead log) bytes generated across all calls. |
result.data.result.recentExecutions | array | Yes | — | Recent individual executions matching the pattern. |
result.data.result.recentExecutions[].timestamp | string | Yes | — | Execution timestamp (RFC 3339). Format: date-time. |
result.data.result.recentExecutions[].queryId | string | Yes | — | Stable identifier for the query pattern. |
result.data.result.recentExecutions[].dbName | string | Yes | — | Database the query ran in. |
result.data.result.recentExecutions[].dbUser | string | Yes | — | Database user that executed the query. |
result.data.result.recentExecutions[].dbOperation | string | Yes | — | Top-level SQL operation type. |
result.data.result.recentExecutions[].app | string | Yes | — | Value of the Postgres application_name for this execution. |
result.data.result.recentExecutions[].queryText | string | Yes | — | Normalized query text for this execution. |
result.data.result.recentExecutions[].pid | string | Yes | — | Postgres backend process ID that executed the query. |
result.data.result.recentExecutions[].durationUs | integer | Yes | — | Execution duration in microseconds. |
result.data.result.recentExecutions[].rows | integer | Yes | — | Rows returned or affected. |
result.data.result.recentExecutions[].sharedBlksHit | integer | Yes | — | Shared buffer blocks hit. |
result.data.result.recentExecutions[].sharedBlksRead | integer | Yes | — | Shared buffer blocks read from disk. |
result.data.result.recentExecutions[].sharedBlksWritten | integer | Yes | — | Shared buffer blocks written. |
result.data.result.recentExecutions[].sharedBlksDirtied | integer | Yes | — | Shared buffer blocks dirtied. |
result.data.result.recentExecutions[].sharedBlkReadTimeUs | integer | Yes | — | Time spent reading shared blocks, in microseconds. |
result.data.result.recentExecutions[].sharedBlkWriteTimeUs | integer | Yes | — | Time spent writing shared blocks, in microseconds. |
result.data.result.recentExecutions[].localBlksHit | integer | Yes | — | Local buffer blocks hit (temp tables). |
result.data.result.recentExecutions[].localBlksRead | integer | Yes | — | Local buffer blocks read (temp tables). |
result.data.result.recentExecutions[].localBlksWritten | integer | Yes | — | Local buffer blocks written (temp tables). |
result.data.result.recentExecutions[].localBlksDirtied | integer | Yes | — | Local buffer blocks dirtied (temp tables). |
result.data.result.recentExecutions[].tempBlksRead | integer | Yes | — | Temp blocks read (spills to disk). |
result.data.result.recentExecutions[].tempBlksWritten | integer | Yes | — | Temp blocks written (spills to disk). |
result.data.result.recentExecutions[].tempBlkReadTimeUs | integer | Yes | — | Time spent reading temp blocks, in microseconds. |
result.data.result.recentExecutions[].tempBlkWriteTimeUs | integer | Yes | — | Time spent writing temp blocks, in microseconds. |
result.data.result.recentExecutions[].walRecords | integer | Yes | — | Number of WAL records produced. |