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.
fields
object
The block schema's field schema
block_type_id
string
requiredA block type ID
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.
id
string
created
string | null
updated
string | null
checksum
string
requiredThe block schema's unique checksum
fields
object
The block schema's field schema
block_type_id
string | null
requiredA block type ID
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?