Block schemas
Create Block Schema
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
requiredA block type ID
fields
object
The block schema's field schema
capabilities
string[]
A list of Block capabilities
version
string
default: non-versionedHuman readable identifier for the block schema
Response
201 - application/json
An ORM representation of a block schema.
checksum
string
requiredThe block schema's unique checksum
block_type_id
string | null
requiredA 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-versionedHuman readable identifier for the block schema
Was this page helpful?