<@ULVA73B9P> What does the block_schema_id do when...
# ask-marvin
c
@Marvin What does the block_schema_id do when using the API to create a block document?
m
When creating a block document in the Prefect API, the
block_schema_id
specifies the schema for the block document you are creating. Essentially, it identifies the structure and validation rules that the block document’s data should conform to. The block schema defines the accepted fields and their types, ensuring that the block document contains the appropriate data for its intended use. By using the
block_schema_id
, the Prefect API can enforce these rules and manage the block documents accurately within the system. For further details, you can refer to the official Prefect documentation on Blocks and API. Here are some related links based on your queries: - Prefect Integrations - Block Types and Schemas For related GitHub issues, you can explore: - "Consider adding DB cleanup scripts to save space in Postgres" - "sync_compatible async/sync context detection error" - "No module named '__prefect_loader__'" If you need more specific examples or additional assistance, feel free to ask.