Block documents
Read Block Documents
Query for block documents.
POST
/
api
/
block_documents
/
filter
Headers
Body
application/json
Filter BlockDocuments. Only BlockDocuments matching all criteria will be returned
Filter BlockTypes
Filter BlockSchemas
Whether to include sensitive values in the block document.
Defines block document sorting options.
Available options:
NAME_DESC
, NAME_ASC
, BLOCK_TYPE_AND_NAME_ASC
Required range:
x > 0
Defaults to PREFECT_API_DEFAULT_LIMIT if not provided.
Response
200 - application/json
The block document's name. Not required for anonymous block documents.
The block document's data
A block schema ID
The associated block schema
A block type ID
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?