POST
/
api
/
block_schemas
/

Headers

x-prefect-api-version
string

Body

application/json

Data used by the Prefect REST API to create a block schema.

block_type_id
string
required

A block type ID

fields
object

The block schema's field schema

capabilities
string[]

A list of Block capabilities

version
string
default: non-versioned

Human readable identifier for the block schema

Response

201 - application/json

An ORM representation of a block schema.

checksum
string
required

The block schema's unique checksum

block_type_id
string | null
required

A block type ID

id
string
created
string | null
updated
string | null
fields
object

The block schema's field schema

block_type
object | null

The associated block type

capabilities
string[]

A list of Block capabilities

version
string
default: non-versioned

Human readable identifier for the block schema