How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Prefect Block types API

Interact with a Workspace's Block types.

Prefect Block types API is one of 63 APIs that Prefect publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include block-types. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a getting-started guide, and an AsyncAPI specification.

This API exposes 9 operations across 7 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 0.8.4.

9 operations 7 paths 17 schemas 1 DELETE4 GET1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.8.4
Resource Areas
1

Paths & Operations 9

Across 7 paths, the API surfaces 9 operations — 1 DELETE, 4 GET, 1 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Block types 9

Interact with a Workspace's Block types.

POST
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/
Create Block Type
create_block_type_api_accounts__account_id__workspaces__workspace_id__block_types__post 3 params body → 201422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/{id}
Read Block Type By Id
read_block_type_by_id_api_accounts__account_id__workspaces__workspace_id__block_types__id__get 4 params → 200422
PATCH
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/{id}
Update Block Type
update_block_type_api_accounts__account_id__workspaces__workspace_id__block_types__id__patch 4 params body → 204422
DELETE
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/{id}
Delete Block Type
delete_block_type_api_accounts__account_id__workspaces__workspace_id__block_types__id__delete 4 params → 204422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/slug/{slug}
Read Block Type By Slug
read_block_type_by_slug_api_accounts__account_id__workspaces__workspace_id__block_types_slug__slug__get 4 params → 200422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/filter
Read Block Types
read_block_types_api_accounts__account_id__workspaces__workspace_id__block_types_filter_post 3 params body → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/slug/{slug}/block_documents
Read Block Documents For Block Type
read_block_documents_for_block_type_api_accounts__account_id__workspaces__workspace_id__block_types_slug__slug__block_documents_get 5 params → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/slug/{slug}/block_documents/name/{block_document_name}
Read Block Document By Name For Block Type
read_block_document_by_name_for_block_type_api_accounts__account_id__workspaces__workspace_id__block_types_slug__slug__block_documents_name__block_document_name__get 6 params → 200422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/block_types/install_system_block_types
Install System Block Types
install_system_block_types_api_accounts__account_id__workspaces__workspace_id__block_types_install_system_block_types_post 3 params → 200422

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are BlockDocument (12 properties), BlockType (10 properties), BlockSchema (9 properties), BlockTypeCreate (6 properties). Each schema is shown below with its type and property counts.

BlockSchemaFilter
object
Filter BlockSchemas
5 properties
prefect_cloud__orion__schemas__filters__Operator
string
Operators for combining filter criteria.
BlockTypeFilter
object
Filter BlockTypes
2 properties
BlockSchema
object
An ORM representation of a block schema.
9 properties 2 required
BlockTypeFilterName
object
Filter by BlockType.name
1 property
BlockType
object
An ORM representation of a block type
10 properties 2 required
BlockSchemaFilterId
object
Filter by BlockSchema.id
1 property
BlockTypeFilterSlug
object
Filter by BlockType.slug
1 property
BlockTypeCreate
object
Data used by the Prefect REST API to create a block type.
6 properties 2 required
ValidationError
object
3 properties 3 required
BlockDocument
object
An ORM representation of a block document.
12 properties 2 required
BlockSchemaFilterVersion
object
Filter by BlockSchema.capabilities
1 property
BlockTypeUpdate
object
Data used by the Prefect REST API to update a block type.
4 properties
Body_read_block_types_api_accounts__account_id__workspaces__workspace_id__block_types_filter_post
object
4 properties
BlockSchemaFilterCapabilities
object
Filter by BlockSchema.capabilities
1 property
HTTPValidationError
object
1 property
BlockSchemaFilterBlockTypeId
object
Filter by BlockSchema.blocktypeid.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

prefect-block-types-api-openapi.yml Raw ↑

Other APIs Prefect publishes across the network.

Prefect Server REST API
Prefect Python SDK
Prefect Account Billing API
Prefect Account Images API
Prefect Account Memberships API
Prefect Account Roles API
Prefect Account SSO API
Prefect Accounts API
Prefect AI API
Prefect Artifacts API
Prefect Asset Publications API
Prefect Asset Subscriptions API
Where this information came from

This is an independent, third-party profile of Prefect Block types API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.