For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieves Block Data by Tag

Requests block data.

get

Requests block data by tag. Only users with a role that described in block are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
policyIdstringRequired

Policy Id

Example: 000000000000000000000001
tagNamestringRequired

Block name (Tag)

Example: block-tag
Responses
200

Successful operation.

application/json
idstringRequired
blockTypestringRequired
get/policies/{policyId}/tag/{tagName}/blocks
GET /api/v1/policies/{policyId}/tag/{tagName}/blocks HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": "text",
  "blockType": "text",
  "blocks": [
    {
      "id": "text",
      "blockType": "text",
      "blocks": [
        {
          "id": "text",
          "blockType": "text",
          "blocks": [
            "[Circular Reference]"
          ]
        }
      ]
    }
  ]
}

Last updated