GET
/
organizations
/
{organization}
/
databases
/
{database}
/
branches
/
{branch}
/
keyspaces
/
{keyspace}
/
vschema
Get the VSchema for the keyspace
curl --request GET \
  --url https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{branch}/keyspaces/{keyspace}/vschema \
  --header 'Authorization: <api-key>'
{
  "raw": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

organization
string
required

The name of the organization the branch belongs to

database
string
required

The name of the database the branch belongs to

branch
string
required

The name of the branch

keyspace
string
required

The name of the keyspace

Response

Returns the VSchema for the keyspace

raw
string
required

The keyspace's VSchema