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

capabilities
string[]

A list of Block capabilities

fields
object

The block schema's field schema

version
string
default:
non-versioned

Human readable identifier for the block schema

Response

201 - application/json

An ORM representation of a block schema.

block_type_id
string | null
required

A block type ID

checksum
string
required

The block schema's unique checksum

created
string | null
required
id
string
required
updated
string | null
required
block_type
object | null

The associated block type

capabilities
string[]

A list of Block capabilities

fields
object

The block schema's field schema

version
string
default:
non-versioned

Human readable identifier for the block schema