{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/postman/main/json-schema/postman-get-tagged-entities-schema.json",
  "title": "getTaggedEntities",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/postman-tags-api-openapi.yml#/components/schemas/getTaggedEntities",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/GetTaggedEntitiesData",
      "description": "An object containing the paginated elements."
    },
    "meta": {
      "$ref": "#/$defs/GetTaggedEntitiesMeta",
      "description": "The response's pagination information."
    }
  },
  "$defs": {
    "GetTaggedEntitiesData": {
      "type": "object",
      "properties": {
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GetTaggedEntitiesDataEntitiesItems"
          },
          "description": "A list of the Postman elements that contain the given tag."
        }
      },
      "required": [
        "entities"
      ],
      "description": "An object containing the paginated elements.",
      "title": "GetTaggedEntitiesData"
    },
    "GetTaggedEntitiesDataEntitiesItems": {
      "type": "object",
      "properties": {
        "entityId": {
          "type": "string",
          "format": "uid",
          "description": "The element's unique ID."
        },
        "entityType": {
          "$ref": "#/$defs/GetTaggedEntitiesDataEntitiesItemsEntityType",
          "description": "The type of Postman element."
        }
      },
      "title": "GetTaggedEntitiesDataEntitiesItems"
    },
    "GetTaggedEntitiesDataEntitiesItemsEntityType": {
      "type": "string",
      "enum": [
        "collection",
        "workspace"
      ],
      "description": "The type of Postman element.",
      "title": "GetTaggedEntitiesDataEntitiesItemsEntityType"
    },
    "GetTaggedEntitiesMeta": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "description": "The number of tagged elements returned in the response."
        },
        "nextCursor": {
          "type": "string",
          "format": "base64",
          "description": "The pagination cursor that points to the next record in the results set."
        }
      },
      "required": [
        "count"
      ],
      "description": "The response's pagination information.",
      "title": "GetTaggedEntitiesMeta"
    }
  }
}