Prisma · Schema

Prisma Project

A project represents an application or service within a Prisma workspace. Projects contain environments with database connections and API keys, and serve as the primary organizational unit for Prisma Data Platform resources.

Properties

Name Type Description
id string Unique identifier for the project
name string Display name of the project
workspaceId string Identifier of the parent workspace
environments array Deployment environments configured for the project
databases array Prisma Postgres databases associated with the project
createdAt string ISO 8601 timestamp when the project was created
updatedAt string ISO 8601 timestamp when the project was last updated
View JSON Schema on GitHub

JSON Schema

prisma-project-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://prisma.io/schemas/project.json",
  "title": "Prisma Project",
  "description": "A project represents an application or service within a Prisma workspace. Projects contain environments with database connections and API keys, and serve as the primary organizational unit for Prisma Data Platform resources.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the project",
      "examples": ["prj_abc123def456"]
    },
    "name": {
      "type": "string",
      "description": "Display name of the project",
      "minLength": 1,
      "maxLength": 255,
      "examples": ["My Application"]
    },
    "workspaceId": {
      "type": "string",
      "description": "Identifier of the parent workspace"
    },
    "environments": {
      "type": "array",
      "description": "Deployment environments configured for the project",
      "items": {
        "$ref": "#/$defs/Environment"
      }
    },
    "databases": {
      "type": "array",
      "description": "Prisma Postgres databases associated with the project",
      "items": {
        "$ref": "#/$defs/DatabaseReference"
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the project was created"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the project was last updated"
    }
  },
  "required": ["id", "name", "workspaceId", "createdAt", "updatedAt"],
  "additionalProperties": false,
  "$defs": {
    "Environment": {
      "type": "object",
      "description": "A deployment environment within a project representing a stage such as development, staging, or production",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the environment"
        },
        "name": {
          "type": "string",
          "description": "Display name of the environment",
          "examples": ["Production", "Staging", "Development"]
        },
        "projectId": {
          "type": "string",
          "description": "Identifier of the parent project"
        },
        "connectionString": {
          "type": "string",
          "description": "Database connection string for this environment"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp when the environment was created"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp when the environment was last updated"
        }
      },
      "required": ["id", "name", "projectId", "createdAt", "updatedAt"]
    },
    "DatabaseReference": {
      "type": "object",
      "description": "A reference to a Prisma Postgres database associated with the project",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the database"
        },
        "region": {
          "type": "string",
          "description": "Region where the database is deployed"
        },
        "status": {
          "type": "string",
          "description": "Current operational status",
          "enum": ["provisioning", "active", "suspended", "deleting", "deleted"]
        }
      },
      "required": ["id", "region", "status"]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/prisma-project"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.