Cloudflare · Schema

D1Database

AI GatewayAPI GatewayArtificial IntelligenceCDNCloudContainersDDoS ProtectionDNSEdgeEdge ComputingObject StoragePlatformReal-Time CommunicationSecurityServerlessWeb Performance

Properties

Name Type Description
uuid string The unique identifier of the database.
name string The name of the database.
version string The version of the database.
num_tables integer Number of tables in the database.
file_size integer Size of the database file in bytes.
created_at string When the database was created.
View JSON Schema on GitHub

JSON Schema

cloudflare-d1-d1-database-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "D1Database",
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "description": "The unique identifier of the database."
    },
    "name": {
      "type": "string",
      "description": "The name of the database."
    },
    "version": {
      "type": "string",
      "description": "The version of the database."
    },
    "num_tables": {
      "type": "integer",
      "description": "Number of tables in the database."
    },
    "file_size": {
      "type": "integer",
      "description": "Size of the database file in bytes."
    },
    "created_at": {
      "type": "string",
      "description": "When the database was created."
    }
  }
}