Block documents
Create Block Document
Create a new block document.
POST
/
api
/
block_documents
/
Headers
Body
application/json
Data used by the Prefect REST API to create a block document.
A block schema ID
A block type ID
The block document's name. Not required for anonymous block documents.
The block document's data
Whether the block is anonymous (anonymous blocks are usually created by Prefect automatically)
Response
201 - application/json
An ORM representation of a block document.
A block schema ID
A block type ID
The block document's name. Not required for anonymous block documents.
The block document's data
The associated block schema
The associated block type's name
The associated block type
Record of the block document's references
Whether the block is anonymous (anonymous blocks are usually created by Prefect automatically)
Was this page helpful?