planetscale · Schema

QueryPatternsReport

A report on query patterns for a database branch.

Properties

Name Type Description
id string The unique identifier of the report.
state string The current state of the report.
created_at string The timestamp when the report was initiated.
completed_at string The timestamp when the report completed.
View JSON Schema on GitHub

JSON Schema

planetscale-querypatternsreport-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/QueryPatternsReport",
  "title": "QueryPatternsReport",
  "type": "object",
  "description": "A report on query patterns for a database branch.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the report."
    },
    "state": {
      "type": "string",
      "description": "The current state of the report.",
      "enum": [
        "pending",
        "running",
        "complete",
        "failed"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the report was initiated."
    },
    "completed_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the report completed."
    }
  }
}