POST
/
api
/
block_schemas
/

Headers

x-prefect-api-version
string

Body

application/json
fields
object

The block schema's field schema

block_type_id
string
required

A block type ID

capabilities
string[]

A list of Block capabilities

version
string
default: non-versioned

Human readable identifier for the block schema

Response

201 - application/json
id
string
created
string | null
updated
string | null
checksum
string
required

The block schema's unique checksum

fields
object

The block schema's field schema

block_type_id
string | null
required

A block type ID

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