GET
/
api
/
block_types
/
slug
/
{slug}
/
block_documents
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created": "2023-11-07T05:31:56Z",
    "updated": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "data": {},
    "block_schema_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "block_schema": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created": "2023-11-07T05:31:56Z",
      "updated": "2023-11-07T05:31:56Z",
      "checksum": "<string>",
      "fields": {},
      "block_type_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "block_type": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "created": "2023-11-07T05:31:56Z",
        "updated": "2023-11-07T05:31:56Z",
        "name": "<string>",
        "slug": "<string>",
        "logo_url": "<string>",
        "documentation_url": "<string>",
        "description": "<string>",
        "code_example": "<string>",
        "is_protected": false
      },
      "capabilities": [
        "<string>"
      ],
      "version": "non-versioned"
    },
    "block_type_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "block_type_name": "<string>",
    "block_type": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created": "2023-11-07T05:31:56Z",
      "updated": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "slug": "<string>",
      "logo_url": "<string>",
      "documentation_url": "<string>",
      "description": "<string>",
      "code_example": "<string>",
      "is_protected": true
    },
    "block_document_references": {},
    "is_anonymous": false
  }
]

Headers

x-prefect-api-version
string

Path Parameters

slug
string
required

The block type name

Query Parameters

include_secrets
boolean
default:false

Whether to include sensitive values in the block document.

Response

200
application/json
Successful Response

The response is of type object[].