{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "description": "Secure, scalable REST APIs for the Tenovos Content Intelligence Platform — enabling content discovery, metadata management, AI enrichment, governance, and distribution across enterprise systems.",
    "title": "Tenovos Content Intelligence Platform"
  },
  "servers": [
    {
      "description": "Default Server",
      "url": "https://api.tenovos.net"
    }
  ],
  "components": {
    "schemas": {
      "google_protobuf_NullValue": {},
      "tenovos_document_Document_Create_Request": {
        "type": "object",
        "properties": {
          "documents": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document_Create"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Create": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "doc": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "google_protobuf_Value": {
        "type": "object",
        "properties": {
          "nullValue": {
            "type": "integer",
            "enum": [
              0
            ]
          },
          "numberValue": {
            "type": "number",
            "format": "double"
          },
          "stringValue": {
            "type": "string",
            "description": "Rule data fields"
          },
          "boolValue": {
            "type": "boolean"
          },
          "structValue": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "listValue": {
            "$ref": "#/components/schemas/google_protobuf_ListValue"
          }
        }
      },
      "google_protobuf_Struct": {
        "type": "object",
        "properties": {
          "fields": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "google_protobuf_ListValue": {
        "type": "object",
        "properties": {
          "values": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/google_protobuf_NullValue"
                },
                {
                  "type": "number",
                  "format": "double"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/components/schemas/google_protobuf_Struct"
                },
                {
                  "$ref": "#/components/schemas/google_protobuf_ListValue"
                }
              ]
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Create_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "existingIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Retrieve_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "fetches": {
            "type": "string",
            "description": "Rule data fields"
          },
          "includeDeleted": {
            "type": "boolean"
          },
          "externalIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Retrieve_Response": {
        "type": "object",
        "properties": {
          "documents": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "kind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "doc": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "deletedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "google_protobuf_Timestamp": {
        "type": "object",
        "properties": {
          "seconds": {
            "type": "integer",
            "format": "int64"
          },
          "nanos": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_document_Document_List_Request": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "fetches": {
            "type": "string",
            "description": "Rule data fields"
          },
          "includeDeleted": {
            "type": "boolean"
          },
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          }
        }
      },
      "tenovos_document_Pagination": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "maxSize": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_document_Document_List_Response": {
        "type": "object",
        "properties": {
          "documents": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_Link_Request": {
        "type": "object",
        "properties": {
          "sourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "destIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "propertyPath": {
            "type": "string",
            "description": "Rule data fields"
          },
          "destProperties": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document_DestProperties"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_DestProperties": {
        "type": "object",
        "properties": {
          "destId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "weight": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "tenovos_document_Document_Link_Response": {
        "type": "object",
        "properties": {
          "destIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Unlink_Request": {
        "type": "object",
        "properties": {
          "sourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "destIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "propertyPath": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_Unlink_Response": {
        "type": "object",
        "properties": {
          "destIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_LinkRetrieve_Request": {
        "type": "object",
        "properties": {
          "sourceIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_LinkRetrieve_Response": {
        "type": "object",
        "properties": {
          "docLinks": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document_LinkRetrieve_Links"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_LinkRetrieve_Links": {
        "type": "object",
        "properties": {
          "sourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "links": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document_LinkRetrieve_Link"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_LinkRetrieve_Link": {
        "type": "object",
        "properties": {
          "destId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "propertyPath": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_Query_Request": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Rule data fields"
          },
          "verbose": {
            "type": "boolean"
          }
        }
      },
      "tenovos_document_Document_Query_Response": {
        "type": "object",
        "properties": {
          "documents": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "info": {
            "$ref": "#/components/schemas/tenovos_document_Document_Query_QueryInfo"
          }
        }
      },
      "tenovos_document_Document_Query_QueryInfo": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Rule data fields"
          },
          "timings": {
            "$ref": "#/components/schemas/tenovos_document_Document_Query_QueryTimings"
          }
        }
      },
      "tenovos_document_Document_Query_QueryTimings": {
        "type": "object",
        "properties": {
          "match": {
            "type": "number",
            "format": "double"
          },
          "filter": {
            "type": "number",
            "format": "double"
          },
          "projection": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "tenovos_document_Document_QueryWithin_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "keywords": {
            "type": "string",
            "description": "Rule data fields"
          },
          "minScore": {
            "type": "number",
            "format": "float"
          }
        }
      },
      "tenovos_document_Document_QueryWithin_Response": {
        "type": "object",
        "properties": {
          "series": {
            "$ref": "#/components/schemas/tenovos_document_Document_QueryWithin_Series"
          }
        }
      },
      "tenovos_document_Document_QueryWithin_Series": {
        "type": "object",
        "properties": {
          "points": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Document_QueryWithin_Series_Point"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_QueryWithin_Series_Point": {
        "type": "object",
        "properties": {
          "score": {
            "type": "number",
            "format": "float"
          },
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "timecode": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_Update_Request": {
        "type": "object",
        "properties": {
          "updates": {
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "$ref": "#/components/schemas/tenovos_document_Document_UpdateDocument_Patch"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                }
              ]
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_UpdateDocument": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "patches": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/tenovos_document_Document_UpdateDocument_Add"
                },
                {
                  "$ref": "#/components/schemas/tenovos_document_Document_UpdateDocument_Remove"
                },
                {
                  "$ref": "#/components/schemas/tenovos_document_Document_UpdateDocument_Replace"
                }
              ]
            },
            "type": "array"
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_UpdateDocument_Patch": {
        "type": "object",
        "properties": {
          "add": {
            "$ref": "#/components/schemas/tenovos_document_Document_UpdateDocument_Add"
          },
          "remove": {
            "$ref": "#/components/schemas/tenovos_document_Document_UpdateDocument_Remove"
          },
          "replace": {
            "$ref": "#/components/schemas/tenovos_document_Document_UpdateDocument_Replace"
          }
        }
      },
      "tenovos_document_Document_UpdateDocument_Add": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "description": "Rule data fields"
          },
          "value": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_document_Document_UpdateDocument_Remove": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_UpdateDocument_Replace": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "description": "Rule data fields"
          },
          "staticValue": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          },
          "expressionValue": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_Update_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Delete_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "externalIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Delete_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Undelete_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "externalIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Undelete_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Purge_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "externalIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Purge_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Document_Reindex_Request": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Document_Reindex_Response": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Kind_Retrieve_Request": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind_Retrieve_Response": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "traits": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_TraitDefinition"
            },
            "type": "array"
          },
          "schemaId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_document_Kind_TraitDefinition": {
        "type": "object",
        "properties": {
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          },
          "subType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          },
          "fetches": {
            "type": "string",
            "description": "Rule data fields"
          },
          "source": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Kind_List_Request": {
        "type": "object",
        "properties": {
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          }
        }
      },
      "tenovos_document_Kind_List_Response": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_KindSummary"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Kind_KindSummary": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "schemaId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_document_Kind_Create_Request": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_Create"
            },
            "type": "array"
          },
          "groupId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Kind_Create": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "traits": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_TraitDefinition"
            },
            "type": "array"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "schema": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Object"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_Object": {
        "type": "object",
        "properties": {
          "fields": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Object_Property"
            },
            "type": "array"
          },
          "required": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_Object_Property": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Rule data fields"
          },
          "field": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "integer": {
            "oneOf": [
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "number": {
            "oneOf": [
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "number",
                "format": "double"
              }
            ]
          },
          "string": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "bool": {
            "oneOf": [
              {
                "type": "boolean"
              }
            ]
          },
          "array": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Integer"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Number"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_String"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Bool"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Date"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "date": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "object": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Object"
          },
          "computed": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_ComputedField"
          },
          "link": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_LinkField"
          },
          "ref": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_ReferencedField"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_Integer": {
        "type": "object",
        "properties": {
          "default": {
            "type": "integer",
            "format": "int32"
          },
          "min": {
            "type": "integer",
            "format": "int32"
          },
          "max": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_Number": {
        "type": "object",
        "properties": {
          "default": {
            "type": "number",
            "format": "double"
          },
          "min": {
            "type": "number",
            "format": "double"
          },
          "max": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_String": {
        "type": "object",
        "properties": {
          "default": {
            "type": "string",
            "description": "Rule data fields"
          },
          "minLength": {
            "type": "integer",
            "format": "int32"
          },
          "maxLength": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_Bool": {
        "type": "object",
        "properties": {
          "default": {
            "type": "boolean"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_Array": {
        "type": "object",
        "properties": {
          "integer": {
            "oneOf": [
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "number": {
            "oneOf": [
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "number",
                "format": "double"
              }
            ]
          },
          "string": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "bool": {
            "oneOf": [
              {
                "type": "boolean"
              }
            ]
          },
          "date": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "minItems": {
            "type": "integer",
            "format": "int32"
          },
          "maxItems": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_Date": {
        "type": "object",
        "properties": {
          "default": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "minDate": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "maxDate": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "dateOnly": {
            "type": "boolean"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_ComputedField": {
        "type": "object",
        "properties": {
          "on": {
            "type": "string",
            "description": "Rule data fields"
          },
          "integer": {
            "oneOf": [
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "number": {
            "oneOf": [
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "number",
                "format": "double"
              }
            ]
          },
          "string": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "bool": {
            "oneOf": [
              {
                "type": "boolean"
              }
            ]
          },
          "array": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Integer"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Number"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_String"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Bool"
              },
              {
                "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Date"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "object": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Object"
          },
          "date": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "type": "boolean"
              }
            ]
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_LinkField": {
        "type": "object",
        "properties": {
          "destKind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "cardinality": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "attributes": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_LinkField_Attribute"
            },
            "type": "array"
          },
          "linkTypeId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_LinkField_Attribute": {
        "type": "object",
        "properties": {
          "type": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          },
          "value": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_DocumentSchema_Field_ReferencedField": {
        "type": "object",
        "properties": {
          "schemaId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Kind_Create_Response": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_KindSummary"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind_Update_Request": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_Update"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind_Update": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "traits": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_TraitDefinition"
            },
            "type": "array"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Kind_Update_Response": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind_Delete_Request": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind_Delete_Response": {
        "type": "object",
        "properties": {
          "kinds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind_ListDefaultGroups_Request": {
        "type": "object",
        "properties": {}
      },
      "tenovos_document_Kind_ListDefaultGroups_Response": {
        "type": "object",
        "properties": {
          "groups": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_ListDefaultGroups_Response_Group"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Kind_ListDefaultGroups_Response_Group": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_Kind_KindSummary"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Schema_Retrieve_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Schema_Retrieve_Response": {
        "type": "object",
        "properties": {
          "schemas": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_DocumentSchema"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_DocumentSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "schemaType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "catgeory": {
            "type": "string",
            "description": "Rule data fields"
          },
          "fields": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Object"
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "deletedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_document_Schema_List_Request": {
        "type": "object",
        "properties": {
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          }
        }
      },
      "tenovos_document_Schema_List_Response": {
        "type": "object",
        "properties": {
          "schemas": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_DocumentSchemaSummary"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_DocumentSchemaSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "schemaType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "category": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Schema_Create_Request": {
        "type": "object",
        "properties": {
          "schemas": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_CreateDocumentSchema"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_CreateDocumentSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "schemaType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "category": {
            "type": "string",
            "description": "Rule data fields"
          },
          "fields": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Object"
          }
        }
      },
      "tenovos_document_Schema_Create_Response": {
        "type": "object",
        "properties": {
          "schemas": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_DocumentSchemaSummary"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Schema_Update_Request": {
        "type": "object",
        "properties": {
          "schemas": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_UpdateDocumentSchema"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_UpdateDocumentSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "category": {
            "type": "string",
            "description": "Rule data fields"
          },
          "fields": {
            "$ref": "#/components/schemas/tenovos_document_DocumentSchema_Field_Object"
          }
        }
      },
      "tenovos_document_Schema_Update_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Schema_Delete_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Schema_Delete_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_Rule_List_Request": {
        "type": "object",
        "properties": {}
      },
      "tenovos_document_Rule_List_Response": {
        "type": "object",
        "properties": {
          "rules": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_RuleSummary"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_RuleSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "enabled": {
            "type": "boolean"
          },
          "priority": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_document_Rule_Retrieve_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Rule_Retrieve_Response": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/tenovos_document_Rule"
          }
        }
      },
      "tenovos_document_Rule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "enabled": {
            "type": "boolean"
          },
          "conditions": {
            "$ref": "#/components/schemas/tenovos_document_DocumentRule_Conditions"
          },
          "actions": {
            "$ref": "#/components/schemas/tenovos_document_DocumentRule_Actions"
          },
          "priority": {
            "type": "integer",
            "format": "int64"
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "validationError": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_DocumentRule_Conditions": {
        "type": "object",
        "properties": {
          "matchType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          },
          "conditions": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_DocumentRule_Conditions_Condition"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_DocumentRule_Conditions_Condition": {
        "type": "object",
        "properties": {
          "sourceType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "source": {
            "type": "string",
            "description": "Rule data fields"
          },
          "op": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5
            ]
          },
          "value": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_DocumentRule_Actions": {
        "type": "object",
        "properties": {
          "actions": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/tenovos_document_ActionType_SetLinkAction"
                },
                {
                  "$ref": "#/components/schemas/tenovos_document_ActionType_SetPropertyAction"
                },
                {
                  "$ref": "#/components/schemas/tenovos_document_ActionType_SetPolicyAction"
                }
              ]
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_ActionType": {
        "type": "object",
        "properties": {
          "setLink": {
            "$ref": "#/components/schemas/tenovos_document_ActionType_SetLinkAction"
          },
          "setProperty": {
            "$ref": "#/components/schemas/tenovos_document_ActionType_SetPropertyAction"
          },
          "setPolicy": {
            "$ref": "#/components/schemas/tenovos_document_ActionType_SetPolicyAction"
          }
        }
      },
      "tenovos_document_ActionType_SetLinkAction": {
        "type": "object",
        "properties": {
          "linkField": {
            "type": "string",
            "description": "Rule data fields"
          },
          "destDocumentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "destDocumentFilter": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_ActionType_SetPropertyAction": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "description": "Rule data fields"
          },
          "value": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_document_ActionType_SetPolicyAction": {
        "type": "object",
        "properties": {
          "principalPermissions": {
            "items": {
              "$ref": "#/components/schemas/tenovos_document_ActionType_SetPolicyAction_PrincipalPermission"
            },
            "type": "array"
          }
        }
      },
      "tenovos_document_ActionType_SetPolicyAction_PrincipalPermission": {
        "type": "object",
        "properties": {
          "principalResourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permission": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          }
        }
      },
      "tenovos_document_Rule_Create_Request": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/tenovos_document_CreateRule"
          }
        }
      },
      "tenovos_document_CreateRule": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "conditions": {
            "$ref": "#/components/schemas/tenovos_document_DocumentRule_Conditions"
          },
          "actions": {
            "$ref": "#/components/schemas/tenovos_document_DocumentRule_Actions"
          },
          "priority": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_document_Rule_Create_Response": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/tenovos_document_Rule"
          }
        }
      },
      "tenovos_document_Rule_Update_Request": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/tenovos_document_UpdateRule"
          }
        }
      },
      "tenovos_document_UpdateRule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "conditions": {
            "$ref": "#/components/schemas/tenovos_document_DocumentRule_Conditions"
          },
          "actions": {
            "$ref": "#/components/schemas/tenovos_document_DocumentRule_Actions"
          },
          "priority": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_document_Rule_Update_Response": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/tenovos_document_Rule"
          }
        }
      },
      "tenovos_document_Rule_Delete_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Rule_Delete_Response": {
        "type": "object",
        "properties": {}
      },
      "tenovos_document_Rule_Enable_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Rule_Enable_Response": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/tenovos_document_Rule"
          }
        }
      },
      "tenovos_document_Rule_Disable_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_document_Rule_Disable_Response": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "#/components/schemas/tenovos_document_Rule"
          }
        }
      },
      "tenovos_document_Rule_Test_Request": {
        "type": "object",
        "properties": {
          "ruleId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "documentKind": {
            "type": "string",
            "description": "Rule data fields"
          },
          "sampleDocument": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          },
          "previousDocument": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_document_Rule_Test_Response": {
        "type": "object",
        "properties": {
          "matched": {
            "type": "boolean"
          },
          "actions": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/tenovos_document_ActionType_SetLinkAction"
                },
                {
                  "$ref": "#/components/schemas/tenovos_document_ActionType_SetPropertyAction"
                },
                {
                  "$ref": "#/components/schemas/tenovos_document_ActionType_SetPolicyAction"
                }
              ]
            },
            "type": "array"
          },
          "error": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Register_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Register_Request_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Register_Request_Item": {
        "type": "object",
        "properties": {
          "contentUri": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "extendedProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Description"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_ExtendedDescription"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Technical"
              }
            ]
          }
        }
      },
      "tenovos_content_CreateContentProperties": {
        "type": "object",
        "properties": {
          "image": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
          },
          "video": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
          },
          "document": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
          },
          "mimeType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "filename": {
            "type": "string",
            "description": "Rule data fields"
          },
          "caption": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_ContentProperties_Image": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_content_ContentProperties_Video": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_content_ContentProperties_Document": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "pages": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_content_ExtendedProperties": {
        "type": "object",
        "properties": {
          "description": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "extendedDescription": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "technical": {
            "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Technical"
          }
        }
      },
      "tenovos_content_ExtendedProperties_Description": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_ExtendedProperties_ExtendedDescription": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_ExtendedProperties_Technical": {
        "type": "object",
        "properties": {}
      },
      "tenovos_content_Register_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Register_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Register_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Deregister_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Deregister_Request_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Deregister_Request_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Deregister_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Deregister_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Deregister_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Delete_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Delete_Request_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Delete_Request_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Delete_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Delete_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Delete_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Undelete_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Undelete_Request_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Undelete_Request_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Undelete_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Undelete_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Undelete_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Purge_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Purge_Request_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Purge_Request_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          }
        }
      },
      "tenovos_content_Purge_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Purge_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Purge_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_RetrieveUrl_Request": {
        "type": "object",
        "properties": {
          "contentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "retrieveProperties": {
            "oneOf": [
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "useShortLinks": {
            "type": "boolean"
          },
          "useDynamicLinks": {
            "type": "boolean"
          }
        }
      },
      "tenovos_content_RetrieveUrl_Request_RetrieveProperties": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "aspectRatio": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_RetrieveUrl_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_RetrieveUrl_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_RetrieveUrl_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "url": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_ContentType"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          }
        }
      },
      "tenovos_content_ContentProperties": {
        "type": "object",
        "properties": {
          "image": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
          },
          "video": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
          },
          "document": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
          },
          "mimeType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "filename": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "caption": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_RetrieveInfo_Request": {
        "type": "object",
        "properties": {
          "contentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "externalIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "contentUris": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "requestProperties": {
            "$ref": "#/components/schemas/tenovos_content_RetrieveInfo_Request_RequestProperties"
          }
        }
      },
      "tenovos_content_RetrieveInfo_Request_RequestProperties": {
        "type": "object",
        "properties": {
          "description": {
            "type": "boolean"
          },
          "extendedDescription": {
            "type": "boolean"
          },
          "technical": {
            "type": "boolean"
          }
        }
      },
      "tenovos_content_RetrieveInfo_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_RetrieveInfo_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_RetrieveInfo_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "uri": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_ContentType"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "extendedProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Description"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_ExtendedDescription"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Technical"
              }
            ]
          },
          "pendingContent": {
            "type": "boolean"
          }
        }
      },
      "tenovos_content_ListInfo_Request": {
        "type": "object",
        "properties": {
          "adapterInstanceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          },
          "filename": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Pagination": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "maxSize": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_content_ListInfo_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_ListInfo_Response_Item"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_ListInfo_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "uri": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_ContentType"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "extendedProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Description"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_ExtendedDescription"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Technical"
              }
            ]
          },
          "pendingContent": {
            "type": "boolean"
          },
          "createdAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "deletedAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_content_RetrieveUploadUrl_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "$ref": "#/components/schemas/tenovos_content_CreateContentProperties"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "$ref": "#/components/schemas/tenovos_content_ExtendedProperties"
                }
              ]
            },
            "type": "array"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          }
        }
      },
      "tenovos_content_RetrieveUploadUrl_Request_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "extendedProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Description"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_ExtendedDescription"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_ExtendedProperties_Technical"
              }
            ]
          }
        }
      },
      "tenovos_content_RetrieveUploadUrl_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_RetrieveUploadUrl_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_RetrieveUploadUrl_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "url": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Stage_Request": {
        "type": "object",
        "properties": {
          "contentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "stageProperties": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Stage_Request_StageProperties"
            },
            "type": "array"
          },
          "toRepresentationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Stage_Request_StageProperties": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "alias": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Stage_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Stage_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Stage_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_CreateAdapter_Request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "retrievalPriority": {
            "type": "integer",
            "format": "int32"
          },
          "uploadPriority": {
            "type": "integer",
            "format": "int32"
          },
          "config": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsS3"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_ChannelManager"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_Cdn"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsEfs"
              }
            ]
          }
        }
      },
      "tenovos_content_AdapterConfig": {
        "type": "object",
        "properties": {
          "awsS3": {
            "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsS3"
          },
          "channelManager": {
            "$ref": "#/components/schemas/tenovos_content_AdapterConfig_ChannelManager"
          },
          "cdn": {
            "$ref": "#/components/schemas/tenovos_content_AdapterConfig_Cdn"
          },
          "awsEfs": {
            "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsEfs"
          }
        }
      },
      "tenovos_content_AdapterConfig_AwsS3": {
        "type": "object",
        "properties": {
          "bucketName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "appName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "region": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_AdapterConfig_ChannelManager": {
        "type": "object",
        "properties": {}
      },
      "tenovos_content_AdapterConfig_Cdn": {
        "type": "object",
        "properties": {
          "apiKey": {
            "type": "string",
            "description": "Rule data fields"
          },
          "useAuthentication": {
            "type": "boolean"
          },
          "pullZoneName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pullZoneId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "aliasEnabled": {
            "type": "boolean"
          },
          "domain": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_AdapterConfig_AwsEfs": {
        "type": "object",
        "properties": {
          "appName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "region": {
            "type": "string",
            "description": "Rule data fields"
          },
          "fileSystemId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_CreateAdapter_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "retrievalPriority": {
            "type": "integer",
            "format": "int32"
          },
          "uploadPriority": {
            "type": "integer",
            "format": "int32"
          },
          "config": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsS3"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_ChannelManager"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_Cdn"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsEfs"
              }
            ]
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "deletedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_content_UpdateAdapter_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "retrievalPriority": {
            "type": "integer",
            "format": "int32"
          },
          "uploadPriority": {
            "type": "integer",
            "format": "int32"
          },
          "config": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsS3"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_ChannelManager"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_Cdn"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsEfs"
              }
            ]
          }
        }
      },
      "tenovos_content_UpdateAdapter_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "retrievalPriority": {
            "type": "integer",
            "format": "int32"
          },
          "uploadPriority": {
            "type": "integer",
            "format": "int32"
          },
          "config": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsS3"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_ChannelManager"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_Cdn"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsEfs"
              }
            ]
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "deletedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_content_RetrieveAdapter_Request": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_RetrieveAdapter_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          },
          "retrievalPriority": {
            "type": "integer",
            "format": "int32"
          },
          "uploadPriority": {
            "type": "integer",
            "format": "int32"
          },
          "config": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsS3"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_ChannelManager"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_Cdn"
              },
              {
                "$ref": "#/components/schemas/tenovos_content_AdapterConfig_AwsEfs"
              }
            ]
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "deletedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_content_ListAdapters_Request": {
        "type": "object",
        "properties": {
          "includeDeleted": {
            "type": "boolean"
          },
          "includeDefault": {
            "type": "boolean"
          }
        }
      },
      "tenovos_content_ListAdapters_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_ListAdapters_Response_Adapter"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_ListAdapters_Response_Adapter": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "adapterType": {
            "type": "integer",
            "enum": [
              0,
              2,
              3,
              5
            ]
          },
          "storageClass": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "common structs"
          }
        }
      },
      "tenovos_content_DeleteAdapter_Request": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_DeleteAdapter_Response": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_UndeleteAdapter_Request": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_UndeleteAdapter_Response": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_PurgeAdapter_Request": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_PurgeAdapter_Response": {
        "type": "object",
        "properties": {
          "adapterId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_content_Update_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Update_Request_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Update_Request_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "caption": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "extendedDescription": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "image": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
          },
          "video": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
          },
          "document": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
          }
        }
      },
      "tenovos_content_Update_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_content_Update_Response_Item"
            },
            "type": "array"
          }
        }
      },
      "tenovos_content_Update_Response_Item": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "caption": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "extendedDescription": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "image": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Image"
          },
          "video": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Video"
          },
          "document": {
            "$ref": "#/components/schemas/tenovos_content_ContentProperties_Document"
          }
        }
      },
      "tenovos_authz_HasPermission_Request": {
        "type": "object",
        "properties": {
          "permissionIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_HasPermission_Response": {
        "type": "object",
        "properties": {
          "hasPermission": {
            "type": "boolean"
          }
        }
      },
      "tenovos_authz_AssignDefaultRole_Request": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_AssignDefaultRole_Response": {
        "type": "object",
        "properties": {}
      },
      "tenovos_authz_UserGroup_Create_Request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "parentGroupId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_UserGroup_Create_Response": {
        "type": "object",
        "properties": {
          "userGroup": {
            "$ref": "#/components/schemas/tenovos_authz_UserGroup_UserGroupItem"
          }
        }
      },
      "tenovos_authz_UserGroup_UserGroupItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "parentGroupId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_UserGroup_List_Request": {
        "type": "object",
        "properties": {
          "includeDisabled": {
            "type": "boolean"
          },
          "parentGroupId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_UserGroup_List_Response": {
        "type": "object",
        "properties": {
          "userGroups": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_UserGroup_UserGroupItem"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Disable_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Disable_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Purge_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Purge_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Update_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_UserGroup_Update_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_UserGroup_AddMember_Request": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_AddMember_Response": {
        "type": "object",
        "properties": {
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_RevokeMember_Request": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_RevokeMember_Response": {
        "type": "object",
        "properties": {
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Retrieve_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Retrieve_Response": {
        "type": "object",
        "properties": {
          "userGroups": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_UserGroup_UserGroupItem"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Activate_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_UserGroup_Activate_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Create_Request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleType": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permissionIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Create_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleType": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permissionIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_List_Request": {
        "type": "object",
        "properties": {
          "includeDisabled": {
            "type": "boolean"
          },
          "roleType": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          }
        }
      },
      "tenovos_authz_Role_List_Response": {
        "type": "object",
        "properties": {
          "roles": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_Role_RoleItem"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_RoleItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleType": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permissionIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "systemRole": {
            "type": "boolean"
          }
        }
      },
      "tenovos_authz_Role_Retrieve_Request": {
        "type": "object",
        "properties": {
          "roleIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Retrieve_Response": {
        "type": "object",
        "properties": {
          "roles": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_Role_RoleItem"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Update_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permissionIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Update_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleType": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permissionIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Disable_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Disable_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Purge_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Purge_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Activate_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Role_Activate_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_User_AssignRole_Request": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_User_AssignRole_Response": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_User_Retrieve_Request": {
        "type": "object",
        "properties": {
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_User_Retrieve_Response": {
        "type": "object",
        "properties": {
          "users": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_User_User"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_User_User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "email": {
            "type": "string",
            "description": "Rule data fields"
          },
          "firstName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "lastName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "department": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "groupIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "lastLogin": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "profilePictureUrl": {
            "type": "string",
            "description": "Rule data fields"
          },
          "isEnabled": {
            "type": "boolean"
          },
          "username": {
            "type": "string",
            "description": "Rule data fields"
          },
          "isInvited": {
            "type": "boolean"
          }
        }
      },
      "tenovos_authz_User_List_Request": {
        "type": "object",
        "properties": {
          "searchQuery": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "groupId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          },
          "includeApiUsers": {
            "type": "boolean"
          }
        }
      },
      "tenovos_authz_Pagination": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "maxSize": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_authz_User_List_Response": {
        "type": "object",
        "properties": {
          "users": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_User_User"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_User_Delete_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_User_Delete_Response": {
        "type": "object",
        "properties": {}
      },
      "tenovos_authz_User_Disable_Request": {
        "type": "object",
        "properties": {
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_User_Disable_Response": {
        "type": "object",
        "properties": {
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_User_Update_Request": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "firstName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "lastName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "groupIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "username": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_User_Update_Response": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_User_CreateInvite_Request": {
        "type": "object",
        "properties": {
          "emails": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "groupIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "defaultSiteDomain": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_User_CreateInvite_Response": {
        "type": "object",
        "properties": {
          "userIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Permission_List_Request": {
        "type": "object",
        "properties": {
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_Permission_List_Response": {
        "type": "object",
        "properties": {
          "permissions": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_Permission_PermissionItem"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_Permission_PermissionItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_Permission_Create_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_Permission_Create_Response": {
        "type": "object",
        "properties": {
          "permission": {
            "$ref": "#/components/schemas/tenovos_authz_Permission_PermissionItem"
          }
        }
      },
      "tenovos_authz_AccessControl_HasAccess_Request": {
        "type": "object",
        "properties": {
          "resourceIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "permissionsIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_AccessControl_HasAccess_Response": {
        "type": "object",
        "properties": {
          "accessResult": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_AccessControl_HasAccess_AccessResult"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_AccessControl_HasAccess_AccessResult": {
        "type": "object",
        "properties": {
          "resourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permissionId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "hasAccess": {
            "type": "boolean"
          }
        }
      },
      "tenovos_authz_AccessControl_RetrieveResourceGroups_Request": {
        "type": "object",
        "properties": {}
      },
      "tenovos_authz_AccessControl_RetrieveResourceGroups_Response": {
        "type": "object",
        "properties": {
          "resourceGroupIds": {
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "type": "array"
          },
          "contextGroupsIds": {
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "type": "array"
          },
          "permissionGroupsIds": {
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_AccessControl_GrantAccess_Request": {
        "type": "object",
        "properties": {
          "entityIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "principalPermissions": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_AccessControl_GrantAccess_PrincipalPermission"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_AccessControl_GrantAccess_PrincipalPermission": {
        "type": "object",
        "properties": {
          "principalResourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "permission": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          }
        }
      },
      "tenovos_authz_AccessControl_GrantAccess_Response": {
        "type": "object",
        "properties": {
          "entityIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "principalPermissions": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_AccessControl_GrantAccess_PrincipalPermission"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_AccessControl_RevokeAccess_Request": {
        "type": "object",
        "properties": {
          "entityIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "principalResourceIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_AccessControl_RevokeAccess_Response": {
        "type": "object",
        "properties": {
          "revokeAccessResult": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_AccessControl_RevokeAccess_RevokeAccessResult"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_AccessControl_RevokeAccess_RevokeAccessResult": {
        "type": "object",
        "properties": {
          "principalResourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "entityIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_authz_ApiKey_Create_Request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "expiresAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "roleId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_ApiKey_Create_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "keyHint": {
            "type": "string",
            "description": "Rule data fields"
          },
          "expiresAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "key": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_ApiKey_List_Request": {
        "type": "object",
        "properties": {
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          },
          "includeRevoked": {
            "type": "boolean"
          },
          "includeExpired": {
            "type": "boolean"
          },
          "searchQuery": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_ApiKey_List_Response": {
        "type": "object",
        "properties": {
          "apiKeys": {
            "items": {
              "$ref": "#/components/schemas/tenovos_authz_ApiKey"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_ApiKey": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "keyHint": {
            "type": "string",
            "description": "Rule data fields"
          },
          "expiresAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "lastUsedAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "createdAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "revokedAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_authz_ApiKey_Revoke_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_authz_ApiKey_Revoke_Response": {
        "type": "object",
        "properties": {
          "apiKey": {
            "$ref": "#/components/schemas/tenovos_authz_ApiKey"
          }
        }
      },
      "tenovos_channel_ListChannelTypes_Request": {
        "type": "object",
        "properties": {
          "query": {
            "$ref": "#/components/schemas/tenovos_channel_ListChannelTypes_Query"
          },
          "pagination": {
            "$ref": "#/components/schemas/tenovos_channel_Pagination"
          }
        }
      },
      "tenovos_channel_ListChannelTypes_Query": {
        "type": "object",
        "properties": {
          "category": {
            "items": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3
              ]
            },
            "type": "array"
          },
          "enabled": {
            "type": "boolean"
          },
          "hasInstance": {
            "type": "boolean"
          }
        }
      },
      "tenovos_channel_Pagination": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "maxSize": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_channel_ListChannelTypes_Response": {
        "type": "object",
        "properties": {
          "channelTypes": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_ChannelType"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_ChannelType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "isRealtimeSync": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "category": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "groupName": {
            "type": "string",
            "description": "Rule data fields"
          },
          "logo": {
            "type": "string",
            "description": "Rule data fields"
          },
          "enabled": {
            "type": "boolean"
          },
          "auth": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "authDescription": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_channel_BasicAuthDescription"
              },
              {
                "$ref": "#/components/schemas/tenovos_channel_OAuthDescription"
              },
              {
                "$ref": "#/components/schemas/tenovos_channel_ApiKeyDescription"
              },
              {
                "$ref": "#/components/schemas/tenovos_channel_ServiceCredentialsDescription"
              }
            ]
          },
          "setupDescription": {
            "$ref": "#/components/schemas/tenovos_channel_SetupDescription"
          }
        }
      },
      "tenovos_channel_AuthDescription": {
        "type": "object",
        "properties": {
          "basic": {
            "$ref": "#/components/schemas/tenovos_channel_BasicAuthDescription"
          },
          "oauth": {
            "$ref": "#/components/schemas/tenovos_channel_OAuthDescription"
          },
          "apiKey": {
            "$ref": "#/components/schemas/tenovos_channel_ApiKeyDescription"
          },
          "serviceCredentials": {
            "$ref": "#/components/schemas/tenovos_channel_ServiceCredentialsDescription"
          }
        }
      },
      "tenovos_channel_BasicAuthDescription": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "Rule data fields"
          },
          "usernameLabel": {
            "type": "string",
            "description": "Rule data fields"
          },
          "password": {
            "type": "string",
            "description": "Rule data fields"
          },
          "passwordLabel": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_OAuthDescription": {
        "type": "object",
        "properties": {
          "oauthCode": {
            "type": "string",
            "description": "Rule data fields"
          },
          "oauthCodeLabel": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_ApiKeyDescription": {
        "type": "object",
        "properties": {
          "apiKey": {
            "type": "string",
            "description": "Rule data fields"
          },
          "apiKeyLabel": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_ServiceCredentialsDescription": {
        "type": "object",
        "properties": {
          "acceptsBytes": {
            "type": "boolean"
          },
          "acceptsBase64": {
            "type": "boolean"
          },
          "acceptsText": {
            "type": "boolean"
          },
          "mediaType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "additionalParams": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_AdditionalParam"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_AdditionalParam": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "label": {
            "type": "string",
            "description": "Rule data fields"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          }
        }
      },
      "tenovos_channel_SetupDescription": {
        "type": "object",
        "properties": {
          "params": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_SetupDescriptionParam"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_SetupDescriptionParam": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "Rule data fields"
          },
          "value": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          }
        }
      },
      "tenovos_channel_RetrieveChannelTypes_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_RetrieveChannelTypes_Response": {
        "type": "object",
        "properties": {
          "channelTypes": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_ChannelType"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_ListChannels_Request": {
        "type": "object",
        "properties": {
          "category": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "channelTypeId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pagination": {
            "$ref": "#/components/schemas/tenovos_channel_Pagination"
          },
          "includeDeleted": {
            "type": "boolean"
          }
        }
      },
      "tenovos_channel_ListChannels_Response": {
        "type": "object",
        "properties": {
          "channelInstances": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_ChannelInstance"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_ChannelInstance": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "channelTypeId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "settings": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          },
          "hasFailed": {
            "type": "boolean"
          },
          "status": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "scanState": {
            "type": "string",
            "description": "Rule data fields"
          },
          "weightage": {
            "type": "number",
            "format": "double"
          },
          "createdAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "deletedAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_channel_RetrieveChannels_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_RetrieveChannels_Response": {
        "type": "object",
        "properties": {
          "channelInstances": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_ChannelInstance"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_CreateChannel_Request": {
        "type": "object",
        "properties": {
          "channelInstance": {
            "$ref": "#/components/schemas/tenovos_channel_CreateChannel_ChannelInstanceCreate"
          },
          "authDetails": {
            "$ref": "#/components/schemas/tenovos_channel_AuthDetails"
          },
          "sourceChannelId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_CreateChannel_ChannelInstanceCreate": {
        "type": "object",
        "properties": {
          "channelTypeId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "settings": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_channel_AuthDetails": {
        "type": "object",
        "properties": {
          "auth": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "oauthCode": {
            "type": "string",
            "description": "Rule data fields"
          },
          "apiKey": {
            "type": "string",
            "description": "Rule data fields"
          },
          "basicAuth": {
            "$ref": "#/components/schemas/tenovos_channel_AuthDetails_BasicAuth"
          },
          "serviceCredentials": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          }
        }
      },
      "tenovos_channel_AuthDetails_BasicAuth": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "description": "Rule data fields"
          },
          "password": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_AuthDetails_ServiceCredentials": {
        "type": "object",
        "properties": {
          "mediaType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "base64": {
            "type": "string",
            "description": "Rule data fields"
          },
          "text": {
            "type": "string",
            "description": "Rule data fields"
          },
          "additionalParams": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_CreateChannel_Response": {
        "type": "object",
        "properties": {
          "channelInstance": {
            "$ref": "#/components/schemas/tenovos_channel_ChannelInstance"
          }
        }
      },
      "tenovos_channel_UpdateChannel_Request": {
        "type": "object",
        "properties": {
          "channelInstance": {
            "$ref": "#/components/schemas/tenovos_channel_UpdateChannel_ChannelInstanceUpdate"
          }
        }
      },
      "tenovos_channel_UpdateChannel_ChannelInstanceUpdate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "settings": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_channel_UpdateChannel_Response": {
        "type": "object",
        "properties": {
          "updated": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_channel_EnableChannel_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_EnableChannel_Response": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "tenovos_channel_DisableChannel_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_DisableChannel_Response": {
        "type": "object",
        "properties": {
          "disabled": {
            "type": "boolean"
          }
        }
      },
      "tenovos_channel_ValidateChannelConfig_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_ValidateChannelConfig_Response": {
        "type": "object",
        "properties": {
          "report": {
            "$ref": "#/components/schemas/tenovos_channel_ValidateChannelConfig_ValidationReport"
          }
        }
      },
      "tenovos_channel_ValidateChannelConfig_ValidationReport": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "errors": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_DeleteChannel_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_DeleteChannel_Response": {
        "type": "object",
        "properties": {
          "deleted": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_channel_RetrieveOauthUrl_Request": {
        "type": "object",
        "properties": {
          "channelTypeId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "customRedirectUri": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_RetrieveOauthUrl_Response": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_UpdateAuth_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "authDetails": {
            "$ref": "#/components/schemas/tenovos_channel_AuthDetails"
          }
        }
      },
      "tenovos_channel_UpdateAuth_Response": {
        "type": "object",
        "properties": {}
      },
      "tenovos_channel_RetrieveFolders_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "parentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pagination": {
            "$ref": "#/components/schemas/tenovos_channel_Pagination"
          }
        }
      },
      "tenovos_channel_RetrieveFolders_Response": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "folders": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_RetrieveFolders_Folders"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_RetrieveFolders_Folders": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "isLeaf": {
            "type": "boolean"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          }
        }
      },
      "tenovos_channel_RetrieveChannelAccount_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_RetrieveChannelAccount_Response": {
        "type": "object",
        "properties": {
          "account": {
            "$ref": "#/components/schemas/tenovos_channel_RetrieveChannelAccount_ChannelAccount"
          }
        }
      },
      "tenovos_channel_RetrieveChannelAccount_ChannelAccount": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "email": {
            "type": "string",
            "description": "Rule data fields"
          },
          "avatarUrl": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_RetrieveContent_Request": {
        "type": "object",
        "properties": {
          "query": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_RetrieveContent_ContentRetrievalQuery"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_RetrieveContent_ContentRetrievalQuery": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentUri": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_RetrieveContent_Response": {
        "type": "object",
        "properties": {
          "urls": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_RetrieveContent_ContentRetrievalResponse"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_RetrieveContent_ContentRetrievalResponse": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Rule data fields"
          },
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentUri": {
            "type": "string",
            "description": "Rule data fields"
          },
          "streamOnly": {
            "type": "boolean"
          },
          "bearer": {
            "type": "string",
            "description": "Rule data fields"
          },
          "basicAuth": {
            "$ref": "#/components/schemas/tenovos_channel_AuthDetails_BasicAuth"
          },
          "authHeaders": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_RetrieveContent_AuthHeader"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_RetrieveContent_AuthHeader": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Rule data fields"
          },
          "value": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_RetrieveContentMetadata_Request": {
        "type": "object",
        "properties": {
          "contentUri": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_RetrieveContentMetadata_Response": {
        "type": "object",
        "properties": {
          "metadata": {
            "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata"
          }
        }
      },
      "tenovos_channel_ScanContent_Metadata": {
        "type": "object",
        "properties": {
          "contentProperties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata_Image"
              },
              {
                "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata_Video"
              },
              {
                "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata_Document"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "data": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          },
          "externalId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "systemData": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_channel_ScanContent_Metadata_ContentProperties": {
        "type": "object",
        "properties": {
          "image": {
            "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata_Image"
          },
          "video": {
            "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata_Video"
          },
          "doc": {
            "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata_Document"
          },
          "filename": {
            "type": "string",
            "description": "Rule data fields"
          },
          "mimeType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "size": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_channel_ScanContent_Metadata_Image": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_channel_ScanContent_Metadata_Video": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_channel_ScanContent_Metadata_Document": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "pages": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_channel_RetrieveContentData_Request": {
        "type": "object",
        "properties": {
          "contentUri": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_RetrieveContentData_ResponseChunk": {
        "type": "object",
        "properties": {}
      },
      "tenovos_channel_ScanContent_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pagination": {
            "$ref": "#/components/schemas/tenovos_channel_Pagination"
          }
        }
      },
      "tenovos_channel_ScanContent_Response": {
        "type": "object",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_ScanContent_ScannedContent"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_ScanContent_ScannedContent": {
        "type": "object",
        "properties": {
          "uri": {
            "type": "string",
            "description": "Rule data fields"
          },
          "metadata": {
            "$ref": "#/components/schemas/tenovos_channel_ScanContent_Metadata"
          }
        }
      },
      "tenovos_channel_GetConfigDescription_Request": {
        "type": "object",
        "properties": {
          "channelTypeId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_GetConfigDescription_Response": {
        "type": "object",
        "properties": {
          "configuration": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_GetConfigDescription_Configuration"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_GetConfigDescription_Configuration": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "label": {
            "type": "string",
            "description": "Rule data fields"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "required": {
            "type": "boolean"
          },
          "multiselect": {
            "type": "boolean"
          },
          "dependsOn": {
            "$ref": "#/components/schemas/tenovos_channel_GetConfigDescription_DependsOn"
          }
        }
      },
      "tenovos_channel_GetConfigDescription_DependsOn": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_GetConfigDetails_Request": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "configId": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "parentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pagination": {
            "$ref": "#/components/schemas/tenovos_channel_Pagination"
          }
        }
      },
      "tenovos_channel_GetConfigDetails_Response": {
        "type": "object",
        "properties": {
          "values": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_GetConfigDetails_Values"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_GetConfigDetails_Values": {
        "type": "object",
        "properties": {
          "configId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "value": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_channel_ResolveWebhookPayload_Request": {
        "type": "object",
        "properties": {
          "externalSourceId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_channel_ResolveWebhookPayload_Response": {
        "type": "object",
        "properties": {
          "channelContentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_ChannelStats_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "period": {
            "$ref": "#/components/schemas/tenovos_channel_ChannelStats_Period"
          }
        }
      },
      "tenovos_channel_ChannelStats_Period": {
        "type": "object",
        "properties": {
          "from": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "to": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_channel_ChannelStats_Response": {
        "type": "object",
        "properties": {
          "stats": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_ChannelStats_Stats"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_ChannelStats_Stats": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "periodStats": {
            "$ref": "#/components/schemas/tenovos_channel_ChannelStats_PeriodStats"
          },
          "channelState": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Timestamp"
              },
              {
                "$ref": "#/components/schemas/tenovos_channel_ChannelStats_ChannelScanState"
              }
            ]
          }
        }
      },
      "tenovos_channel_ChannelStats_PeriodStats": {
        "type": "object",
        "properties": {
          "assetCreatedCount": {
            "type": "integer",
            "format": "int64"
          },
          "assetUpdatedCount": {
            "type": "integer",
            "format": "int64"
          },
          "assetDeletedCount": {
            "type": "integer",
            "format": "int64"
          },
          "errorCount": {
            "type": "integer",
            "format": "int32"
          },
          "topRecentErrors": {
            "items": {
              "$ref": "#/components/schemas/tenovos_channel_ChannelStats_Error"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_ChannelStats_Error": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "createdTimestamp": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_channel_ChannelStats_ChannelState": {
        "type": "object",
        "properties": {
          "lastSyncTimestamp": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "nextScheduledScanTimestamp": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "scanState": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          }
        }
      },
      "tenovos_channel_PurgeChannels_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_channel_PurgeChannels_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Create_Request": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_Create_FlowCreate"
            },
            "type": "array"
          },
          "groupId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_action_Flow_Create_FlowCreate": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "taskTree": {
            "$ref": "#/components/schemas/tenovos_action_Flow_Create_FlowTaskCreate"
          }
        }
      },
      "tenovos_action_Flow_Create_FlowTaskCreate": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "actionId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "reference": {
            "type": "string",
            "description": "Rule data fields"
          },
          "conditions": {
            "type": "string",
            "description": "Rule data fields"
          },
          "mappings": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "children": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_Create_FlowTaskCreate"
            },
            "type": "array"
          },
          "configuration": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "references": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_Create_FlowTaskCreate"
            },
            "type": "array"
          },
          "referenceId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_action_Flow_Create_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "status": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          },
          "taskTree": {
            "$ref": "#/components/schemas/tenovos_action_Flow_FlowTask"
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_action_Flow_FlowTask": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "actionId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "reference": {
            "type": "string",
            "description": "Rule data fields"
          },
          "conditions": {
            "type": "string",
            "description": "Rule data fields"
          },
          "mappings": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "children": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_FlowTask"
            },
            "type": "array"
          },
          "configuration": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "references": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_FlowTask"
            },
            "type": "array"
          },
          "referenceId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_action_Flow_Retrieve_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Retrieve_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_List_Request": {
        "type": "object",
        "properties": {
          "includeDisabled": {
            "type": "boolean"
          },
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          }
        }
      },
      "tenovos_action_Pagination": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "maxSize": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_action_Flow_List_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_FlowSummary"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_action_Flow_FlowSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "status": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_action_Flow_Update_Request": {
        "type": "object",
        "properties": {
          "updates": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_Update_FlowUpdate"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Update_FlowUpdate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "taskTree": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/tenovos_action_Flow_Update_FlowTaskUpdate"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/tenovos_action_Flow_Update_FlowTaskUpdate"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          }
        }
      },
      "tenovos_action_Flow_Update_FlowTaskUpdate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "actionId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "reference": {
            "type": "string",
            "description": "Rule data fields"
          },
          "conditions": {
            "type": "string",
            "description": "Rule data fields"
          },
          "mappings": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "children": {
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "$ref": "#/components/schemas/google_protobuf_Struct"
                },
                {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Update_FlowTaskUpdate"
                },
                {
                  "$ref": "#/components/schemas/google_protobuf_Struct"
                },
                {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Update_FlowTaskUpdate"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                }
              ]
            },
            "type": "array"
          },
          "configuration": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "references": {
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "$ref": "#/components/schemas/google_protobuf_Struct"
                },
                {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Update_FlowTaskUpdate"
                },
                {
                  "$ref": "#/components/schemas/google_protobuf_Struct"
                },
                {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Update_FlowTaskUpdate"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                }
              ]
            },
            "type": "array"
          },
          "referenceId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_action_Flow_Update_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Purge_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Purge_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Enable_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Enable_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Disable_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_Disable_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_ListDefaultGroups_Request": {
        "type": "object",
        "properties": {}
      },
      "tenovos_action_Flow_ListDefaultGroups_Response": {
        "type": "object",
        "properties": {
          "groups": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_ListDefaultGroups_Response_Group"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Flow_ListDefaultGroups_Response_Group": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "flows": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Flow_FlowSummary"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Action_List_Request": {
        "type": "object",
        "properties": {
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          },
          "inputEntities": {
            "items": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3,
                4,
                5,
                6
              ]
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Action_List_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Action_ActionSummary"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Action_ActionSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "group": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          },
          "inputEntities": {
            "items": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3,
                4,
                5,
                6
              ]
            },
            "type": "array"
          },
          "outputEntities": {
            "items": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3,
                4,
                5,
                6
              ]
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Action_Retrieve_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Action_Retrieve_Response": {
        "type": "object",
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Action"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Action": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "group": {
            "type": "string",
            "description": "Rule data fields"
          },
          "description": {
            "type": "string",
            "description": "Rule data fields"
          },
          "type": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          },
          "inputSchema": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "outputSchema": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          },
          "inputEntities": {
            "items": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3,
                4,
                5,
                6
              ]
            },
            "type": "array"
          },
          "outputEntities": {
            "items": {
              "type": "integer",
              "enum": [
                0,
                1,
                2,
                3,
                4,
                5,
                6
              ]
            },
            "type": "array"
          },
          "configurationSchema": {
            "$ref": "#/components/schemas/google_protobuf_Struct"
          }
        }
      },
      "tenovos_action_Job_List_Request": {
        "type": "object",
        "properties": {
          "jobStatus": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          "flowId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "pagination": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int64"
              }
            ]
          },
          "searchQuery": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_action_Job_List_Response": {
        "type": "object",
        "properties": {
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Job"
            },
            "type": "array"
          },
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_action_Job": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "flowId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "jobStatus": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "currentTaskId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "auditTrail": {
            "$ref": "#/components/schemas/tenovos_action_Job_Audit"
          },
          "startedBy": {
            "type": "string",
            "description": "Rule data fields"
          },
          "startedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "updatedDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "eventDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "payload": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/google_protobuf_NullValue"
              },
              {
                "type": "number",
                "format": "double"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_Struct"
              },
              {
                "$ref": "#/components/schemas/google_protobuf_ListValue"
              }
            ]
          }
        }
      },
      "tenovos_action_Job_Audit": {
        "type": "object",
        "properties": {
          "trail": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Job_Audit_Trail"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Job_Audit_Trail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "taskId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "message": {
            "type": "string",
            "description": "Rule data fields"
          },
          "details": {
            "type": "string",
            "description": "Rule data fields"
          },
          "status": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          "createdDt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_action_Job_Retrieve_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Job_Retrieve_Response": {
        "type": "object",
        "properties": {
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/tenovos_action_Job"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Job_Restart_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Job_Restart_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Job_Cancel_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_action_Job_Cancel_Response": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_sharing_ShareAuth_GenerateOtp_Request": {
        "type": "object",
        "properties": {
          "shareAccessId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "expiresInSeconds": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_sharing_ShareAuth_GenerateOtp_Response": {
        "type": "object",
        "properties": {}
      },
      "tenovos_sharing_ShareAuth_ExchangeOtp_Request": {
        "type": "object",
        "properties": {
          "shareAccessId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "otp": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_sharing_ShareAuth_ExchangeOtp_Response": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string",
            "description": "Rule data fields"
          },
          "expiresIn": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_sharing_Share_Create_Request": {
        "type": "object",
        "properties": {
          "users": {
            "items": {
              "$ref": "#/components/schemas/tenovos_sharing_Share_User"
            },
            "type": "array"
          },
          "documentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "expiryTime": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "siteId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_sharing_Share_User": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "Rule data fields"
          },
          "accessLevel": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          }
        }
      },
      "tenovos_sharing_Share_Create_Response": {
        "type": "object",
        "properties": {
          "shareItem": {
            "$ref": "#/components/schemas/tenovos_sharing_Share_ShareItem"
          }
        }
      },
      "tenovos_sharing_Share_ShareItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "users": {
            "items": {
              "$ref": "#/components/schemas/tenovos_sharing_Share_User"
            },
            "type": "array"
          },
          "expiryTime": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "documentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "siteId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "createdAt": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "status": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          }
        }
      },
      "tenovos_sharing_Share_Update_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "documentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "expiryTime": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          }
        }
      },
      "tenovos_sharing_Share_Update_Response": {
        "type": "object",
        "properties": {
          "shareItem": {
            "$ref": "#/components/schemas/tenovos_sharing_Share_ShareItem"
          }
        }
      },
      "tenovos_sharing_Share_Retrieve_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_sharing_Share_Retrieve_Response": {
        "type": "object",
        "properties": {
          "shareItem": {
            "$ref": "#/components/schemas/tenovos_sharing_Share_ShareItem"
          }
        }
      },
      "tenovos_sharing_Share_List_Request": {
        "type": "object",
        "properties": {
          "includeRevoked": {
            "type": "boolean"
          },
          "pagination": {
            "$ref": "#/components/schemas/tenovos_sharing_Pagination"
          }
        }
      },
      "tenovos_sharing_Pagination": {
        "type": "object",
        "properties": {
          "pageCursor": {
            "type": "string",
            "description": "Rule data fields"
          },
          "maxSize": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_sharing_Share_List_Response": {
        "type": "object",
        "properties": {
          "shareItems": {
            "items": {
              "$ref": "#/components/schemas/tenovos_sharing_Share_ShareItem"
            },
            "type": "array"
          },
          "nextPageCursor": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_sharing_Share_UpdateAccess_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "emails": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "accessLevel": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          }
        }
      },
      "tenovos_sharing_Share_UpdateAccess_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "users": {
            "items": {
              "$ref": "#/components/schemas/tenovos_sharing_Share_User"
            },
            "type": "array"
          }
        }
      },
      "tenovos_sharing_Share_Revoke_Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_sharing_Share_Revoke_Response": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_sharing_ShareRetrieval_RetrieveSharedDocuments_Request": {
        "type": "object",
        "properties": {}
      },
      "tenovos_sharing_ShareRetrieval_RetrieveSharedDocuments_Response": {
        "type": "object",
        "properties": {
          "documents": {
            "items": {
              "$ref": "#/components/schemas/tenovos_sharing_ShareRetrieval_RetrieveSharedDocuments_ShareDocument"
            },
            "type": "array"
          },
          "expiryTime": {
            "$ref": "#/components/schemas/google_protobuf_Timestamp"
          },
          "accessLevel": {
            "type": "integer",
            "enum": [
              0,
              1
            ]
          }
        }
      },
      "tenovos_sharing_ShareRetrieval_RetrieveSharedDocuments_ShareDocument": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "document": {
            "$ref": "#/components/schemas/tenovos_document_Document"
          }
        }
      },
      "tenovos_sharing_ShareRetrieval_RetrieveContent_Request": {
        "type": "object",
        "properties": {
          "contentIds": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_sharing_ShareRetrieval_RetrieveContent_Response": {
        "type": "object",
        "properties": {
          "content": {
            "$ref": "#/components/schemas/tenovos_content_RetrieveUrl_Response"
          }
        }
      },
      "tenovos_sharing_ShareRetrieval_RetrieveBrandingContent_Request": {
        "type": "object",
        "properties": {}
      },
      "tenovos_sharing_ShareRetrieval_RetrieveBrandingContent_Response": {
        "type": "object",
        "properties": {
          "content": {
            "$ref": "#/components/schemas/tenovos_content_RetrieveUrl_Response"
          }
        }
      },
      "tenovos_transform_Submit_Request": {
        "type": "object",
        "properties": {
          "jobs": {
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "$ref": "#/components/schemas/tenovos_transform_Task"
                },
                {
                  "$ref": "#/components/schemas/tenovos_transform_Notification"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                }
              ]
            },
            "type": "array"
          }
        }
      },
      "tenovos_transform_Job": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Rule data fields"
          },
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "name": {
            "type": "string",
            "description": "Rule data fields"
          },
          "tasks": {
            "items": {
              "oneOf": [
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "type": "string",
                  "description": "Rule data fields"
                },
                {
                  "$ref": "#/components/schemas/tenovos_transform_Delivery"
                },
                {
                  "$ref": "#/components/schemas/tenovos_transform_ImageTransform"
                },
                {
                  "$ref": "#/components/schemas/tenovos_transform_VideoTranscoding"
                },
                {
                  "$ref": "#/components/schemas/tenovos_transform_DocumentTransform"
                }
              ]
            },
            "type": "array"
          },
          "notification": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_transform_Notification_Webhook"
              }
            ]
          },
          "correlationId": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_transform_Task": {
        "type": "object",
        "properties": {
          "inputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          },
          "outputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          },
          "delivery": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_transform_Delivery_S3Delivery"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_Delivery_ContentServiceDelivery"
              }
            ]
          },
          "image": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_transform_ImageTransform_Format"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_ImageTransform_Scale"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_ImageTransform_Color"
              }
            ]
          },
          "video": {
            "$ref": "#/components/schemas/tenovos_transform_VideoTranscoding"
          },
          "document": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_transform_DocumentTransform_Poster"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_DocumentTransform_TextExtract"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_DocumentTransform_QualityLevel"
              }
            ]
          }
        }
      },
      "tenovos_transform_Delivery": {
        "type": "object",
        "properties": {
          "s3Delivery": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "integer",
                "format": "int32"
              }
            ]
          },
          "contentDelivery": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              },
              {
                "type": "boolean"
              }
            ]
          }
        }
      },
      "tenovos_transform_Delivery_S3Delivery": {
        "type": "object",
        "properties": {
          "region": {
            "type": "string",
            "description": "Rule data fields"
          },
          "bucket": {
            "type": "string",
            "description": "Rule data fields"
          },
          "keyPrefix": {
            "type": "string",
            "description": "Rule data fields"
          },
          "urlTtlMins": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_transform_Delivery_ContentServiceDelivery": {
        "type": "object",
        "properties": {
          "contentId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "representationType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "onlyUpdateProperties": {
            "type": "boolean"
          },
          "stageToCdn": {
            "type": "boolean"
          }
        }
      },
      "tenovos_transform_ImageTransform": {
        "type": "object",
        "properties": {
          "format": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "scale": {
            "$ref": "#/components/schemas/tenovos_transform_ImageTransform_Scale"
          },
          "color": {
            "$ref": "#/components/schemas/tenovos_transform_ImageTransform_Color"
          }
        }
      },
      "tenovos_transform_ImageTransform_Scale": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "scaleType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          }
        }
      },
      "tenovos_transform_ImageTransform_Color": {
        "type": "object",
        "properties": {
          "colourSpace": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "profile": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_transform_VideoTranscoding": {
        "type": "object",
        "properties": {
          "format": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ]
          },
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "poster": {
            "$ref": "#/components/schemas/tenovos_transform_VideoTranscoding_Poster"
          },
          "fps": {
            "type": "number",
            "format": "float"
          },
          "videoBitrateKbps": {
            "type": "integer",
            "format": "int32"
          },
          "videoCodec": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17,
              18,
              19
            ]
          },
          "audioBitrateKbps": {
            "type": "integer",
            "format": "int32"
          },
          "audioCodec": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11
            ]
          },
          "quality": {
            "type": "integer",
            "format": "int32"
          },
          "channels": {
            "type": "integer",
            "enum": [
              0,
              1,
              2
            ]
          },
          "pixFmt": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "vprofile": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          "sampleRate": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5
            ]
          },
          "transcription": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "keyframeMontage": {
            "oneOf": [
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_ImageTransform_Format"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_VideoTranscoding_KeyframeMontage_TimelineMetadata"
              },
              {
                "type": "number",
                "format": "float"
              }
            ]
          }
        }
      },
      "tenovos_transform_VideoTranscoding_Poster": {
        "type": "object",
        "properties": {
          "format": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "outputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_transform_VideoTranscoding_Transcription": {
        "type": "object",
        "properties": {
          "outputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          },
          "language": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_transform_VideoTranscoding_KeyframeMontage": {
        "type": "object",
        "properties": {
          "tileWidth": {
            "type": "integer",
            "format": "int32"
          },
          "tileHeight": {
            "type": "integer",
            "format": "int32"
          },
          "format": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "outputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          },
          "timelineMetadata": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              },
              {
                "type": "boolean"
              }
            ]
          },
          "sensitivity": {
            "type": "number",
            "format": "float"
          }
        }
      },
      "tenovos_transform_VideoTranscoding_KeyframeMontage_TimelineMetadata": {
        "type": "object",
        "properties": {
          "outputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          },
          "useLabelAsName": {
            "type": "boolean"
          }
        }
      },
      "tenovos_transform_DocumentTransform": {
        "type": "object",
        "properties": {
          "poster": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_transform_ImageTransform_Format"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "textExtract": {
            "oneOf": [
              {
                "type": "string",
                "description": "Rule data fields"
              }
            ]
          },
          "quality": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          }
        }
      },
      "tenovos_transform_DocumentTransform_Poster": {
        "type": "object",
        "properties": {
          "format": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ]
          },
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "outputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_transform_DocumentTransform_TextExtract": {
        "type": "object",
        "properties": {
          "outputContentLabel": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_transform_Notification": {
        "type": "object",
        "properties": {
          "webhook": {
            "$ref": "#/components/schemas/tenovos_transform_Notification_Webhook"
          }
        }
      },
      "tenovos_transform_Notification_Webhook": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Rule data fields"
          }
        }
      },
      "tenovos_transform_Submit_Response": {
        "type": "object",
        "properties": {
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/tenovos_transform_JobStatusResponse"
            },
            "type": "array"
          }
        }
      },
      "tenovos_transform_JobStatusResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "status": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          "message": {
            "type": "string",
            "description": "Rule data fields"
          },
          "correlationId": {
            "type": "string",
            "description": "Rule data fields"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/tenovos_transform_Content"
            },
            "type": "array"
          }
        }
      },
      "tenovos_transform_Content": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rule data fields"
          },
          "filename": {
            "type": "string",
            "description": "Rule data fields"
          },
          "url": {
            "type": "string",
            "description": "Rule data fields"
          },
          "mimeType": {
            "type": "string",
            "description": "Rule data fields"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "properties": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/tenovos_transform_ContentProperties_Image"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_ContentProperties_Video"
              },
              {
                "$ref": "#/components/schemas/tenovos_transform_ContentProperties_Document"
              }
            ]
          }
        }
      },
      "tenovos_transform_ContentProperties": {
        "type": "object",
        "properties": {
          "image": {
            "$ref": "#/components/schemas/tenovos_transform_ContentProperties_Image"
          },
          "video": {
            "$ref": "#/components/schemas/tenovos_transform_ContentProperties_Video"
          },
          "doc": {
            "$ref": "#/components/schemas/tenovos_transform_ContentProperties_Document"
          }
        }
      },
      "tenovos_transform_ContentProperties_Image": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_transform_ContentProperties_Video": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "durationMs": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "tenovos_transform_ContentProperties_Document": {
        "type": "object",
        "properties": {
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "pages": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "tenovos_transform_Status_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_transform_Status_Response": {
        "type": "object",
        "properties": {
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/tenovos_transform_JobStatusResponse"
            },
            "type": "array"
          }
        }
      },
      "tenovos_transform_Cancel_Request": {
        "type": "object",
        "properties": {
          "ids": {
            "items": {
              "type": "string",
              "description": "Rule data fields"
            },
            "type": "array"
          }
        }
      },
      "tenovos_transform_Cancel_Response": {
        "type": "object",
        "properties": {}
      },
      "tenovos_transform_ImageTransform_Format": {
        "type": "object",
        "description": "Image output format configuration.",
        "properties": {
          "format": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ],
            "description": "Image format type. 0: UNSPECIFIED, 1: JPEG, 2: PNG, 3: WEBP"
          }
        }
      },
      "tenovos_transform_DocumentTransform_QualityLevel": {
        "type": "object",
        "description": "Document transform quality level configuration.",
        "properties": {
          "qualityLevel": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ],
            "description": "Quality level for document transformation. 0: UNSPECIFIED, 1: LOW, 2: MEDIUM, 3: HIGH"
          }
        }
      },
      "tenovos_content_ContentProperties_ContentType": {
        "type": "object",
        "description": "Content type classification.",
        "properties": {
          "contentType": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3
            ],
            "description": "Content type identifier. 0: UNSPECIFIED, 1: IMAGE, 2: VIDEO, 3: DOCUMENT"
          }
        }
      },
      "tenovos_channel_ChannelStats_ChannelScanState": {
        "type": "object",
        "description": "Channel scan state information.",
        "properties": {
          "scanState": {
            "type": "integer",
            "enum": [
              0,
              1,
              2,
              3,
              4
            ],
            "description": "Current scan state of the channel. 0: UNSPECIFIED, 1: IDLE, 2: SCANNING, 3: COMPLETED, 4: FAILED"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "API Key authentication using Bearer token"
      }
    }
  },
  "paths": {
    "/api/v1/document/create": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Create",
        "description": "Creates one or more documents of a given kind, returning the IDs of newly created documents and any pre-existing duplicates.\n\nRequest:\ndocuments     - List of documents to create. Each entry includes:\nkind        - The Kind name this document belongs to.\ndoc         - The document body as an arbitrary JSON value.\nexternalId - Optional identifier from an external system for deduplication and cross-reference.\n\nResponse:\nids            - IDs of the newly created documents.\nexistingIds   - IDs of pre-existing documents that matched by externalId (not re-created).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Create_Request"
              },
              "example": {
                "documents": [
                  {
                    "kind": "media",
                    "externalId": "box_file_123456789",
                    "doc": {
                      "name": "Q3 Campaign Hero Image",
                      "description": "Primary hero image for the Q3 product launch campaign",
                      "status": "approved",
                      "tags": [
                        "campaign",
                        "hero",
                        "Q3"
                      ],
                      "region": "north-america"
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create documents"
      }
    },
    "/api/v1/document/retrieve": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Retrieve",
        "description": "Retrieves one or more documents by internal ID or external ID, with optional field projection and soft-delete inclusion.\n\nRequest:\nids               - List of internal document IDs to retrieve.\nexternalIds      - List of external IDs to retrieve documents by.\nfetches           - Optional field projection expression limiting which document fields are returned.\nincludeDeleted   - When true, includes soft-deleted documents in the results.\n\nResponse:\ndocuments   - List of Document objects (id, kind, doc body, timestamps).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "doc_01hbgk5cqef94v60bqg6qfv581",
                  "doc_01hbgk5cqef94v60bqg6qfv582"
                ],
                "fetches": "$summary, $content, /tags"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get documents"
      }
    },
    "/api/v1/document/list": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.List",
        "description": "Lists documents filtered by one or more kind names, with optional field projection and cursor-based pagination.\n\nRequest:\nkinds             - List of Kind names to filter by.\nfetches           - Optional field projection expression limiting which document fields are returned.\nincludeDeleted   - When true, includes soft-deleted documents in the results.\npagination        - Optional Pagination cursor and page size.\n\nResponse:\ndocuments     - List of Document objects matching the filter.\npageCursor   - Opaque cursor for the next page. Absent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_List_Request"
              },
              "example": {
                "kinds": [
                  "media",
                  "campaign"
                ],
                "fetches": "$summary, /status",
                "includeDeleted": false,
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "List documents"
      }
    },
    "/api/v1/document/link": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Link",
        "description": "Creates directional links from a source document to one or more destination documents at a specified property path.\n\nRequest:\nsourceId         - ID of the document to link from.\ndestIds          - List of destination document IDs to link to.\npropertyPath     - The field path on the source document that represents this relationship.\ndestProperties   - Optional per-destination properties. Each entry specifies destId and an\noptional weight used for ordering or scoring the relationship.\n\nResponse:\ndestIds   - IDs of the destination documents that were successfully linked.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Link_Request"
              },
              "example": {
                "sourceId": "doc_01hbgk5cqef94v60bqg6qfv581",
                "destIds": [
                  "doc_01hbgk5cqef94v60bqg6qfv590"
                ],
                "propertyPath": "campaign"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Link_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Link documents"
      }
    },
    "/api/v1/document/unlink": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Unlink",
        "description": "Removes links from a source document to one or more destination documents at a specified property path.\n\nRequest:\nsourceId       - ID of the document to remove links from.\ndestIds        - List of destination document IDs to unlink.\npropertyPath   - The field path on the source document where the links reside.\n\nResponse:\ndestIds   - IDs of the destination documents that were successfully unlinked.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Unlink_Request"
              },
              "example": {
                "sourceId": "doc_01hbgk5cqef94v60bqg6qfv581",
                "destIds": [
                  "doc_01hbgk5cqef94v60bqg6qfv590"
                ],
                "propertyPath": "campaign"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Unlink_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Unlink documents"
      }
    },
    "/api/v1/document/retrieve-links": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.RetrieveLinks",
        "description": "Retrieves all outbound links for one or more source documents, returning destination IDs and property paths.\n\nRequest:\nsourceIds   - List of source document IDs whose links to retrieve.\n\nResponse:\ndocLinks   - List of Links objects, one per source document. Each contains the sourceId\nand a list of Link entries (destId and propertyPath) representing all\noutbound relationships.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_LinkRetrieve_Request"
              },
              "example": {
                "id": "doc_01hbgk5cqef94v60bqg6qfv581",
                "propertyPath": "campaign",
                "fetches": "$summary"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_LinkRetrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get document links"
      }
    },
    "/api/v1/document/query": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Query",
        "description": "Executes a structured query against all documents in the organization, returning matching results with full control over which fields and traits are returned, how results are filtered, and how pages are navigated.\n\n---\n\n## Query Language\n\nQueries are expressed as a single string using a structured query language with up to four clauses:\n\n```\nfetch(<fields>)[.orderBy(<path>, asc|desc)][.limit(<n>[, <cursor>])]\nfrom(<kind>[, <kind>...])\n[match('<keywords>')]\n[filter(<expression>)]\n```\n\nOnly `fetch` and `from` are required. `match` and `filter` are optional and may appear in any order after `from`.\n\n---\n\n## fetch() — Field and Trait Selection\n\nSpecifies which fields or traits to return. Multiple items are comma-separated.\n\n| Syntax | Description |\n|---|---|\n| `fetch(/)` | Return the entire root document |\n| `fetch(/field)` | Return a single top-level field |\n| `fetch(/field/subfield)` | Return a nested field |\n| `fetch($trait)` | Return a trait result at the root |\n| `fetch(/path/$trait)` | Return a trait scoped to a field path |\n| `fetch($trait$subtrait)` | Return a trait with a sub-trait qualifier |\n| `fetch($trait(key=value))` | Return a trait with attribute parameters |\n| `fetch(/f1, $summary, /path/$preview)` | Return multiple items |\n\n**Ordering** — append `.orderBy(<path>, asc|desc)` to `fetch()`:\n```\nfetch(/).orderBy(/name, asc)\nfetch($summary).orderBy(/createdAt, desc)\n```\n\n**Pagination** — append `.limit(<count>)` or `.limit(<count>, <cursor>)` to `fetch()`:\n```\nfetch(/).limit(25)\nfetch(/).limit(25, nextPageToken)\n```\nThe `cursor` value is the opaque `pageCursor` string returned in the previous response.\n\n---\n\n## from() — Document Kind Selection\n\nSpecifies one or more document kinds to query. Kind names must be lowercase letters and underscores only (3–62 characters).\n\n```\nfrom(brand)\nfrom(asset, brand, region)\n```\n\nDefault platform kinds: `media`, `brand`, `campaign`, `category`, `toolkit`, `section`, `block`. Custom kinds defined in your organization are also supported.\n\n---\n\n## match() — Full-Text Search\n\nPerforms a full-text keyword search across indexed document content. Keywords are provided as a single-quoted string. Results are ranked by relevance when `orderBy` is not specified.\n\n```\nmatch('acme global')\nmatch('Q4 campaign hero')\n```\n\n---\n\n## filter() — Field-Level Conditions\n\nApplies field-level conditions to narrow results. Expressions can be simple or compound.\n\n**Comparison operators:**\n\n| Operator | Meaning |\n|---|---|\n| `==` | Equals |\n| `!=` | Not equals |\n| `<` | Less than |\n| `<=` | Less than or equal |\n| `>` | Greater than |\n| `>=` | Greater than or equal |\n| `...` | Contains (substring match or array membership) |\n| `!..` | Does not contain |\n\n**Logical operators:** `&&` (AND), `||` (OR), `(...)` (grouping)\n\n**Literal value types:**\n\n| Type | Syntax | Examples |\n|---|---|---|\n| Null | `null` | `null` |\n| Boolean | `true` / `false` | `true` |\n| Number | integer or decimal | `42`, `3.14`, `-10` |\n| String | single-quoted | `'active'`, `'Acme Corp'` |\n\n```\nfilter(/status == 'active')\nfilter(/rating >= 4 && /region != null)\nfilter((/status == 'active' || /status == 'pending') && /owner != null)\nfilter(/tags ... 'featured')\nfilter(/$$id == 'assetAbc123')\n```\n\n**Strings in filter conditions must be single-quoted.** Supported escape sequences: `\\\\`, `\\'`, `\\n`, `\\r`, `\\t`.\n\n---\n\n## Property Paths\n\nProperty paths reference fields within a document and always begin with `/`. Nested fields are separated by `/`.\n\n| Path | Description |\n|---|---|\n| `/` | The root document |\n| `/name` | Top-level field |\n| `/metadata/createdBy` | Nested field |\n| `/tags` | Array field |\n| `/$$id` | Reserved system field (prefixed with `$$`) |\n\n**Range selectors on link properties** — link fields (relationships to other documents) support a range selector `[start..end]` to limit which linked items are returned. Both bounds are zero-based; start is inclusive, end is exclusive.\n\n| Syntax | Description |\n|---|---|\n| `/items[0..5]` | First 5 linked items |\n| `/items[3..]` | All linked items from index 3 onward |\n| `/items[..10]` | First 10 linked items |\n| `/items[2..8]` | Items at indices 2 through 7 |\n\nRanges can appear at multiple levels of a path:\n```\nfetch(/sections[0..3]/media[..10]) from(toolkit)\n```\n\n---\n\n## Traits\n\nTraits define a standard contract for a set of fields a document kind can return. They are referenced in `fetch()` using the `$` prefix.\n\n| Trait | Parameters | Returned Fields |\n|---|---|---|\n| `$summary` | — | `name`, `description` |\n| `$tile` | — | `fgColor`, `bgColor`, `iconUrl` |\n| `$children` | `limit` (optional) | `items` (array), `depth` |\n| `$content` | — | `id`, `mimeType`, `contentType`, `size`, `filename`, `description`, `caption`; plus type-specific: image (`width`, `height`), video (`width`, `height`, `durationMs`), document (`width`, `height`, `pages`) |\n| `$preview` | `w`, `h`, `representationType` | `id`, `url` |\n| `$insights` | — | Array of insight metrics (single value or timeseries) |\n| `$timeline` | — | `from`, `to` (timestamps) |\n| `$version` | — | `number`, `isLatest` |\n\nSub-traits apply a secondary trait to each item returned by the parent:\n```\nfetch($children$summary)           # fetch children, return $summary for each\nfetch($children$summary(limit=5))  # limit to 5 children\n```\n\n---\n\n## Complete Examples\n\n```\n# Fetch all fields from a single kind\nfetch(/) from(brand)\n\n# Fetch specific fields\nfetch(/name, /status, /region) from(asset)\n\n# Fetch a trait\nfetch($summary) from(brand)\n\n# Fetch multiple traits and fields\nfetch($summary, $tile, /metadata) from(brand)\n\n# Fetch a trait at a nested path\nfetch(/heroImage/$preview(w=800, h=600)) from(campaign)\n\n# Full-text search\nfetch($summary) from(asset) match('product launch 2024')\n\n# Filter by a field value\nfetch(/) from(asset) filter(/status == 'approved')\n\n# Filter with AND\nfetch($summary) from(asset) filter(/status == 'active' && /owner != null)\n\n# Filter with OR and grouping\nfetch($summary) from(asset)\nfilter((/status == 'active' || /status == 'pending') && /region != null)\n\n# Contains / not-contains\nfetch(/) from(asset) filter(/tags ... 'featured')\nfetch(/) from(brand) filter(/name !.. 'draft')\n\n# Query multiple kinds\nfetch($summary) from(brand, region, asset) filter(/status == 'active')\n\n# Order and paginate\nfetch($summary).orderBy(/name, asc).limit(20) from(brand)\n\n# Continue from a cursor\nfetch($summary).orderBy(/name, asc).limit(20, nextPageCursorToken) from(brand)\n\n# Fetch linked items with a range\nfetch(/items[0..5]) from(category)\n\n# Nested ranges\nfetch(/sections[0..3]/media[..10]) from(toolkit)\n\n# Limit children with trait attribute\nfetch($children(limit=5)) from(category)\n\n# Combined: search, filter, order, paginate\nfetch($summary, $preview(w=400, h=300)).orderBy(/name, asc).limit(10, abc123)\nfrom(asset)\nmatch('campaign hero')\nfilter(/status == 'active' && /region != null)\n```\n\n---\n\n## Request Parameters\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `query` | string | Yes | The query expression string |\n| `verbose` | boolean | No | When `true`, includes per-phase execution timing in the response (`info` field) |\n\n## Response\n\n| Field | Description |\n|---|---|\n| `documents` | List of matching document objects |\n| `pageCursor` | Opaque token to pass to the next request to retrieve the next page; absent when no further pages exist |\n| `info` | Query timing breakdown by phase (match, filter, projection) — only present when `verbose: true` |\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Query_Request"
              },
              "example": {
                "query": "fetch($summary, $content).limit(20) from(media) filter(/status == 'approved' && /region != null)",
                "verbose": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Query_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Query documents"
      }
    },
    "/api/v1/document/query-within": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.QueryWithin",
        "description": "Performs a keyword search **within the content of a specific document**, returning a relevance-scored series of matching positions. This is distinct from the `query` endpoint, which searches across documents — `query-within` searches inside a single document's indexed content.\n\nThis is most useful for long-form content where you want to locate specific passages, pages, or moments, for example:\n\n- Finding the page in a PDF where a keyword appears\n- Locating the timestamp in a video where a term is spoken\n- Searching within a large document's indexed text body\n\n## Request Parameters\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `id` | string | Yes | The ID of the document to search within |\n| `keywords` | string | Yes | The keyword or phrase to search for within the document's content |\n| `minScore` | number | No | Minimum relevance score threshold (0.0–1.0). Points scoring below this value are excluded from the response. Use to filter out low-confidence matches. |\n\n## Response\n\n| Field | Description |\n|---|---|\n| `series` | A scored series of matching positions within the document |\n\nEach point in the series contains:\n\n| Field | Type | Description |\n|---|---|---|\n| `score` | number | Relevance score for this match (higher is more relevant) |\n| `ref` | integer or string | Position reference — an integer **page index** for paginated content (PDFs, slide decks), or a **timecode string** for time-based content (video, audio) |\n\n## Example\n\nTo find all moments in a video where \"product launch\" is mentioned, with a minimum relevance score of 0.5:\n\n```json\n{\n  \"id\": \"doc01abc123\",\n  \"keywords\": \"product launch\",\n  \"minScore\": 0.5\n}\n```\n\nThe response `series` would contain entries like:\n```json\n{\n  \"series\": [\n    { \"score\": 0.92, \"ref\": \"00:01:34\" },\n    { \"score\": 0.71, \"ref\": \"00:08:12\" }\n  ]\n}\n```\n\nFor a PDF, `ref` values would be zero-based page indices (`0`, `4`, `11`, etc.).\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_QueryWithin_Request"
              },
              "example": {
                "id": "doc_01hbgk5cqef94v60bqg6qfv581",
                "keywords": "product launch",
                "minScore": 0.5
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_QueryWithin_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search within a document"
      }
    },
    "/api/v1/document/update": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Update",
        "description": "Applies an ordered sequence of field-level patch operations to one or more existing documents. Patches are applied in the order supplied; if any patch in the sequence is invalid, the entire update for that document is rejected.\n\nRequest:\nupdates   - List of documents to update. Each entry includes:\nid          - The document ID to target. Either id or externalId must be supplied.\nexternalId - The external system ID to target (alternative to id, useful when the document was created with an externalId for cross-system referencing).\npatches     - Ordered list of patch operations. Field paths use forward-slash notation matching the document's field structure (e.g. /name or /metadata/status). Each patch is one of:\nAdd(path, value)     — sets a field that does not yet exist.\nRemove(path)         — removes the field at the given path.\nReplace(path, value) — overwrites an existing field's value.\n\nResponse:\nids   - IDs of the documents that were successfully updated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Update_Request"
              },
              "example": {
                "updates": [
                  {
                    "id": "doc_01hbgk5cqef94v60bqg6qfv581",
                    "patches": [
                      {
                        "replace": {
                          "path": "/status",
                          "value": "approved"
                        }
                      },
                      {
                        "replace": {
                          "path": "/tags",
                          "value": [
                            "campaign",
                            "hero",
                            "approved"
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update documents"
      }
    },
    "/api/v1/document/delete": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Delete",
        "description": "Soft-deletes one or more documents; deleted documents remain retrievable when includeDeleted is set.\n\nRequest:\nids            - List of internal document IDs to soft-delete.\nexternalIds   - List of external IDs to soft-delete by (alternative to ids).\n\nResponse:\nids   - IDs of the documents that were successfully deleted.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Delete_Request"
              },
              "example": {
                "ids": [
                  "doc_01hbgk5cqef94v60bqg6qfv581"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Delete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete documents"
      }
    },
    "/api/v1/document/undelete": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Undelete",
        "description": "Restores one or more soft-deleted documents, making them active again.\n\nRequest:\nids            - List of internal document IDs to restore.\nexternalIds   - List of external IDs to restore by (alternative to ids).\n\nResponse:\nids   - IDs of the documents that were successfully restored.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Undelete_Request"
              },
              "example": {
                "ids": [
                  "doc_01hbgk5cqef94v60bqg6qfv581"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Undelete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Restore deleted documents"
      }
    },
    "/api/v1/document/purge": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Purge",
        "description": "Permanently and irreversibly removes one or more documents, bypassing soft-delete.\n\nRequest:\nids            - List of internal document IDs to permanently delete.\nexternalIds   - List of external IDs to permanently delete by (alternative to ids).\n\nResponse:\nids   - IDs of the documents that were successfully purged.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Purge_Request"
              },
              "example": {
                "ids": [
                  "doc_01hbgk5cqef94v60bqg6qfv581"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Purge_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Permanently remove documents"
      }
    },
    "/api/v1/document/reindex": {
      "post": {
        "tags": [
          "Document Management"
        ],
        "operationId": "tenovos.document.DocumentService.Reindex",
        "description": "Triggers reindexing of all documents matching a given query expression, returning a cursor for paginated progress.\n\nRequest:\nquery   - Query expression identifying the documents to reindex.\n\nResponse:\npageCursor   - Cursor to pass in a subsequent request to continue reindexing the next page.\nAbsent when reindexing is complete.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Document_Reindex_Request"
              },
              "example": {
                "query": "fetch(/) from(media) filter(/status == 'approved')"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Document_Reindex_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Reindex documents"
      }
    },
    "/api/v1/kind/retrieve-kind": {
      "post": {
        "tags": [
          "Document Types"
        ],
        "operationId": "tenovos.document.KindService.RetrieveKind",
        "description": "Retrieves full Kind definitions for one or more kind names, including trait definitions and schema ID.\n\nRequest:\nkinds   - List of Kind names to retrieve.\n\nResponse:\nkinds   - List of Kind objects each containing kind name, KindType, trait definitions,\nschemaId, optional description, and timestamps.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Kind_Retrieve_Request"
              },
              "example": {
                "kinds": [
                  "media",
                  "brand",
                  "campaign"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Kind_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get document types"
      }
    },
    "/api/v1/kind/list-kind": {
      "post": {
        "tags": [
          "Document Types"
        ],
        "operationId": "tenovos.document.KindService.ListKind",
        "description": "Lists all Kind definitions as lightweight summaries with optional cursor-based pagination.\n\nRequest:\npagination   - Optional Pagination cursor and page size.\n\nResponse:\nkinds         - List of KindSummary objects (kind name, type, schemaId, description, timestamps).\npageCursor   - Opaque cursor for the next page. Absent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Kind_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 50
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Kind_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search document types"
      }
    },
    "/api/v1/kind/create-kind": {
      "post": {
        "tags": [
          "Document Types"
        ],
        "operationId": "tenovos.document.KindService.CreateKind",
        "description": "Creates one or more document type definitions. Each kind establishes a category of content in your organization and declares which capabilities (traits) documents of that type support.\n\nRequest:\nkinds      - List of kind definitions to create. Each includes:\nkind        - Unique kind name (lowercase letters and underscores, 3–62 characters).\ntype        - Classifies the kind's role: ASSET (binary files and media), REFERENCE (business entities such as brands or campaigns), COLLECTION (groupings of related documents), LAYOUT (presentation structures such as pages or sections), or OTHER.\ntraits      - Capabilities this kind supports. Available traits: SUMMARY (name and description), TILE (visual card display), CONTENT (linked binary file), PREVIEW (renderable thumbnail), CHILDREN (parent-child document hierarchy), INSIGHTS (engagement analytics), TIMELINE (start and end dates), VERSION (revision tracking), and SOURCE (originating content channel).\ndescription - Optional human-readable description of the kind.\nschema      - Optional inline metadata schema to attach at creation.\ngroupId   - Optional ID to associate the new kinds with a platform-defined template group.\n\nResponse:\nkinds   - Summary of each created kind, including its assigned ID and configuration.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Kind_Create_Request"
              },
              "example": {
                "kinds": [
                  {
                    "kind": "product_asset",
                    "type": "ASSET",
                    "description": "Visual assets associated with a specific product SKU",
                    "traits": [
                      {
                        "trait": "SUMMARY"
                      },
                      {
                        "trait": "CONTENT"
                      },
                      {
                        "trait": "PREVIEW"
                      }
                    ]
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Kind_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a document type"
      }
    },
    "/api/v1/kind/update-kind": {
      "post": {
        "tags": [
          "Document Types"
        ],
        "operationId": "tenovos.document.KindService.UpdateKind",
        "description": "Updates the trait definitions and/or description for one or more existing Kinds.\n\nRequest:\nkinds      - List of update payloads. Each includes:\nkind     - Name of the Kind to update.\ntraits   - Replacement list of TraitDefinition objects.\ndescription - Optional new description.\n\nResponse:\nkinds   - List of kind names that were successfully updated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Kind_Update_Request"
              },
              "example": {
                "kind": "product_asset",
                "description": "Visual and document assets associated with a product SKU",
                "traits": [
                  {
                    "trait": "SUMMARY"
                  },
                  {
                    "trait": "CONTENT"
                  },
                  {
                    "trait": "PREVIEW"
                  },
                  {
                    "trait": "VERSION"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Kind_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a document type"
      }
    },
    "/api/v1/kind/delete-kind": {
      "post": {
        "tags": [
          "Document Types"
        ],
        "operationId": "tenovos.document.KindService.DeleteKind",
        "description": "Permanently deletes one or more Kind definitions by kind name.\n\nRequest:\nkinds   - List of Kind names to delete.\n\nResponse:\nkinds   - List of kind names that were successfully deleted.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Kind_Delete_Request"
              },
              "example": {
                "kinds": [
                  "product_asset"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Kind_Delete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete a document type"
      }
    },
    "/api/v1/kind/list-default-groups": {
      "post": {
        "tags": [
          "Document Types"
        ],
        "operationId": "tenovos.document.KindService.ListDefaultGroups",
        "description": "Returns the set of system-defined default Kind groups, each with their associated Kind summaries.\n\nRequest:\n(no parameters)\n\nResponse:\ngroups   - List of Group objects, each containing a groupId and a list of KindSummary\nobjects belonging to that group. Used to seed default kinds when onboarding\na new organization.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Kind_ListDefaultGroups_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Kind_ListDefaultGroups_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get default groups for types"
      }
    },
    "/api/v1/schema/retrieve-schema": {
      "post": {
        "tags": [
          "Document Schemas"
        ],
        "operationId": "tenovos.document.SchemaService.RetrieveSchema",
        "description": "Retrieves full document schema definitions by their IDs.\n\nRequest:\nids       - List of schema IDs to retrieve.\n\nResponse:\nschemas   - List of DocumentSchema objects with the full field definitions.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Schema_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "schema_01hbgk5cqef94v60bqg6qfv600"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Schema_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a metadata schema"
      }
    },
    "/api/v1/schema/list-schema": {
      "post": {
        "tags": [
          "Document Schemas"
        ],
        "operationId": "tenovos.document.SchemaService.ListSchema",
        "description": "Lists all document schemas as lightweight summaries with optional cursor-based pagination.\n\nRequest:\npagination   - Optional Pagination cursor and page size.\n\nResponse:\nschemas       - List of DocumentSchemaSummary objects.\npageCursor   - Opaque cursor for the next page. Absent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Schema_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Schema_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search document schemas"
      }
    },
    "/api/v1/schema/create-schema": {
      "post": {
        "tags": [
          "Document Schemas"
        ],
        "operationId": "tenovos.document.SchemaService.CreateSchema",
        "description": "Creates one or more new document schemas.\n\nRequest:\nschemas   - List of CreateDocumentSchema definitions to create.\n\nResponse:\nschemas   - List of DocumentSchemaSummary objects for the created schemas.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Schema_Create_Request"
              },
              "example": {
                "name": "Media Asset Schema",
                "description": "Standard metadata fields for brand media assets",
                "schemaType": "ROOT",
                "category": "media",
                "fields": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "draft",
                        "in_review",
                        "approved",
                        "archived"
                      ]
                    },
                    "region": {
                      "type": "string"
                    },
                    "tags": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "rightsExpiry": {
                      "type": "string",
                      "format": "date"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Schema_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a metadata schema"
      }
    },
    "/api/v1/schema/update-schema": {
      "post": {
        "tags": [
          "Document Schemas"
        ],
        "operationId": "tenovos.document.SchemaService.UpdateSchema",
        "description": "Updates one or more existing document schemas by their IDs.\n\nRequest:\nschemas   - List of UpdateDocumentSchema payloads, each identifying a schema by ID and\nproviding the replacement field definitions.\n\nResponse:\nids   - List of schema IDs that were successfully updated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Schema_Update_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Schema_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a metadata schema"
      }
    },
    "/api/v1/schema/delete-schema": {
      "post": {
        "tags": [
          "Document Schemas"
        ],
        "operationId": "tenovos.document.SchemaService.DeleteSchema",
        "description": "Permanently deletes one or more document schemas by their IDs.\n\nRequest:\nids   - List of schema IDs to permanently delete.\n\nResponse:\nids   - List of schema IDs that were successfully deleted.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Schema_Delete_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Schema_Delete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete a metadata schema"
      }
    },
    "/api/v1/rule/list-rules": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.ListRules",
        "description": "Lists all rules as lightweight summaries including name, enabled state, and priority.\n\nRequest:\n(no parameters)\n\nResponse:\nrules   - List of RuleSummary objects for all rules in the organization.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search content rules"
      }
    },
    "/api/v1/rule/retrieve-rule": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.RetrieveRule",
        "description": "Retrieves a full rule definition by ID, including its conditions, actions, and priority.\n\nRequest:\nid   - ID of the rule to retrieve.\n\nResponse:\nrule   - The full Rule object including id, name, enabled state, conditions,\nactions, priority, timestamps, and any validation error.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "rule_01hbgk5cqef94v60bqg6qfv610"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a content rule"
      }
    },
    "/api/v1/rule/create-rule": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.CreateRule",
        "description": "Creates a new rule defining conditions and actions to apply when documents change.\n\nRequest:\nrule   - A CreateRule definition specifying name, conditions (DocumentRule.Conditions),\nactions (DocumentRule.Actions), and priority.\n\nResponse:\nrule   - The full Rule object that was created.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_Create_Request"
              },
              "example": {
                "name": "Auto-approve images from approved channels",
                "priority": 10,
                "conditions": {
                  "matchType": "MATCH_ALL",
                  "conditions": [
                    {
                      "sourceType": "SOURCE_KIND",
                      "op": "OP_EQ",
                      "value": "media"
                    },
                    {
                      "sourceType": "SOURCE_DOC_VALUE",
                      "source": "/status",
                      "op": "OP_EQ",
                      "value": "pending"
                    }
                  ]
                },
                "actions": {
                  "actions": [
                    {
                      "setProperty": {
                        "path": "/status",
                        "value": "approved"
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a content rule"
      }
    },
    "/api/v1/rule/update-rule": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.UpdateRule",
        "description": "Updates an existing rule's conditions, actions, or priority.\n\nRequest:\nrule   - An UpdateRule payload identifying the rule by ID and providing the\nreplacement conditions, actions, and/or priority.\n\nResponse:\nrule   - The full Rule object reflecting the applied updates.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_Update_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a content rule"
      }
    },
    "/api/v1/rule/delete-rule": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.DeleteRule",
        "description": "Permanently deletes a rule by ID.\n\nRequest:\nid   - ID of the rule to permanently delete.\n\nResponse:\n(empty)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_Delete_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_Delete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete a content rule"
      }
    },
    "/api/v1/rule/enable-rule": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.EnableRule",
        "description": "Activates a disabled rule so it is evaluated against document changes.\n\nRequest:\nid   - ID of the rule to enable.\n\nResponse:\nrule   - The updated Rule object with enabled set to true.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_Enable_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_Enable_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Enable a content rule"
      }
    },
    "/api/v1/rule/disable-rule": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.DisableRule",
        "description": "Deactivates an active rule, preventing it from being evaluated, without deleting it.\n\nRequest:\nid   - ID of the rule to disable.\n\nResponse:\nrule   - The updated Rule object with enabled set to false.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_Disable_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_Disable_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Disable a content rule"
      }
    },
    "/api/v1/rule/test-rule": {
      "post": {
        "tags": [
          "Document Rules"
        ],
        "operationId": "tenovos.document.RuleService.TestRule",
        "description": "Tests a rule against a sample document to verify whether its conditions match and previews the resulting actions.\n\nRequest:\nruleId             - ID of the rule to test.\ndocumentKind       - Kind name of the sample document being tested against.\nsampleDocument     - Optional current state of the document as a JSON value.\npreviousDocument   - Optional previous state of the document for change-detection conditions.\n\nResponse:\nmatched   - Whether the rule's conditions matched the sample document.\nactions   - List of ActionType values that would be triggered if the rule matched.\nerror     - Optional error message if the rule could not be evaluated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_document_Rule_Test_Request"
              },
              "example": {
                "id": "rule_01hbgk5cqef94v60bqg6qfv610",
                "sampleDocument": {
                  "kind": "media",
                  "doc": {
                    "name": "Test Asset",
                    "status": "pending"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_document_Rule_Test_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Test a content rule"
      }
    },
    "/api/v1/content/register": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.Register",
        "description": "Registers one or more binary assets into the content service, creating tracking records linked to their storage location.\n\nRequest:\nitems                  - List of content items to register. Each item includes:\ncontentUri          - URI of the binary file in the storage adapter.\ncontentId           - Optional existing content ID to associate this representation with.\nAuto-generated if omitted.\ncontentProperties   - Optional media properties (dimensions, mimeType, size, filename, caption).\nexternalId          - Optional identifier from an external system for cross-reference.\nrepresentationType  - Optional label distinguishing this rendition (e.g. \"original\", \"preview\").\nextendedProperties  - Optional descriptive and technical metadata.\n\nResponse:\nitems   - List of registered items, each containing contentId, adapterId,\nrepresentationType, and externalId.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_Register_Request"
              },
              "example": {
                "items": [
                  {
                    "contentUri": "s3://my-bucket/assets/hero-image.png",
                    "externalId": "box_file_123456789",
                    "contentProperties": {
                      "mimeType": "image/png",
                      "size": 2048000,
                      "filename": "hero-image.png",
                      "image": {
                        "width": 3840,
                        "height": 2160
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_Register_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Register content"
      }
    },
    "/api/v1/content/deregister": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.Deregister",
        "description": "Permanently removes content registrations, deleting both the metadata record and the binary file from storage.\n\nRequest:\nitems                  - List of items to deregister. Each item includes:\ncontentId           - ID of the content to remove.\nadapterId           - Optional adapter to target; removes across all adapters if omitted.\nrepresentationType  - Optional representation to target; removes all representations if omitted.\n\nResponse:\nitems   - List of deregistered items confirming contentId, adapterId, and representationType.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_Deregister_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_Deregister_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Deregister content"
      }
    },
    "/api/v1/content/delete": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.Delete",
        "description": "Soft-deletes content representations, marking them as deleted while retaining data for potential recovery.\n\nRequest:\nitems                  - List of items to soft-delete. Each item includes:\ncontentId           - ID of the content to delete.\nstorageClass        - Optional storage class to target.\nadapterId           - Optional adapter to target.\nrepresentationType  - Optional representation to target.\n\nResponse:\nitems   - List of deleted items confirming contentId, adapterId, and representationType.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_Delete_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_Delete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete content"
      }
    },
    "/api/v1/content/undelete": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.Undelete",
        "description": "Recovers soft-deleted content representations, restoring them to an active state.\n\nRequest:\nitems                  - List of items to restore. Each item includes:\ncontentId           - ID of the content to recover.\nstorageClass        - Optional storage class to target.\nadapterId           - Optional adapter to target.\nrepresentationType  - Optional representation to target.\n\nResponse:\nitems   - List of restored items confirming contentId, adapterId, and representationType.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_Undelete_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_Undelete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Restore deleted content"
      }
    },
    "/api/v1/content/purge": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.Purge",
        "description": "Permanently deletes content binary files from storage and removes their representation records.\n\nRequest:\nitems                  - List of items to purge. Each item includes:\ncontentId           - ID of the content to purge.\nstorageClass        - Optional storage class to target.\nadapterId           - Optional adapter to target.\nrepresentationType  - Optional representation to target.\nadapterType         - Optional adapter type to target.\n\nResponse:\nitems   - List of purged items confirming contentId, adapterId, and representationType.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_Purge_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_Purge_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Permanently remove content"
      }
    },
    "/api/v1/content/retrieve-url": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.RetrieveUrl",
        "description": "Generates presigned time-limited download URLs for one or more content items.\n\nRequest:\ncontentIds            - List of content IDs to generate URLs for.\nrepresentationType    - Optional rendition to retrieve (e.g. \"original\", \"preview\").\nstorageClass          - Optional storage class to target.\nadapterId             - Optional specific adapter to source from.\nadapterType           - Optional adapter type to source from.\nretrieveProperties    - Optional width/height/aspectRatio hints for image resizing at the CDN.\nuseShortLinks        - When true, generates shortened URLs.\nuseDynamicLinks      - When true, generates CDN dynamic links.\n\nResponse:\nitems   - List of results, each containing the content ID, a presigned URL for direct download or streaming, and file properties including MIME type, dimensions, size, and filename.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_RetrieveUrl_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9"
                ],
                "representationType": "original",
                "useShortLinks": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_RetrieveUrl_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get content download URL"
      }
    },
    "/api/v1/content/retrieve-info": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.RetrieveInfo",
        "description": "Retrieves metadata for one or more content items without generating download URLs.\n\nRequest:\ncontentIds            - List of content IDs to look up.\nrepresentationType    - Optional rendition to retrieve.\nstorageClass          - Optional storage class to target.\nadapterId             - Optional adapter to target.\nadapterType           - Optional adapter type to target.\nexternalIds           - Optional external IDs to look up content by.\ncontentUris           - Optional raw URIs to look up content by.\nrequestProperties     - Flags controlling which optional fields to include\n(description, extendedDescription, technical).\n\nResponse:\nitems   - List of results, one per requested content item. Each entry includes the content ID, storage URI, file properties (size, MIME type, dimensions, duration), optional external ID if one was supplied at registration, and a pending flag that is true if the file upload has not yet completed.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_RetrieveInfo_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9",
                  "cntnt_01jex8743qef89y5m449ze9wqa"
                ],
                "representationType": "original"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_RetrieveInfo_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get content info"
      }
    },
    "/api/v1/content/list-info": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.ListInfo",
        "description": "Lists all content representations stored within a specific adapter instance, with pagination.\n\nRequest:\nadapterInstanceId   - ID of the adapter whose content to list.\npagination            - Optional Pagination cursor and page size.\n\nResponse:\nitems         - List of content items, each including the content ID, storage URI, file properties (MIME type, dimensions, size), optional external ID, optional extended descriptive metadata, and a pending flag that is true if the file upload has not yet completed.\npageCursor   - Opaque cursor for the next page. Absent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_ListInfo_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9"
                ],
                "representationType": "original",
                "pagination": {
                  "maxSize": 50
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_ListInfo_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search content info"
      }
    },
    "/api/v1/content/retrieve-upload-url": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.RetrieveUploadUrl",
        "description": "Generates presigned upload URLs for new or replacement content, creating pending content records.\n\nRequest:\nitems                  - List of upload requests. Each item includes:\ncontentId           - Optional existing content ID to replace; auto-generated if omitted.\ncontentProperties   - Optional media properties for the file being uploaded.\nexternalId          - Optional external system identifier.\nextendedProperties  - Optional descriptive metadata.\nrepresentationType    - Optional rendition label for the uploaded file.\nstorageClass          - Optional storage class for the upload destination.\nadapterId             - Optional specific adapter to upload to.\nadapterType           - Optional adapter type to upload to.\n\nResponse:\nitems   - List of results each containing contentId, optional externalId, and\nthe presigned upload URL. The client must PUT the file to this URL to\ncomplete the upload; content remains in a pending state until then.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_RetrieveUploadUrl_Request"
              },
              "example": {
                "items": [
                  {
                    "filename": "campaign-video.mp4",
                    "mimeType": "video/mp4"
                  }
                ],
                "representationType": "original"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_RetrieveUploadUrl_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get content upload URL"
      }
    },
    "/api/v1/content/stage": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.Stage",
        "description": "Copies content from one storage location to another, enabling distribution across adapters (e.g. primary to CDN cache).\n\nRequest:\ncontentIds              - List of content IDs to stage.\nrepresentationType      - Optional source rendition to copy from.\ntoDestination           - Destination specified as one of: storageClass, adapterId, or adapterType.\nstageProperties         - Optional per-item configuration including contentId mapping and alias.\ntoRepresentationType   - Optional representationType to assign to the copy at the destination.\n\nResponse:\nitems   - List of staged results each containing contentId, the destination\nrepresentationType, and the destination adapterId.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_Stage_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_Stage_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Stage content for upload"
      }
    },
    "/api/v1/content/create-adapter": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.CreateAdapter",
        "description": "Creates a new storage adapter instance, registering a storage backend for use by the content service.\n\nRequest:\nname                - Display name for the adapter.\nadapterType        - Backend type: AWS_S3, CHANNEL_MANAGER, CDN, or AWS_EFS.\nstorageClass       - Purpose classification: PRIMARY, CACHE, PREVIEW, TEMP, or ANALYZER.\nretrievalPriority  - Priority order when selecting adapters for download (lower = higher priority).\nuploadPriority     - Priority order when selecting adapters for upload (lower = higher priority).\nconfig              - Type-specific configuration (bucket name, region, CDN pull zone, etc.).\n\nResponse:\nThe created adapter instance, including its assigned ID, display name, backend type, storage class, retrieval and upload priority values, type-specific configuration, and creation timestamp.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_CreateAdapter_Request"
              },
              "example": {
                "name": "Primary S3 Storage",
                "adapterType": "AWS_S3",
                "storageClass": "PRIMARY",
                "retrievalPriority": 1,
                "uploadPriority": 1,
                "config": {
                  "awsS3": {
                    "bucketName": "acme-content-primary",
                    "region": "us-east-1"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_CreateAdapter_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a storage adapter"
      }
    },
    "/api/v1/content/update-adapter": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.UpdateAdapter",
        "description": "Updates the configuration, priorities, or storage class of an existing adapter instance.\n\nRequest:\nid                  - ID of the adapter to update.\nname                - Optional new display name.\nstorageClass       - Optional new storage class.\nretrievalPriority  - Optional new retrieval priority.\nuploadPriority     - Optional new upload priority.\nconfig              - Optional new type-specific configuration.\n\nResponse:\nThe updated adapter instance with all applied changes, including the current name, storage class, priority settings, and configuration.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_UpdateAdapter_Request"
              },
              "example": {
                "id": "adp_01hbgk5cqef94v60bqg6qfv620",
                "name": "Primary S3 Storage (Updated)",
                "retrievalPriority": 1,
                "uploadPriority": 2
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_UpdateAdapter_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a storage adapter"
      }
    },
    "/api/v1/content/retrieve-adapter": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.RetrieveAdapter",
        "description": "Retrieves full details of a single adapter instance by its ID.\n\nRequest:\nadapterId   - ID of the adapter to retrieve.\n\nResponse:\nThe adapter instance including its ID, backend type, storage class, retrieval and upload priority values, type-specific configuration, and timestamps.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_RetrieveAdapter_Request"
              },
              "example": {
                "adapterId": "adp_01hbgk5cqef94v60bqg6qfv620"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_RetrieveAdapter_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a storage adapter"
      }
    },
    "/api/v1/content/list-adapters": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.ListAdapters",
        "description": "Lists adapter instances with optional filtering for deleted or default system adapters.\n\nRequest:\nincludeDeleted   - When true, includes soft-deleted adapters in the results.\nincludeDefault   - When true, includes system-managed default adapters.\n\nResponse:\nitems   - List of lightweight Adapter summaries: adapterId, name, adapterType, storageClass.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_ListAdapters_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_ListAdapters_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search storage adapters"
      }
    },
    "/api/v1/content/delete-adapter": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.DeleteAdapter",
        "description": "Soft-deletes an adapter instance, making it unavailable for new operations while retaining its records.\n\nRequest:\nadapterId   - ID of the adapter to soft-delete.\n\nResponse:\nadapterId   - ID of the adapter that was deleted.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_DeleteAdapter_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_DeleteAdapter_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete a storage adapter"
      }
    },
    "/api/v1/content/undelete-adapter": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.UndeleteAdapter",
        "description": "Recovers a soft-deleted adapter instance, restoring it to active status.\n\nRequest:\nadapterId   - ID of the adapter to restore.\n\nResponse:\nadapterId   - ID of the adapter that was restored.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_UndeleteAdapter_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_UndeleteAdapter_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Restore a storage adapter"
      }
    },
    "/api/v1/content/purge-adapter": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.PurgeAdapter",
        "description": "Permanently deletes an adapter instance. The adapter must have no remaining content representations.\n\nRequest:\nadapterId   - ID of the adapter to permanently delete. Fails if any content\nrepresentations still reference this adapter.\n\nResponse:\nadapterId   - ID of the adapter that was purged.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_PurgeAdapter_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_PurgeAdapter_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Permanently remove an adapter"
      }
    },
    "/api/v1/content/update": {
      "post": {
        "tags": [
          "Content Storage"
        ],
        "operationId": "tenovos.content.ContentService.Update",
        "description": "Updates the metadata of one or more content items without modifying the underlying binary file.\n\nRequest:\nitems                      - List of updates. Each item includes:\ncontentId               - ID of the content to update.\ncaption                  - Optional new caption.\ndescription              - Optional new short description text.\nextendedDescription     - Optional new extended description text.\nimage/video/document     - Optional replacement media dimension/duration properties.\n\nResponse:\nitems   - List of updated content items reflecting the applied metadata changes.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_content_Update_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_content_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update content metadata"
      }
    },
    "/api/v1/authz/has-permission": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "operationId": "tenovos.authz.AuthzService.HasPermission",
        "description": "Checks whether the authenticated user holds all of the specified permission IDs.\n\nRequest:\npermissionIds   - List of permission IDs that the user must possess. Returns true if\nthe user has all specified permissions, or if the list is empty.\n\nResponse:\nhasPermission   - True if the user holds every permission in the request; false otherwise.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_HasPermission_Request"
              },
              "example": {
                "permissionIds": [
                  "document:create",
                  "document:update",
                  "channel:manage"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_HasPermission_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Check user permission"
      }
    },
    "/api/v1/authz/assign-default-role": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "operationId": "tenovos.authz.AuthzService.AssignDefaultRole",
        "description": "Assigns the appropriate default role to a newly onboarded user within the organization.\n\nRequest:\nuserId   - The ID of the user to assign a default role to. The first user in an org\nreceives the default admin role; subsequent users receive the standard org user role.\n\nResponse:\n(empty)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_AssignDefaultRole_Request"
              },
              "example": {
                "userId": "user_01hbgk5cqef94v60bqg6qfv630"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_AssignDefaultRole_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Assign default role"
      }
    },
    "/api/v1/user-group/create-user-group": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.CreateUserGroup",
        "description": "Creates a new user group with an optional parent group for hierarchical organization.\n\nRequest:\nname              - Display name of the user group.\ndescription       - Description of the group's purpose or membership criteria.\nparentGroupId   - Optional ID of an existing group to nest this group under.\n\nResponse:\nuserGroup        - The created UserGroupItem containing the assigned id, name,\ndescription, and parentGroupId.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_Create_Request"
              },
              "example": {
                "name": "EMEA Content Team",
                "description": "Content editors and approvers for the EMEA region"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a user group"
      }
    },
    "/api/v1/user-group/list-user-groups": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.ListUserGroups",
        "description": "Lists user groups within the organization, with optional filtering by parent or status.\n\nRequest:\nincludeDisabled    - When true, includes disabled groups in the results.\nparentGroupId     - Optional parent group ID to return only direct child groups.\n\nResponse:\nuserGroups         - List of UserGroupItem objects matching the filter criteria.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                },
                "includeDisabled": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search user groups"
      }
    },
    "/api/v1/user-group/disable-user-group": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.DisableUserGroup",
        "description": "Soft-disables one or more user groups, cascading to all child groups recursively.\n\nRequest:\nids   - List of user group IDs to disable. All descendant groups are also disabled.\n\nResponse:\nids   - List of IDs of the groups that were successfully disabled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_Disable_Request"
              },
              "example": {
                "ids": [
                  "grp_01hbgk5cqef94v60bqg6qfv640"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_Disable_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Disable a user group"
      }
    },
    "/api/v1/user-group/purge-user-group": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.PurgeUserGroup",
        "description": "Permanently deletes one or more user groups along with their memberships.\n\nRequest:\nids   - List of user group IDs to permanently delete.\n\nResponse:\nids   - List of IDs of the groups that were successfully purged.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_Purge_Request"
              },
              "example": {
                "ids": [
                  "grp_01hbgk5cqef94v60bqg6qfv640"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_Purge_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Permanently remove a group"
      }
    },
    "/api/v1/user-group/update-user-group": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.UpdateUserGroup",
        "description": "Updates the name and description of an existing user group.\n\nRequest:\nid            - ID of the user group to update.\nname          - New display name for the group.\ndescription   - New description for the group.\n\nResponse:\nid            - ID of the updated group.\nname          - Updated display name.\ndescription   - Updated description.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_Update_Request"
              },
              "example": {
                "id": "grp_01hbgk5cqef94v60bqg6qfv640",
                "name": "EMEA Content Team",
                "description": "Content editors, approvers, and publishers for the EMEA region"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a user group"
      }
    },
    "/api/v1/user-group/user-group-add-member": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.UserGroupAddMember",
        "description": "Adds one or more users to a user group. Idempotent — adding an existing member succeeds silently.\n\nRequest:\ngroupId    - ID of the user group to add members to.\nuserIds    - List of user IDs to add to the group.\n\nResponse:\nuserIds    - List of user IDs that were successfully added.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_AddMember_Request"
              },
              "example": {
                "id": "grp_01hbgk5cqef94v60bqg6qfv640",
                "userIds": [
                  "user_01hbgk5cqef94v60bqg6qfv630",
                  "user_01hbgk5cqef94v60bqg6qfv631"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_AddMember_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Add member to group"
      }
    },
    "/api/v1/user-group/user-group-revoke-member": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.UserGroupRevokeMember",
        "description": "Removes one or more users from a user group. Idempotent — removing a non-member succeeds silently.\n\nRequest:\ngroupId    - ID of the user group to remove members from.\nuserIds    - List of user IDs to remove from the group.\n\nResponse:\nuserIds    - List of user IDs that were successfully removed.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_RevokeMember_Request"
              },
              "example": {
                "id": "grp_01hbgk5cqef94v60bqg6qfv640",
                "userIds": [
                  "user_01hbgk5cqef94v60bqg6qfv631"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_RevokeMember_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Remove member from group"
      }
    },
    "/api/v1/user-group/retrieve-user-group": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.RetrieveUserGroup",
        "description": "Retrieves user group details by their IDs.\n\nRequest:\nids           - List of user group IDs to retrieve.\n\nResponse:\nuserGroups   - List of UserGroupItem objects matching the requested IDs.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "grp_01hbgk5cqef94v60bqg6qfv640"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a user group"
      }
    },
    "/api/v1/user-group/activate-user-group": {
      "post": {
        "tags": [
          "User Groups"
        ],
        "operationId": "tenovos.authz.UserGroupService.ActivateUserGroup",
        "description": "Re-enables one or more previously disabled user groups.\n\nRequest:\nids   - List of user group IDs to activate.\n\nResponse:\nids   - List of IDs of the groups that were successfully activated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_UserGroup_Activate_Request"
              },
              "example": {
                "ids": [
                  "grp_01hbgk5cqef94v60bqg6qfv640"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_UserGroup_Activate_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Activate a user group"
      }
    },
    "/api/v1/role/create-role": {
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "tenovos.authz.RoleService.CreateRole",
        "description": "Creates a new role of the given type with an initial set of permissions.\n\nRequest:\nname              - Display name for the role.\nroleType         - Whether this is a USER_ROLE (assigned to individual users) or a\nGROUP_ROLE (assigned to user groups).\ndescription       - Description of what this role grants.\npermissionIds    - Non-empty list of permission IDs to associate with the role.\n\nResponse:\nid                - Assigned role ID.\nname              - Role display name.\nroleType         - The role type.\ndescription       - Role description.\npermissionIds    - List of permission IDs associated with the role.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Role_Create_Request"
              },
              "example": {
                "name": "Content Editor",
                "description": "Can create, update, and submit documents for review. Cannot approve or publish.",
                "permissionIds": [
                  "document:create",
                  "document:update",
                  "content:upload",
                  "channel:read"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Role_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a role"
      }
    },
    "/api/v1/role/list-roles": {
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "tenovos.authz.RoleService.ListRoles",
        "description": "Lists roles within the organization, with optional filtering by type or disabled status.\n\nRequest:\nincludeDisabled  - When true, includes disabled roles in the results.\nroleType         - Optional filter to return only USER_ROLE or GROUP_ROLE roles.\n\nResponse:\nroles             - List of RoleItem objects including id, name, type, description,\npermissionIds, and whether the role is a system role.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Role_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                },
                "includeDisabled": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Role_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search roles"
      }
    },
    "/api/v1/role/retrieve-role": {
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "tenovos.authz.RoleService.RetrieveRole",
        "description": "Retrieves full role details by their IDs.\n\nRequest:\nroleIds   - List of role IDs to retrieve.\n\nResponse:\nroles      - List of RoleItem objects matching the requested IDs.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Role_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "role_01hbgk5cqef94v60bqg6qfv650"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Role_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a role"
      }
    },
    "/api/v1/role/update-role": {
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "tenovos.authz.RoleService.UpdateRole",
        "description": "Updates the name, description, and permission set of an existing role.\n\nRequest:\nid                - ID of the role to update.\nname              - New display name.\ndescription       - New description.\npermissionIds    - Replacement list of permission IDs. Must be non-empty.\n\nResponse:\nid                - ID of the updated role.\nname              - Updated display name.\nroleType         - Role type (unchanged).\ndescription       - Updated description.\npermissionIds    - Updated list of permission IDs.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Role_Update_Request"
              },
              "example": {
                "id": "role_01hbgk5cqef94v60bqg6qfv650",
                "name": "Content Editor",
                "description": "Can create, update, and submit documents for review.",
                "permissionIds": [
                  "document:create",
                  "document:update",
                  "content:upload",
                  "channel:read",
                  "document:comment"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Role_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a role"
      }
    },
    "/api/v1/role/disable-roles": {
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "tenovos.authz.RoleService.DisableRoles",
        "description": "Soft-disables one or more roles, making them inactive without permanent deletion.\n\nRequest:\nids   - List of role IDs to disable.\n\nResponse:\nids   - List of IDs of the roles that were successfully disabled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Role_Disable_Request"
              },
              "example": {
                "ids": [
                  "role_01hbgk5cqef94v60bqg6qfv650"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Role_Disable_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Disable roles"
      }
    },
    "/api/v1/role/purge-roles": {
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "tenovos.authz.RoleService.PurgeRoles",
        "description": "Permanently deletes one or more roles and their associated permission records.\n\nRequest:\nids   - List of role IDs to permanently delete.\n\nResponse:\nids   - List of IDs of the roles that were successfully purged.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Role_Purge_Request"
              },
              "example": {
                "ids": [
                  "role_01hbgk5cqef94v60bqg6qfv650"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Role_Purge_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Permanently remove roles"
      }
    },
    "/api/v1/role/activate-roles": {
      "post": {
        "tags": [
          "Roles"
        ],
        "operationId": "tenovos.authz.RoleService.ActivateRoles",
        "description": "Re-enables one or more previously disabled roles.\n\nRequest:\nids   - List of role IDs to activate.\n\nResponse:\nids   - List of IDs of the roles that were successfully activated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Role_Activate_Request"
              },
              "example": {
                "ids": [
                  "role_01hbgk5cqef94v60bqg6qfv650"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Role_Activate_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Activate roles"
      }
    },
    "/api/v1/user/user-assign-user-role": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "tenovos.authz.UserService.UserAssignUserRole",
        "description": "Assigns a role to a user, establishing their base permission set within the organization.\n\nRequest:\nuserId   - ID of the user to assign the role to.\nroleId   - ID of the role to assign. The role must be of type USER_ROLE.\n\nResponse:\nuserId   - ID of the user the role was assigned to.\nroleId   - ID of the role that was assigned.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_User_AssignRole_Request"
              },
              "example": {
                "userId": "user_01hbgk5cqef94v60bqg6qfv630",
                "roleId": "role_01hbgk5cqef94v60bqg6qfv650"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_User_AssignRole_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Assign role to user"
      }
    },
    "/api/v1/user/retrieve-user": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "tenovos.authz.UserService.RetrieveUser",
        "description": "Retrieves full user profiles by their IDs, including auth provider data.\n\nRequest:\nuserIds   - List of user IDs to retrieve.\n\nResponse:\nusers      - List of User objects including email, name, role, group memberships,\nlast login time, profile picture URL, and enabled/invited status.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_User_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "user_01hbgk5cqef94v60bqg6qfv630"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_User_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a user"
      }
    },
    "/api/v1/user/list-users": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "tenovos.authz.UserService.ListUsers",
        "description": "Lists users in the organization with optional search, role, and group filtering, supporting pagination.\n\nRequest:\nsearchQuery   - Free-text query to filter users by email or name.\nroleId        - Optional role ID to return only users with that role.\ngroupId       - Optional group ID to return only users in that group.\npagination     - Optional Pagination cursor and page size for iterating large result sets.\n\nResponse:\nusers          - List of User objects matching the filter criteria.\npageCursor    - Opaque cursor for the next page. Absent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_User_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                },
                "searchQuery": "jane"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_User_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search users"
      }
    },
    "/api/v1/user/delete-user": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "tenovos.authz.UserService.DeleteUser",
        "description": "Permanently removes a user from the organization, including all group memberships and role assignments.\n\nRequest:\nid   - ID of the user to permanently delete. This operation cannot be undone.\n\nResponse:\n(empty)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_User_Delete_Request"
              },
              "example": {
                "userId": "user_01hbgk5cqef94v60bqg6qfv630"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_User_Delete_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete a user"
      }
    },
    "/api/v1/user/disable-user": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "tenovos.authz.UserService.DisableUser",
        "description": "Soft-disables one or more users, marking them as inactive while preserving their records.\n\nRequest:\nuserIds   - List of user IDs to disable. Disabled users have isEnabled set to false.\n\nResponse:\nuserIds   - List of user IDs that were successfully disabled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_User_Disable_Request"
              },
              "example": {
                "userId": "user_01hbgk5cqef94v60bqg6qfv630"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_User_Disable_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Disable a user"
      }
    },
    "/api/v1/user/update-user": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "tenovos.authz.UserService.UpdateUser",
        "description": "Updates profile fields and group/role assignments for a user. All fields are optional.\n\nRequest:\nuserId      - ID of the user to update.\nfirstName   - Optional replacement first name.\nlastName    - Optional replacement last name.\nroleId      - Optional replacement role ID.\ngroupIds    - Optional replacement list of group memberships.\nusername     - Optional replacement username.\n\nResponse:\nuserId      - ID of the updated user.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_User_Update_Request"
              },
              "example": {
                "id": "user_01hbgk5cqef94v60bqg6qfv630",
                "firstName": "Jane",
                "lastName": "Smith",
                "department": "Marketing"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_User_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a user"
      }
    },
    "/api/v1/user/create-invite": {
      "post": {
        "tags": [
          "Users"
        ],
        "operationId": "tenovos.authz.UserService.CreateInvite",
        "description": "Sends invitations to new users and creates their accounts with a pre-assigned role and groups.\n\nRequest:\nemails                - List of email addresses to invite.\nroleId               - Role to assign to all invited users.\ngroupIds             - List of group IDs to add all invited users to.\ndefaultSiteDomain   - The site domain context used for the invitation link.\n\nResponse:\nuserIds              - List of IDs of the newly created user accounts.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_User_CreateInvite_Request"
              },
              "example": {
                "emails": [
                  "jane.smith@acme.com",
                  "john.doe@acme.com"
                ],
                "roleId": "role_01hbgk5cqef94v60bqg6qfv650",
                "groupIds": [
                  "grp_01hbgk5cqef94v60bqg6qfv640"
                ],
                "defaultSiteDomain": "portal.acme.com"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_User_CreateInvite_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Invite a user"
      }
    },
    "/api/v1/permission/list-permissions": {
      "post": {
        "tags": [
          "Permissions"
        ],
        "operationId": "tenovos.authz.PermissionService.ListPermissions",
        "description": "Lists all permissions defined in the system, with optional filtering by role.\n\nRequest:\nroleId       - Optional role ID to return only permissions associated with that role.\n\nResponse:\npermissions   - List of PermissionItem objects (id, name, description).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Permission_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 100
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Permission_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search permissions"
      }
    },
    "/api/v1/permission/create-permission": {
      "post": {
        "tags": [
          "Permissions"
        ],
        "operationId": "tenovos.authz.PermissionService.CreatePermission",
        "description": "Creates a new named permission that can be assigned to roles.\n\nRequest:\nid            - Unique identifier for the permission (caller-supplied, not auto-generated).\nname          - Human-readable display name.\ndescription   - Optional description of what this permission grants.\n\nResponse:\npermission    - The created PermissionItem.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_Permission_Create_Request"
              },
              "example": {
                "name": "analytics:export",
                "description": "Allows exporting analytics reports to CSV or PDF"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_Permission_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a permission"
      }
    },
    "/api/v1/access-control/has-access": {
      "post": {
        "tags": [
          "Access Control"
        ],
        "operationId": "tenovos.authz.AccessControlService.HasAccess",
        "description": "Checks whether the authenticated user holds specific permissions on one or more resources. Evaluates both role-based and fine-grained resource access grants to produce the final result.\n\nRequest:\nresourceIds      - List of resource IDs to evaluate access for.\npermissionsIds   - List of permission IDs to check against each resource.\n\nResponse:\naccessResult     - List of results, one per resource-permission combination. Each entry contains the resourceId, permissionId, and a hasAccess boolean indicating whether access is granted.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_AccessControl_HasAccess_Request"
              },
              "example": {
                "resourceIds": [
                  "doc_01hbgk5cqef94v60bqg6qfv581"
                ],
                "permissionsIds": [
                  "document:update",
                  "document:delete"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_AccessControl_HasAccess_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Check content access"
      }
    },
    "/api/v1/access-control/retrieve-resource-groups": {
      "post": {
        "tags": [
          "Access Control"
        ],
        "operationId": "tenovos.authz.AccessControlService.RetrieveResourceGroups",
        "description": "Returns the resource group IDs that define the scope of the authenticated user's fine-grained access. Resource groups categorize access by source — use these IDs to scope content queries and permission checks to only what the user can see.\n\nRequest:\nNo parameters required.\n\nResponse:\nresourceGroupIds      - Groups assigned directly to this user.\ncontextGroupsIds      - Groups derived from the user's current site or organization context.\npermissionGroupsIds   - Groups inherited through the user's membership in one or more user groups.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_AccessControl_RetrieveResourceGroups_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_AccessControl_RetrieveResourceGroups_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get resource groups"
      }
    },
    "/api/v1/access-control/grant-access": {
      "post": {
        "tags": [
          "Access Control"
        ],
        "operationId": "tenovos.authz.AccessControlService.GrantAccess",
        "description": "Grants resource-level access on one or more content entities to specified users or groups. Each grant specifies an access level of READ (view and retrieve) or MODIFY (update and delete).\n\nRequest:\nentityIds              - List of content entity IDs to grant access on.\nprincipalPermissions   - List of grants, each specifying a user or group ID and the permission level to grant (READ or MODIFY).\n\nResponse:\nentityIds              - List of entity IDs on which access was successfully granted.\nprincipalPermissions   - The list of grants that were applied.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_AccessControl_GrantAccess_Request"
              },
              "example": {
                "entityIds": [
                  "doc_01hbgk5cqef94v60bqg6qfv581"
                ],
                "principalPermissions": [
                  {
                    "principalResourceId": "user_01hbgk5cqef94v60bqg6qfv630",
                    "permission": "MODIFY"
                  },
                  {
                    "principalResourceId": "grp_01hbgk5cqef94v60bqg6qfv640",
                    "permission": "READ"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_AccessControl_GrantAccess_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Grant content access"
      }
    },
    "/api/v1/access-control/revoke-access": {
      "post": {
        "tags": [
          "Access Control"
        ],
        "operationId": "tenovos.authz.AccessControlService.RevokeAccess",
        "description": "Revokes all fine-grained access grants for a principal on one or more entities.\n\nRequest:\nentityIds              - List of entity IDs to revoke access on.\nprincipalResourceId   - The resource ID of the user or group whose access is being revoked.\n\nResponse:\nentityIds   - List of entity IDs for which access was successfully revoked.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_AccessControl_RevokeAccess_Request"
              },
              "example": {
                "entityIds": [
                  "doc_01hbgk5cqef94v60bqg6qfv581"
                ],
                "principalResourceIds": [
                  "user_01hbgk5cqef94v60bqg6qfv630"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_AccessControl_RevokeAccess_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Revoke content access"
      }
    },
    "/api/v1/api-key/create-api-key": {
      "post": {
        "tags": [
          "API Keys"
        ],
        "operationId": "tenovos.authz.ApiKeyService.CreateApiKey",
        "description": "Creates a new API key for programmatic access, assigning it a role that defines its permissions.\n\nRequest:\nname          - Human-readable label for the API key.\nexpiresAt    - Optional expiry timestamp. If omitted the key does not expire.\nroleId       - Role to assign to the API key's associated service account, determining\nwhat operations the key is authorized to perform.\n\nResponse:\nid            - Assigned API key ID.\nname          - Key display name.\nkeyHint      - Last 4 characters of the key, for identification purposes.\nexpiresAt    - Expiry timestamp if one was set.\nkey           - The full plaintext API key. This is the only time the full key is returned;\nit is stored hashed and cannot be retrieved again.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_ApiKey_Create_Request"
              },
              "example": {
                "name": "CI Pipeline Integration",
                "expiresAt": "2026-12-31T23:59:59.000Z"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_ApiKey_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create an API key"
      }
    },
    "/api/v1/api-key/list-api-keys": {
      "post": {
        "tags": [
          "API Keys"
        ],
        "operationId": "tenovos.authz.ApiKeyService.ListApiKeys",
        "description": "Lists API keys in the organization with optional filtering for revoked or expired keys.\n\nRequest:\npageCursor       - Optional cursor for paginating through results.\nmaxSize          - Optional maximum number of results to return per page.\nincludeRevoked   - When true, includes revoked keys in the results.\nincludeExpired   - When true, includes expired keys in the results.\n\nResponse:\napiKeys      - List of ApiKey objects (id, name, keyHint, timestamps). Full key values\nare never returned.\npagination    - Pagination object containing the cursor for the next page.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_ApiKey_List_Request"
              },
              "example": {
                "includeRevoked": false,
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_ApiKey_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search API keys"
      }
    },
    "/api/v1/api-key/revoke-api-key": {
      "post": {
        "tags": [
          "API Keys"
        ],
        "operationId": "tenovos.authz.ApiKeyService.RevokeApiKey",
        "description": "Revokes an API key, permanently deactivating it so it can no longer be used for authentication.\n\nRequest:\nid         - ID of the API key to revoke. Revocation cannot be undone.\n\nResponse:\napiKey    - The ApiKey record with the revokedAt timestamp populated.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_authz_ApiKey_Revoke_Request"
              },
              "example": {
                "id": "key_01hbgk5cqef94v60bqg6qfv660"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_authz_ApiKey_Revoke_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Revoke an API key"
      }
    },
    "/api/v1/channel/list-channel-types": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.ListChannelTypes",
        "description": "Lists the available channel type templates with optional filtering. Use this to discover which integrations are available and what authentication and configuration each requires before creating a channel.\n\nRequest:\nquery.category       - Filter by channel category: ORIGIN (content source systems such as Box, SharePoint, or S3), OBSERVATION (systems monitored for engagement events such as Instagram or a website), or DELIVERY (destination systems to push content to).\nquery.enabled        - When true, returns only types that are currently available for use. When false, returns only types that are not yet enabled.\nquery.hasInstance   - When true, returns only types for which the organization already has at least one configured channel.\npagination           - Optional pagination cursor and page size.\n\nResponse:\nchannelTypes   - List of channel types, each including its name, description, authentication method, logo, category, and whether it supports real-time webhook sync.\npageCursor     - Opaque cursor for the next page. Absent when no further results exist.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_ListChannelTypes_Request"
              },
              "example": {
                "query": {
                  "category": [
                    "ORIGIN"
                  ],
                  "enabled": true
                },
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_ListChannelTypes_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Browse channel types"
      }
    },
    "/api/v1/channel/retrieve-channel-types": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveChannelTypes",
        "description": "Retrieves full channel type definitions by their IDs.\n\nRequest:\nids             - List of channel type IDs to retrieve.\n\nResponse:\nchannelTypes   - List of ChannelType objects including authentication requirements and\nauth description detailing credential fields.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveChannelTypes_Request"
              },
              "example": {
                "ids": [
                  "chnltype_01h7agvwgefxgstg37gbqsyh4c"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveChannelTypes_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel types"
      }
    },
    "/api/v1/channel/list-channels": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.ListChannels",
        "description": "Lists channel instances owned by the organization, with optional filtering and pagination.\n\nRequest:\ncategory           - Optional category filter (ORIGIN, OBSERVATION, DELIVERY).\npagination         - Optional Pagination cursor and page size.\nincludeDeleted    - When true, includes soft-deleted channels in the results.\n\nResponse:\nchannelInstances  - List of ChannelInstance objects including id, name, status, settings,\nscan state, and timestamps.\npageCursor        - Opaque cursor for the next page. Absent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_ListChannels_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_ListChannels_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search channels"
      }
    },
    "/api/v1/channel/retrieve-channels": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveChannels",
        "description": "Retrieves full channel instance details by their IDs.\n\nRequest:\nids                - List of channel instance IDs to retrieve.\n\nResponse:\nchannelInstances  - List of ChannelInstance objects with complete configuration and status.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveChannels_Request"
              },
              "example": {
                "ids": [
                  "chnl_01hzpg52tgeap9x6cvmyrec4dg"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveChannels_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channels"
      }
    },
    "/api/v1/channel/create-channel": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.CreateChannel",
        "description": "Creates a new channel instance connecting the organization to an external system.\n\nRequest:\nchannelInstance   - The channel to create, including channelTypeId, name, optional\ndescription, and type-specific settings.\nauthDetails       - Authentication credentials for the external system (OAuth code,\nAPI key, basic auth, or service credentials).\n\nResponse:\nchannelInstance   - The created ChannelInstance in DRAFT status with its assigned ID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_CreateChannel_Request"
              },
              "example": {
                "channelInstance": {
                  "channelTypeId": "chnltype_01h7agvwgefxgstg37gbqsyh4c",
                  "name": "Acme Box Storage",
                  "description": "Primary Box account for the EMEA marketing team",
                  "settings": {}
                },
                "authDetails": {
                  "oauthCode": "auth_code_from_oauth_redirect"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_CreateChannel_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a channel"
      }
    },
    "/api/v1/channel/update-channel": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.UpdateChannel",
        "description": "Updates the name, description, and configuration settings of an existing channel instance.\n\nRequest:\nchannelInstance   - Update payload containing the channel id, new name, optional\ndescription, and updated settings. Authentication credentials are\nnot changed by this call; use UpdateAuth for that.\n\nResponse:\nupdated            - Number of records updated (1 on success).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_UpdateChannel_Request"
              },
              "example": {
                "channelInstance": {
                  "id": "chnl_01hzpg52tgeap9x6cvmyrec4dg",
                  "name": "Acme Box Storage (EMEA)",
                  "settings": {
                    "foldersIds": {
                      "checked": [
                        "folder_12345",
                        "folder_67890"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_UpdateChannel_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a channel"
      }
    },
    "/api/v1/channel/enable-channel": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.EnableChannel",
        "description": "Activates a channel, registering webhooks with the external system and starting content synchronization.\n\nRequest:\nchannelId   - ID of the channel to enable. The channel must be in AUTHENTICATED or DISABLED status.\n\nResponse:\nenabled      - True if the channel was successfully enabled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_EnableChannel_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_EnableChannel_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Enable a channel"
      }
    },
    "/api/v1/channel/disable-channel": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.DisableChannel",
        "description": "Deactivates a channel, deregistering webhooks and suspending content synchronization.\n\nRequest:\nchannelId   - ID of the channel to disable.\n\nResponse:\ndisabled     - True if the channel was successfully disabled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_DisableChannel_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_DisableChannel_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Disable a channel"
      }
    },
    "/api/v1/channel/validate-channel-config": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.ValidateChannelConfig",
        "description": "Tests a channel's configuration and credentials against the external system, returning a validation report.\n\nRequest:\nchannelId   - ID of the channel to validate.\n\nResponse:\nreport       - ValidationReport containing a status (OK, AUTH_FAILURE, CONFIG_FAILURE, FAILED)\nand a list of error messages describing any failures found.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_ValidateChannelConfig_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_ValidateChannelConfig_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Validate channel config"
      }
    },
    "/api/v1/channel/delete-channel": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.DeleteChannel",
        "description": "Soft-deletes a channel instance, disabling it and retaining historical records for audit purposes.\n\nRequest:\nchannelId   - ID of the channel to delete.\n\nResponse:\ndeleted      - Number of records deleted (1 on success).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_DeleteChannel_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_DeleteChannel_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Delete a channel"
      }
    },
    "/api/v1/channel/retrieve-oauth-url": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveOauthUrl",
        "description": "Generates an OAuth authorization URL for initiating the OAuth flow for a given channel type.\n\nRequest:\nchannelTypeId        - ID of the channel type to generate an OAuth URL for.\ncustomRedirectUri    - Optional override for the OAuth redirect URI.\n\nResponse:\nurl   - The OAuth authorization URL to redirect the user to.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveOauthUrl_Request"
              },
              "example": {
                "channelTypeId": "chnltype_01h7agvwgefxgstg37gbqsyh4c"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveOauthUrl_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel OAuth URL"
      }
    },
    "/api/v1/channel/update-auth": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.UpdateAuth",
        "description": "Updates or rotates the authentication credentials for an existing channel without changing other settings.\n\nRequest:\nchannelId     - ID of the channel whose credentials are being updated.\nauthDetails   - New credentials (OAuth code, API key, basic auth, or service credentials).\nCredentials are encrypted before storage.\n\nResponse:\n(empty)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_UpdateAuth_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg",
                "authDetails": {
                  "oauthCode": "auth_code_from_oauth_redirect"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_UpdateAuth_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update channel auth"
      }
    },
    "/api/v1/channel/retrieve-folders": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveFolders",
        "description": "Enumerates the folder or directory hierarchy available in the external system connected by the channel.\n\nRequest:\nchannelId    - ID of the channel to browse.\nparentId     - ID of the folder to list children of. Use the root ID to start at the top level.\npagination    - Optional Pagination cursor and page size for large folder listings.\n\nResponse:\nfolders       - List of Folders objects with id, name, isLeaf, and type\n(FOLDER, SAVED_SEARCH, or VOCAB).\npageCursor   - Opaque cursor for the next page.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveFolders_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg",
                "pagination": {
                  "maxSize": 50
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveFolders_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel folders"
      }
    },
    "/api/v1/channel/retrieve-channel-account": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveChannelAccount",
        "description": "Retrieves account information (name, email, avatar) from the external system the channel is connected to.\n\nRequest:\nchannelId   - ID of the channel to retrieve account information for.\n\nResponse:\naccount      - ChannelAccount containing the name, email, and avatarUrl of the connected account.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveChannelAccount_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveChannelAccount_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel account"
      }
    },
    "/api/v1/channel/retrieve-content": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveContent",
        "description": "Generates download or streaming URLs for one or more content items in an external system.\n\nRequest:\nquery   - List of ContentRetrievalQuery entries, each specifying a channelId and a\ncontentUri identifying the item to retrieve.\n\nResponse:\nurls    - List of ContentRetrievalResponse entries, each containing a URL, the auth\nmechanism required (bearer token, basic auth, or headers), and whether the\ncontent must be accessed via streaming only.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveContent_Request"
              },
              "example": {
                "query": [
                  {
                    "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg",
                    "contentUri": "s3://bucket/path/image.png"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveContent_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel content"
      }
    },
    "/api/v1/channel/retrieve-content-metadata": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveContentMetadata",
        "description": "Fetches file metadata for a single content item identified by its URI.\n\nRequest:\ncontentUri   - URI of the content item to retrieve metadata for.\n\nResponse:\nmetadata      - ScanContent.Metadata containing content properties (dimensions, duration,\npage count, file size, MIME type) and any custom metadata from the external system.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveContentMetadata_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg",
                "contentId": "box_file_123456789"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveContentMetadata_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel content metadata"
      }
    },
    "/api/v1/channel/retrieve-content-data": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.RetrieveContentData",
        "description": "Streams the raw binary data of a content item in chunks (server-streaming RPC).\n\nRequest:\ncontentUri       - URI of the content item to stream.\n\nResponse (stream):\nResponseChunk.data   - Successive byte chunks of the content. The stream ends when all\ndata has been delivered.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_RetrieveContentData_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_RetrieveContentData_ResponseChunk"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel content data"
      }
    },
    "/api/v1/channel/scan-content": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.ScanContent",
        "description": "Scans a channel to discover all available content items, returning paginated metadata for each.\n\nRequest:\nchannelId    - ID of the channel to scan.\npagination    - Optional Pagination cursor and page size.\n\nResponse:\ncontent       - List of ScannedContent entries, each containing a URI and Metadata\n(content properties and custom data from the external system).\npageCursor   - Opaque cursor for the next page. Absent when scan is complete.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_ScanContent_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_ScanContent_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Scan channel content"
      }
    },
    "/api/v1/channel/get-config-description": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.GetConfigDescription",
        "description": "Returns the configuration schema for a channel type — the set of parameters a user must supply when setting up a channel of that type. Use this to dynamically render a configuration form before calling create-channel or update-channel.\n\nRequest:\nchannelTypeId   - ID of the channel type to retrieve the configuration schema for.\n\nResponse:\nconfiguration     - List of configuration parameters, each including an id, display label, input type, whether it is required, and whether it supports multiple selections. Input types are TREE (hierarchical picker, e.g. folder or site selection), DROPDOWN (single or multi-select list), or TEXT (free-form text input).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_GetConfigDescription_Request"
              },
              "example": {
                "channelTypeId": "chnltype_01h7agvwgefxgstg37gbqsyh4c"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_GetConfigDescription_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Retrieve channel type configuration schema"
      }
    },
    "/api/v1/channel/get-config-details": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.GetConfigDetails",
        "description": "Retrieves the selectable options for one or more configuration parameters of an authenticated channel — for example, the list of SharePoint sites, Box folders, or S3 buckets available under the connected account. Use this to populate pickers in your configuration UI after the channel has been authenticated.\n\nRequest:\nchannelId    - ID of the authenticated channel to retrieve options for.\nconfigId     - List of configuration parameter IDs to retrieve options for (as returned by get-config-description).\nparentId     - For hierarchical parameters, the ID of the parent item whose children to retrieve (e.g., a SharePoint site ID when listing its document libraries).\npagination    - Optional pagination cursor and page size.\n\nResponse:\nvalues        - Selectable options for each requested parameter, keyed by configId.\npageCursor   - Opaque cursor for the next page. Absent when no further results exist.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_GetConfigDetails_Request"
              },
              "example": {
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg",
                "configId": [
                  "foldersIds"
                ],
                "pagination": {
                  "maxSize": 50
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_GetConfigDetails_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Retrieve selectable options for a channel configuration parameter"
      }
    },
    "/api/v1/channel/resolve-webhook-payload": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.ResolveWebhookPayload",
        "description": "Translates an inbound webhook notification from an external system into the platform's internal content identifiers for the affected items. When an external system (such as Box or SharePoint) sends a change notification, use this endpoint to determine which content records in the platform correspond to the changed resource before triggering a sync or update.\n\nRequest:\nexternalSourceId   - The resource identifier from the external system's webhook payload (e.g., a file ID, node ID, or object key).\nchannelId           - ID of the channel that received the webhook.\n\nResponse:\nchannelContentIds  - Platform content IDs for the items affected by the external change event.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_ResolveWebhookPayload_Request"
              },
              "example": {
                "externalSourceId": "box_file_123456789",
                "channelId": "chnl_01hzpg52tgeap9x6cvmyrec4dg"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_ResolveWebhookPayload_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Map a webhook notification to affected content"
      }
    },
    "/api/v1/channel/channel-stats": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.ChannelStats",
        "description": "Retrieves synchronization statistics and health state for one or more channels over an optional time period.\n\nRequest:\nids      - List of channel IDs to retrieve statistics for.\nperiod   - Optional time range (from/to timestamps) for period-based metrics.\nIf omitted, all-time totals are returned.\n\nResponse:\nstats    - List of Stats objects, one per channel, each containing:\nperiodStats  - Asset created/updated/deleted counts, error count, and recent errors.\nchannelState - Last sync time, next scheduled scan, and current scan state\n(ACTIVE, INACTIVE, SYNCING, or ERROR).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_ChannelStats_Request"
              },
              "example": {
                "channelIds": [
                  "chnl_01hzpg52tgeap9x6cvmyrec4dg"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_ChannelStats_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get channel statistics"
      }
    },
    "/api/v1/channel/purge-channels": {
      "post": {
        "tags": [
          "Channels"
        ],
        "operationId": "tenovos.channel.ChannelManagerService.PurgeChannels",
        "description": "Permanently deletes channel instances that have never successfully ingested content.\n\nRequest:\nids   - List of channel IDs to permanently delete. Channels that have already synced content\nare excluded to preserve data integrity.\n\nResponse:\nids   - List of IDs of the channels that were successfully purged.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_channel_PurgeChannels_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_channel_PurgeChannels_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Permanently remove channels"
      }
    },
    "/api/v1/flow/create": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.Create",
        "description": "Creates one or more flows, each defined by a name, optional description, and a hierarchical task tree.\n\nRequest:\nitems      - List of flow definitions to create. Each item includes a name, optional description,\nand a taskTree defining the root action and any child/reference tasks. All flows\nare created in DRAFT status.\ngroupId   - Optional ID of a workflow template group. When provided, the platform also provisions any standard flows defined for that group, giving the organization a pre-configured starting set of workflows.\n\nResponse:\nitems      - The fully hydrated Flow objects that were created, including their assigned IDs\nand complete task tree structures.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_Create_Request"
              },
              "example": {
                "items": [
                  {
                    "name": "Import and Enrich Media",
                    "description": "Ingests content from a channel, runs AI enrichment, and creates a document record",
                    "taskTree": {
                      "actionId": "action_ingest_channel_content",
                      "children": [
                        {
                          "actionId": "action_ai_enrich"
                        },
                        {
                          "actionId": "action_create_document"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a workflow"
      }
    },
    "/api/v1/flow/retrieve": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.Retrieve",
        "description": "Retrieves one or more flows by their IDs, returning full flow definitions including task trees.\n\nRequest:\nids        - List of flow IDs to retrieve.\n\nResponse:\nitems      - The fully hydrated Flow objects, each including the complete task tree with\nnested children, conditions, mappings, and configurations.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "flow_01hbgk5cqef94v60bqg6qfv670"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a workflow"
      }
    },
    "/api/v1/flow/list": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.List",
        "description": "Lists available flows as lightweight summaries, with optional filtering and pagination.\n\nRequest:\nincludeDisabled - When true, includes flows with DISABLED status in the results.\nDefaults to false (only DRAFT and ENABLED flows are returned).\npagination       - Optional Pagination cursor and page size for iterating large result sets.\n\nResponse:\nitems            - List of FlowSummary objects (id, name, description, status, timestamps)\nordered by name. Does not include full task tree details.\npageCursor      - Opaque cursor to pass in a subsequent request to retrieve the next page.\nAbsent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search workflows"
      }
    },
    "/api/v1/flow/update": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.Update",
        "description": "Updates the name, description, and task tree of one or more existing flows.\n\nRequest:\nupdates    - List of flow updates. Each update must include the flow ID and the full\nreplacement name and task tree. Flows with active running jobs cannot be updated.\n\nResponse:\nitems      - The fully hydrated Flow objects reflecting the applied updates.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_Update_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a workflow"
      }
    },
    "/api/v1/flow/purge": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.Purge",
        "description": "Permanently deletes one or more flows. Only flows that are not in ENABLED status can be purged.\n\nRequest:\nids        - List of flow IDs to permanently delete. Enabled flows are excluded from deletion.\n\nResponse:\nids        - List of IDs of the flows that were successfully deleted.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_Purge_Request"
              },
              "example": {
                "ids": [
                  "flow_01hbgk5cqef94v60bqg6qfv670"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Purge_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Permanently remove a workflow"
      }
    },
    "/api/v1/flow/enable": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.Enable",
        "description": "Activates one or more flows, allowing them to be triggered by events and create jobs.\n\nRequest:\nids        - List of flow IDs to enable. Each flow transitions from DRAFT or DISABLED to ENABLED.\nEnabling registers the flow's root task as a trigger on the appropriate event subject,\nincluding any conditional trigger expressions.\n\nResponse:\nids        - List of IDs of the flows that were successfully enabled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_Enable_Request"
              },
              "example": {
                "ids": [
                  "flow_01hbgk5cqef94v60bqg6qfv670"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Enable_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Enable a workflow"
      }
    },
    "/api/v1/flow/disable": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.Disable",
        "description": "Deactivates one or more flows, preventing them from creating new jobs.\n\nRequest:\nids        - List of flow IDs to disable. Flows with active running jobs cannot be disabled.\nDisabling removes the associated event triggers so no new jobs will be created.\n\nResponse:\nids        - List of IDs of the flows that were successfully disabled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_Disable_Request"
              },
              "example": {
                "ids": [
                  "flow_01hbgk5cqef94v60bqg6qfv670"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_Disable_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Disable a workflow"
      }
    },
    "/api/v1/flow/list-default-groups": {
      "post": {
        "tags": [
          "Workflows"
        ],
        "operationId": "tenovos.action.FlowService.ListDefaultGroups",
        "description": "Returns the set of system-defined default flow groups, each containing their associated flows.\n\nRequest:\n(no parameters)\n\nResponse:\ngroups     - List of Group objects, each containing a groupId and a list of FlowSummary\nobjects belonging to that group. Only system-level (non-org-specific) flows\nare included. Used to seed default workflows when onboarding a new organization.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Flow_ListDefaultGroups_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Flow_ListDefaultGroups_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get default workflow groups"
      }
    },
    "/api/v1/action/list": {
      "post": {
        "tags": [
          "Actions"
        ],
        "operationId": "tenovos.action.ActionService.List",
        "description": "Lists the available action definitions that can be used as steps within a workflow. Use this to discover which operations are available and what inputs each requires before building or validating a workflow.\n\nRequest:\ntype             - Optional filter by action role: ACTION (a standard executable step), TRIGGER (an event that starts a workflow), or CONDITION_ACTION (a conditional branch step).\ninputEntities   - Optional filter by the data types the action consumes (e.g. ASSET, DOCUMENT, CONTENT). When provided, only actions compatible with all specified types are returned.\n\nResponse:\nitems            - List of available actions including each action's ID, name, group, description, role type, and the input and output entity types it works with. Full parameter schemas are available via the retrieve endpoint.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Action_List_Request"
              },
              "example": {
                "type": "ACTION",
                "inputEntities": [
                  "ASSET"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Action_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "List available actions"
      }
    },
    "/api/v1/action/retrieve": {
      "post": {
        "tags": [
          "Actions"
        ],
        "operationId": "tenovos.action.ActionService.Retrieve",
        "description": "Retrieves full action definitions by their IDs, including complete input and output schemas.\n\nRequest:\nids        - List of action IDs to retrieve.\n\nResponse:\nitems      - The fully hydrated Action objects, each including the complete inputSchema,\noutputSchema, configurationSchema, type, group, description, and entity mappings.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Action_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "action_ingest_channel_content"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Action_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get an action"
      }
    },
    "/api/v1/job/list": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "operationId": "tenovos.action.JobService.List",
        "description": "Lists job execution records with optional filtering by status or flow, supporting pagination.\n\nRequest:\njobStatus   - Optional JobStatus filter (CREATED, RUNNING, COMPLETE, FAILED, SUSPENDED, CANCELED).\nflowId      - Optional flow ID to return only jobs triggered by that specific flow.\npagination   - Optional Pagination cursor and page size for iterating large result sets.\n\nResponse:\njobs         - List of Job objects ordered by event date descending, including current status,\ncurrent task ID, payload, and execution timestamps.\npageCursor  - Opaque cursor to pass in a subsequent request to retrieve the next page.\nAbsent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Job_List_Request"
              },
              "example": {
                "jobStatus": "RUNNING",
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Job_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search jobs"
      }
    },
    "/api/v1/job/retrieve": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "operationId": "tenovos.action.JobService.Retrieve",
        "description": "Retrieves detailed job information by ID, including the full audit trail of task executions.\n\nRequest:\nids        - List of job IDs to retrieve.\n\nResponse:\njobs       - The fully hydrated Job objects, each including the auditTrail with per-task\nexecution history (task ID, status, message, details, timestamp), the triggering\npayload, the current task ID, and who started the job and when.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Job_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "job_01hbgk5cqef94v60bqg6qfv680"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Job_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get job details"
      }
    },
    "/api/v1/job/restart": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "operationId": "tenovos.action.JobService.Restart",
        "description": "Restarts one or more jobs that are in a terminal state (FAILED, COMPLETE, or CANCELED).\n\nRequest:\nids        - List of job IDs to restart. Only jobs in a terminal state (FAILED, COMPLETE, or CANCELED) are eligible. The original jobs are not modified — a new job is created for each, preserving the original workflow and input payload.\n\nResponse:\nids        - IDs of the newly created jobs. Use these to track the restarted executions via the retrieve or list endpoints.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Job_Restart_Request"
              },
              "example": {
                "ids": [
                  "job_01hbgk5cqef94v60bqg6qfv680"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Job_Restart_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Restart a job"
      }
    },
    "/api/v1/job/cancel": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "operationId": "tenovos.action.JobService.Cancel",
        "description": "Cancels one or more in-progress jobs, stopping further task execution.\n\nRequest:\nids        - List of job IDs to cancel. Only jobs not already in a terminal state\n(FAILED, COMPLETE, or CANCELED) can be canceled. Jobs in RUNNING or\nSUSPENDED states are eligible.\n\nResponse:\nids        - List of IDs of the jobs that were successfully canceled.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_action_Job_Cancel_Request"
              },
              "example": {
                "ids": [
                  "job_01hbgk5cqef94v60bqg6qfv680"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_action_Job_Cancel_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Cancel a job"
      }
    },
    "/api/v1/share-auth/generate-otp": {
      "post": {
        "tags": [
          "Share Authentication"
        ],
        "operationId": "tenovos.sharing.ShareAuthService.GenerateOtp",
        "description": "Generates and sends a one-time passcode (OTP) to the recipient of a share, initiating passwordless authentication.\n\nRequest:\nshareAccessId      - The share access ID identifying which share the OTP is for.\nexpiresInSeconds   - Lifetime of the generated OTP in seconds.\n\nResponse:\n(empty) - The OTP is delivered out-of-band (e.g. via email) to the share recipient.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_ShareAuth_GenerateOtp_Request"
              },
              "example": {
                "shareAccessId": "share_01hbgk5cqef94v60bqg6qfv690",
                "expiresInSeconds": 600
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_ShareAuth_GenerateOtp_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Generate share access code"
      }
    },
    "/api/v1/share-auth/exchange-otp": {
      "post": {
        "tags": [
          "Share Authentication"
        ],
        "operationId": "tenovos.sharing.ShareAuthService.ExchangeOtp",
        "description": "Exchanges a valid OTP for a short-lived access token that grants access to the share.\n\nRequest:\nshareAccessId   - The share access ID the OTP was generated for.\notp               - The one-time passcode provided by the share recipient.\n\nResponse:\ntoken          - A short-lived bearer token granting access to the associated share.\nexpiresIn     - Lifetime of the token in seconds.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_ShareAuth_ExchangeOtp_Request"
              },
              "example": {
                "shareAccessId": "share_01hbgk5cqef94v60bqg6qfv690",
                "otp": "847291"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_ShareAuth_ExchangeOtp_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Exchange code for token"
      }
    },
    "/api/v1/share/create": {
      "post": {
        "tags": [
          "Sharing"
        ],
        "operationId": "tenovos.sharing.ShareService.Create",
        "description": "Creates a new share granting one or more external users access to a set of documents until an expiry time.\n\nRequest:\nusers            - List of User entries specifying each recipient's email and access level\n(VIEW or VIEW_DOWNLOAD).\ndocumentIds     - List of document IDs to include in the share.\nexpiryTime      - Timestamp at which the share will automatically expire.\nsiteId          - ID of the site through which recipients will access the share.\n\nResponse:\nshareItem   - The created ShareItem including its assigned id, users, documentIds,\nexpiryTime, siteId, createdAt, and initial status (ACTIVE).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_Share_Create_Request"
              },
              "example": {
                "users": [
                  {
                    "email": "partner@agency.com",
                    "accessLevel": "VIEW_DOWNLOAD"
                  },
                  {
                    "email": "client@brand.com",
                    "accessLevel": "VIEW"
                  }
                ],
                "documentIds": [
                  "doc_01hbgk5cqef94v60bqg6qfv581",
                  "doc_01hbgk5cqef94v60bqg6qfv582"
                ],
                "expiryTime": "2025-09-30T23:59:59.000Z",
                "siteId": "site_01hbgk5cqef94v60bqg6qfv700"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_Share_Create_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Create a share"
      }
    },
    "/api/v1/share/update": {
      "post": {
        "tags": [
          "Sharing"
        ],
        "operationId": "tenovos.sharing.ShareService.Update",
        "description": "Updates the document list and/or expiry time of an existing share.\n\nRequest:\nid               - ID of the share to update.\ndocumentIds     - Replacement list of document IDs for the share.\nexpiryTime      - New expiry timestamp for the share.\n\nResponse:\nshareItem   - The updated ShareItem reflecting the applied changes.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_Share_Update_Request"
              },
              "example": {
                "id": "share_01hbgk5cqef94v60bqg6qfv690",
                "expiryTime": "2025-12-31T23:59:59.000Z"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_Share_Update_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update a share"
      }
    },
    "/api/v1/share/retrieve": {
      "post": {
        "tags": [
          "Sharing"
        ],
        "operationId": "tenovos.sharing.ShareService.Retrieve",
        "description": "Retrieves a share by its ID.\n\nRequest:\nid   - ID of the share to retrieve.\n\nResponse:\nshareItem   - The ShareItem including users, documentIds, expiryTime, status, and timestamps.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_Share_Retrieve_Request"
              },
              "example": {
                "ids": [
                  "share_01hbgk5cqef94v60bqg6qfv690"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_Share_Retrieve_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get a share"
      }
    },
    "/api/v1/share/list": {
      "post": {
        "tags": [
          "Sharing"
        ],
        "operationId": "tenovos.sharing.ShareService.List",
        "description": "Lists shares created by the authenticated user, with optional inclusion of revoked shares and pagination.\n\nRequest:\nincludeRevoked    - When true, includes shares with REVOKED status in the results.\npagination         - Optional Pagination cursor and page size.\n\nResponse:\nshareItems        - List of ShareItem objects matching the filter.\nnextPageCursor   - Opaque cursor for the next page. Absent when there are no further results.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_Share_List_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                },
                "includeExpired": false,
                "includeRevoked": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_Share_List_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Search shares"
      }
    },
    "/api/v1/share/update-access": {
      "post": {
        "tags": [
          "Sharing"
        ],
        "operationId": "tenovos.sharing.ShareService.UpdateAccess",
        "description": "Updates the access level for one or more recipients of an existing share.\n\nRequest:\nid             - ID of the share to update access for.\nemails         - List of recipient email addresses whose access level is being changed.\naccessLevel   - The new access level to assign (VIEW or VIEW_DOWNLOAD).\n\nResponse:\nid      - ID of the updated share.\nusers   - Updated list of User entries reflecting the new access levels.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_Share_UpdateAccess_Request"
              },
              "example": {
                "shareId": "share_01hbgk5cqef94v60bqg6qfv690",
                "users": [
                  {
                    "email": "partner@agency.com",
                    "accessLevel": "VIEW"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_Share_UpdateAccess_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Update share access"
      }
    },
    "/api/v1/share/revoke": {
      "post": {
        "tags": [
          "Sharing"
        ],
        "operationId": "tenovos.sharing.ShareService.Revoke",
        "description": "Revokes a share, immediately preventing all recipients from accessing it.\n\nRequest:\nid   - ID of the share to revoke. The share status is set to REVOKED.\n\nResponse:\nid   - ID of the share that was revoked.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_Share_Revoke_Request"
              },
              "example": {
                "ids": [
                  "share_01hbgk5cqef94v60bqg6qfv690"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_Share_Revoke_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Revoke a share"
      }
    },
    "/api/v1/share-retrieval/retrieve-shared-documents": {
      "post": {
        "tags": [
          "Shared Content"
        ],
        "operationId": "tenovos.sharing.ShareRetrievalService.RetrieveSharedDocuments",
        "description": "Returns the documents included in the share associated with the authenticated share token.\n\nRequest:\n(no parameters) - The share is identified from the caller's bearer token issued by ExchangeOtp.\n\nResponse:\ndocuments      - List of ShareDocument entries, each containing an id and optionally the\nfull Document object.\nexpiryTime    - When the share expires.\naccessLevel   - The caller's access level for this share (VIEW or VIEW_DOWNLOAD).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_ShareRetrieval_RetrieveSharedDocuments_Request"
              },
              "example": {
                "pagination": {
                  "maxSize": 25
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_ShareRetrieval_RetrieveSharedDocuments_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get shared documents"
      }
    },
    "/api/v1/share-retrieval/retrieve-content": {
      "post": {
        "tags": [
          "Shared Content"
        ],
        "operationId": "tenovos.sharing.ShareRetrievalService.RetrieveContent",
        "description": "Generates download URLs for specific content items within the scope of the authenticated share.\n\nRequest:\ncontentIds          - List of content IDs to retrieve URLs for.\nrepresentationType  - The content representation to retrieve (e.g. \"original\", \"preview\").\n\nResponse:\ncontent   - A RetrieveUrl.Response containing presigned download URLs and content properties\nfor each requested content ID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_ShareRetrieval_RetrieveContent_Request"
              },
              "example": {
                "contentIds": [
                  "cntnt_01jex8743qef89y5m449ze9wq9"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_ShareRetrieval_RetrieveContent_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get shared content"
      }
    },
    "/api/v1/share-retrieval/retrieve-branding-content": {
      "post": {
        "tags": [
          "Shared Content"
        ],
        "operationId": "tenovos.sharing.ShareRetrievalService.RetrieveBrandingContent",
        "description": "Returns download URLs for the branding content (logo, background, etc.) associated with the share's site.\n\nRequest:\n(no parameters) - Branding is resolved from the share's site configuration.\n\nResponse:\ncontent   - A RetrieveUrl.Response containing presigned download URLs for the site's branding assets.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_sharing_ShareRetrieval_RetrieveBrandingContent_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_sharing_ShareRetrieval_RetrieveBrandingContent_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get branding assets"
      }
    },
    "/api/v1/transform/submit": {
      "post": {
        "tags": [
          "Media Processing"
        ],
        "operationId": "tenovos.transform.TransformService.Submit",
        "description": "Submits one or more media transformation jobs for asynchronous processing.\n\nRequest:\njobs   - List of Job definitions to submit. Each Job includes:\ncontentSource   - The input media, specified as either a url or a contentId.\nname             - Human-readable name for the job.\ntasks            - Ordered list of Task operations to execute. Each Task specifies:\ninputContentLabel  - Optional label to chain output from a prior task as input.\noutputContentLabel - Optional label to reference this task's output in later tasks.\ndetails              - Specifies the operation to perform. One of:\nDelivery         - Defines where to store the transformed output (platform content storage or an external S3 location). Include one Delivery task as the final step of every job.\nImageTransform   - Resize, crop, change format (JPEG, PNG, WebP, AVIF), or convert the color space of an image.\nVideoTranscoding - Transcode video to a different codec, bitrate, or resolution. Optionally generate a poster image, extract a transcription, or produce a keyframe montage.\nDocumentTransform - Extract a poster image or text content from a document (PDF, Office formats).\nnotification     - Optional webhook URL to notify when the job completes.\ncorrelationId   - Optional caller-supplied ID for correlating jobs with external systems.\n\nResponse:\njobs   - List of JobStatusResponse objects, one per submitted job, each containing\nthe assigned job id and initial status (QUEUED or PENDING).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_transform_Submit_Request"
              },
              "example": {
                "jobs": [
                  {
                    "contentId": "cntnt_01jex8743qef89y5m449ze9wq9",
                    "name": "Generate thumbnail 800x600",
                    "tasks": [
                      {
                        "outputContentLabel": "thumbnail",
                        "details": {
                          "imageTransform": {
                            "width": 800,
                            "height": 600,
                            "format": "JPEG",
                            "qualityLevel": 85
                          }
                        }
                      },
                      {
                        "inputContentLabel": "thumbnail",
                        "details": {
                          "delivery": {
                            "contentService": {
                              "representationType": "thumbnail"
                            }
                          }
                        }
                      }
                    ],
                    "notification": {
                      "url": "https://hooks.acme.com/transform-complete"
                    },
                    "correlationId": "job-batch-2025-q3-001"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_transform_Submit_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Submit transform job"
      }
    },
    "/api/v1/transform/status": {
      "post": {
        "tags": [
          "Media Processing"
        ],
        "operationId": "tenovos.transform.TransformService.Status",
        "description": "Retrieves the current status and results of one or more transform jobs by their IDs.\n\nRequest:\nids   - List of job IDs to check status for.\n\nResponse:\njobs   - List of JobStatusResponse objects, each containing:\nid             - Job ID.\nstatus         - Current status (QUEUED, PENDING, INPROGRESS, COMPLETED_OK,\nCOMPLETED_ERROR, or COMPLETED_CANCELLED).\nmessage        - Optional status or error message.\ncorrelationId - The caller-supplied correlation ID, if provided at submission.\nresults        - List of output files produced by the job, each including the filename, download URL, MIME type, size, and type-specific properties (dimensions for images, duration for video, page count for documents).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_transform_Status_Request"
              },
              "example": {
                "ids": [
                  "job_01hbgk5cqef94v60bqg6qfv680"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_transform_Status_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Get transform status"
      }
    },
    "/api/v1/transform/cancel": {
      "post": {
        "tags": [
          "Media Processing"
        ],
        "operationId": "tenovos.transform.TransformService.Cancel",
        "description": "Cancels one or more in-progress or queued transform jobs.\n\nRequest:\nids   - List of job IDs to cancel.\n\nResponse:\n(empty)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/tenovos_transform_Cancel_Request"
              },
              "example": {
                "ids": [
                  "job_01hbgk5cqef94v60bqg6qfv680"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tenovos_transform_Cancel_Response"
                }
              }
            }
          },
          "400": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "499": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "501": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "504": {
            "description": "Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Cancel transform job"
      }
    }
  },
  "tags": [
    {
      "name": "Document Management",
      "description": "Documents are the primary data model in the Content Intelligence Platform. Each document is\na JSON object that holds metadata as flexible name/value pairs — there is no fixed schema\nenforced at the storage layer, which allows content from diverse external systems (DAMs,\ncloud storage, SharePoint, Box, etc.) to be ingested without transformation.\n\nDocuments exist within a graph-like structure where **nodes** (individual documents) and\n**edges** (links between documents) form a highly relational content model. For example,\na `media` document can be linked to a `campaign` document, enabling hierarchical queries\nand relationship traversal across the content graph.\n\n**Document traits** define behavioral capabilities of a document type:\n\n| Trait | Description |\n|---|---|\n| `SUMMARY` | Document has a displayable summary representation |\n| `CHILDREN` | Document can contain child documents |\n| `TILE` | Document can be displayed as a tile/card |\n| `CONTENT` | Document is linked to binary content (files) |\n| `PREVIEW` | Document can generate a visual preview |\n| `INSIGHTS` | Document tracks engagement analytics |\n| `TIMELINE` | Document has a temporal lifecycle (start/end dates) |\n| `VERSION` | Document supports versioning |\n| `SOURCE` | Document tracks its originating content channel |\n\n**Endpoint reference:**\n\n- `create` — create one or more documents of a given kind, with optional external ID for deduplication\n- `retrieve` — fetch a document by ID with full metadata and linked content references\n- `list` — paginated listing of documents, filtered by kind, status, or metadata values\n- `query` — full-text and field-level search across the document graph\n- `query-within` — scoped search within a specific document hierarchy (e.g., within a brand or campaign)\n- `link / unlink` — create or remove typed edges between documents (e.g., link media to a campaign)\n- `retrieve-links` — traverse outbound edges from a document to its related documents\n- `update` — modify document metadata fields; uses partial update (only supplied fields change)\n- `delete / undelete` — soft-delete with restore; deleted documents remain queryable with a filter\n- `purge` — permanently remove a document and all its edges\n- `reindex` — trigger re-indexing of a document into OpenSearch; use after bulk imports or schema changes\n\nDocuments reference binary content managed by the [Content Storage](#tag/Content-Storage) service\nand are typed using [Document Types](#tag/Document-Types) with optional schema enforcement\nvia [Document Schemas](#tag/Document-Schemas).\n"
    },
    {
      "name": "Document Types",
      "description": "Document Types (internally called **kinds**) define the categories of content that exist\nin your organization — controlling how documents are classified, displayed, and processed\nby downstream services. Every document must declare a kind at creation time.\n\nKinds have a **KindType** classification that describes their primary role:\n\n| KindType | Description |\n|---|---|\n| `ASSET` | Represents a binary file or media asset (images, video, documents) |\n| `REFERENCE` | Represents a business entity that other documents relate to (brands, campaigns) |\n| `COLLECTION` | Groups related documents together (categories, playlists) |\n| `LAYOUT` | Structures content for presentation (toolkits, sections, blocks) |\n| `OTHER` | Custom or unclassified kind |\n\n**Platform-provided default kinds:**\n\n| Kind | KindType | Description |\n|---|---|---|\n| `media` | `ASSET` | Represents assets that originate from external channels (images, video, files). Linked to binary content, brands, campaigns, and source channel. |\n| `brand` | `REFERENCE` | Organizational brand entity. Links to a logo and splash image. Fields: `name`, `description`, `fgColor`, `bgColor`. |\n| `campaign` | `REFERENCE` | Marketing campaign. Links to brands and splash images. Fields: `title`, `description`, `brief`, `start`, `end`. |\n| `category` | `COLLECTION` | Dynamically generated content groupings. Supports subcategory hierarchies. Fields: `name`, `label`, `description`, `versionNumber`, `depth`, `isLatest`, `keywords`. |\n| `toolkit` | `LAYOUT` | Groups sections of content representing a brand identity. Links to sections and a parent brand. |\n| `section` | `LAYOUT` | Page layout element holding multiple blocks. Links to a toolkit, parent section, and child blocks. |\n| `block` | `LAYOUT` | Page element holding rich text and media. Links to media items. |\n\nKinds are organized into **groups** for display in the platform UI (e.g., \"Media Assets\",\n\"Creative Briefs\"). Use `list-default-groups` to retrieve platform-defined groupings.\nCustom kinds can be created to extend this model for organization-specific content structures.\n\nKinds work in conjunction with [Document Schemas](#tag/Document-Schemas), which define\nthe metadata field structure and validation rules applied to documents of a given kind.\n"
    },
    {
      "name": "Document Schemas",
      "description": "Schemas define the metadata field structure for a Document Type — specifying which fields\nshould be present, their data types, display labels, and validation rules (required, allowed\nvalues, min/max constraints). The platform stores metadata as schemaless name/value pairs\nat the document layer, but schemas allow you to enforce structure when needed.\n\n**Schema types:**\n\n| SchemaType | Description |\n|---|---|\n| `ROOT` | Top-level schema attached directly to a Document Kind |\n| `SUB` | Nested schema for structured sub-objects within a document |\n| `TRAIT` | Schema associated with a behavioral trait (e.g., SUMMARY, TIMELINE) |\n\n**Available field types:**\n\n| Field Type | Description |\n|---|---|\n| `string` | Plain text value |\n| `integer` | Whole number |\n| `number` | Floating point number |\n| `bool` | Boolean true/false |\n| `date` | ISO 8601 date or datetime |\n| `array` | List of values — element type can be `string`, `integer`, `number`, `bool`, or `date` |\n| `object` | Nested JSON object (references a `SUB` schema) |\n| `link` | Edge to another document; has a `cardinality` (`ONE_TO_ONE`, `ONE_TO_MANY`, `MANY_TO_ONE`, `MANY_TO_MANY`) |\n| `ref` | Read-only reference to a field on a linked document |\n| `computed` | Derived field calculated from other field values |\n\n**Schema operations:**\n- `create-schema` — define a new schema and attach it to a kind\n- `update-schema` — revise field definitions; changes apply to subsequent document writes\n- `retrieve-schema / list-schema` — inspect field definitions for a given kind\n- `delete-schema` — remove a schema, returning the kind to free-form metadata mode\n"
    },
    {
      "name": "Document Rules",
      "description": "Document Rules are automated policies that govern how documents behave as they are created\nor updated in the platform. Each rule defines **conditions** (when to fire) and\n**actions** (what to do). Rules are evaluated asynchronously by the Action & Media Flows\nservice whenever a matching document event occurs.\n\n**Condition matching:**\n\nRules evaluate conditions against document fields. The `matchType` controls how multiple\nconditions combine:\n\n| Match Type | Behavior |\n|---|---|\n| `MATCH_ALL` | All conditions must be true (AND logic) |\n| `MATCH_ANY` | At least one condition must be true (OR logic) |\n| `MATCH_NONE` | No conditions may be true (NOT logic) |\n\n**Condition operators:**\n\n| Operator | Description |\n|---|---|\n| `OP_EQ` | Field equals the specified value |\n| `OP_NE` | Field does not equal the specified value |\n| `OP_MATCHES` | Field matches a regular expression |\n| `OP_NOT_MATCHES` | Field does not match a regular expression |\n| `OP_IS_EMPTY` | Field is absent or null |\n| `OP_IS_NOT_EMPTY` | Field is present and non-null |\n\n**Condition sources** — what the condition evaluates against:\n\n| Source | Description |\n|---|---|\n| `SOURCE_KIND` | The document kind (type) |\n| `SOURCE_DOC_VALUE` | The current value of a document field |\n| `SOURCE_PREV_DOC_VALUE` | The previous value of a field (before the triggering update) |\n\n**Available actions:**\n\n| Action | Description |\n|---|---|\n| `setProperty` | Write a metadata field value on the document |\n| `setLink` | Create a link edge between the document and another document |\n| `setPolicy` | Apply an access policy grant (`READ` or `MODIFY`) to the document |\n\n**Rule lifecycle:**\n- `create / update` — define or revise rule conditions and actions\n- `enable / disable` — activate or pause a rule without deleting it\n- `test` — evaluate a rule against a sample document payload before enabling in production\n- `delete` — permanently remove a rule\n"
    },
    {
      "name": "Content Storage",
      "description": "The Content Storage service manages references to binary content (files) through a\npluggable **adapter** model. Adapters represent different physical storage backends —\nfor example, AWS S3 (full read/write), CDN origins (Bunny, Bria), or external DAM\nconnectors. Callers never interact with storage directly; they work with **pre-signed\nURLs** that the service generates on demand, allowing content to be streamed directly\nfrom the storage provider without proxying through the platform.\n\nThe service supports **multiple adapters per organization with a priority ordering**,\nso that suitable storage defaults are chosen automatically without callers needing to\nspecify where content lives. Different adapters can be configured for different storage\nclasses (hot, warm, cold), affecting retrieval latency and cost.\n\n**Content lifecycle:**\n\n| Endpoint | Description |\n|---|---|\n| `register` | Record that a piece of content exists at a known storage location (used during channel sync) |\n| `retrieve-upload-url` | Get a pre-signed URL to upload a new file directly to the configured storage adapter |\n| `stage` | Prepare content for CDN delivery by writing it to the CDN origin adapter |\n| `retrieve-url` | Get a pre-signed download or streaming URL for a content item |\n| `retrieve-info` | Fetch content metadata: size, MIME type, checksums, dimensions (for images) |\n| `list-info` | Batch retrieval of content metadata for multiple items |\n| `update` | Update mutable content metadata (alt text, tags, etc.) |\n| `delete / undelete` | Soft-delete a content record with restore capability |\n| `purge` | Permanently remove the content record (does not delete the underlying file from storage) |\n| `deregister` | Remove the content reference without affecting the underlying stored file |\n\n**Adapter management:**\n\n| Endpoint | Description |\n|---|---|\n| `create-adapter` | Configure a new storage backend for the organization |\n| `update-adapter` | Modify adapter settings (credentials, priority, storage class) |\n| `retrieve-adapter / list-adapters` | Inspect configured adapters |\n| `delete-adapter / undelete-adapter / purge-adapter` | Manage adapter lifecycle |\n"
    },
    {
      "name": "Authentication",
      "description": "These endpoints provide authorization primitives for verifying user permissions and\nbootstrapping new user access within the Content Intelligence Platform.\n\nThe platform uses a role-based access control (RBAC) model managed by the Authorization\nservice. Roles carry named permissions, and users are assigned one or more roles either\nexplicitly or via [User Groups](#tag/User-Groups).\n\n- `has-permission` — check whether the calling user holds a specific named permission;\n  use this as a guard in custom integrations before performing sensitive operations\n- `assign-default-role` — assign the platform default role to a user, typically called\n  during user provisioning or invite acceptance flows\n\nFor fine-grained, resource-level access decisions (e.g., \"can this user access this\nspecific document?\"), see [Access Control](#tag/Access-Control).\nFor managing the roles themselves, see [Roles](#tag/Roles).\n"
    },
    {
      "name": "User Groups",
      "description": "User Groups organize users into named collections for streamlined access control\nand administration. Instead of assigning roles and permissions user-by-user, you assign\nthem to a group and manage membership centrally.\n\nGroups support a full lifecycle:\n- **Create / Update / Retrieve / List** — manage group definitions\n- **Add Member / Revoke Member** — control who belongs to the group\n- **Activate / Disable** — enable or suspend a group without deleting it;\n  disabled groups do not grant their members any access\n- **Purge** — permanently remove a group and its membership records\n\nGroups integrate with the [Roles](#tag/Roles) and [Access Control](#tag/Access-Control)\nsystems, and are a key building block for multi-tenant or brand-scoped permission models.\n"
    },
    {
      "name": "Roles",
      "description": "Roles are named collections of [Permissions](#tag/Permissions) that define what actions\na user can perform across the platform. The platform uses a hierarchical RBAC model where\nusers are assigned roles (directly or via [User Groups](#tag/User-Groups)), and those roles\ncarry the permissions that gate access to API operations and content resources.\n\nRole operations:\n- **Create / Update** — define a role and specify which permissions it grants\n- **Retrieve / List** — inspect role definitions across the organization\n- **Activate / Disable** — toggle a role without deleting it; disabling a role\n  immediately removes its permissions from all assigned users\n- **Purge** — permanently delete a role\n\nRoles are evaluated alongside fine-grained resource policies managed by\n[Access Control](#tag/Access-Control) to produce the final authorization decision\nfor any given user and resource combination.\n"
    },
    {
      "name": "Users",
      "description": "Manage user accounts within an organization — from initial invitation through\nongoing profile management and access lifecycle.\n\n- `create-invite` — send an email invitation to a new user; the invited user completes\n  signup via the platform authentication flow (powered by Clerk)\n- `retrieve / list-users` — inspect user profiles and organization membership\n- `update-user` — modify user profile attributes\n- `assign-user-role` — directly assign a [Role](#tag/Roles) to a specific user\n- `disable-user` — suspend access without deleting the account\n- `delete-user` — remove a user from the organization\n\nUser identity and authentication (login, SSO, MFA) are handled externally by Clerk.\nThese endpoints manage the platform-side user record, role assignments, and access state.\n"
    },
    {
      "name": "Permissions",
      "description": "Permissions are the atomic units of access control — named capabilities that define\nwhat a user or role is allowed to do (e.g., `document:create`, `content:delete`,\n`channel:manage`). Permissions are grouped into [Roles](#tag/Roles), which are then\nassigned to users or [User Groups](#tag/User-Groups).\n\n- `list-permissions` — enumerate all permissions defined in the platform; use this to\n  understand what capabilities are available when designing custom roles\n- `create-permission` — define a new named permission, typically used when extending\n  the platform with custom action types or integration-specific access gates\n"
    },
    {
      "name": "Access Control",
      "description": "Access Control provides fine-grained, resource-level authorization on top of the\nrole-based model. Where [Roles](#tag/Roles) and [Permissions](#tag/Permissions) define\nwhat a user can do in general, Access Control governs what a user can do to a\nspecific resource (e.g., a particular document, channel, or brand).\n\nDocument-level access supports two grant types:\n\n| Grant | Description |\n|---|---|\n| `READ` | User can view and retrieve the resource |\n| `MODIFY` | User can update or delete the resource |\n\n- `has-access` — evaluate whether the calling user has access to a specific resource;\n  the primary authorization check for content-level operations\n- `retrieve-resource-groups` — list the logical resource groups a user has access to,\n  used for scoping queries and UI navigation\n- `grant-access` — explicitly grant a user or group access to a specific resource\n- `revoke-access` — remove a previously granted resource-level access\n"
    },
    {
      "name": "API Keys",
      "description": "API Keys enable programmatic, non-interactive access to the platform — suitable\nfor server-to-server integrations, CI/CD pipelines, and automated content workflows\nthat cannot use user-delegated OAuth tokens.\n\nEach API key is scoped to the organization of the user who creates it and carries\nthat user's permissions. Keys should be stored securely and rotated regularly.\n\n- `create-api-key` — generate a new API key; the raw key value is only returned once at creation\n- `list-api-keys` — enumerate existing keys (key values are not re-exposed)\n- `revoke-api-key` — permanently invalidate a key; any integrations using it will lose access immediately\n"
    },
    {
      "name": "Channels",
      "description": "Channels are the integration layer for connecting to external content systems —\ncloud storage, DAM platforms, social media, enterprise file systems, and others. Each\nChannel is a configured, authenticated connection to one of these external sources that\nthe platform monitors, indexes, and keeps in sync.\n\nThe Channel Manager authenticates against external systems, scans for new and modified\ncontent, manages webhook subscriptions for real-time change notifications, and makes\nraw content available for retrieval — without managing the binary files directly.\nBinary retrieval is handled via pre-signed URLs delegated to [Content Storage](#tag/Content-Storage).\n\n**Channel categories:**\n\n| Category | Description |\n|---|---|\n| `ORIGIN` | External content source to pull from (Box, Google Drive, SharePoint, S3, DAMs, etc.) |\n| `OBSERVATION` | External system to observe for engagement events (Instagram, Facebook, Website, etc.) |\n| `DELIVERY` | Destination to push content to |\n\n**Currently available channel types:**\n\n*Origin (content pull):*\n| Channel | Group | Auth |\n|---|---|---|\n| Box | Cloud File Storage | OAuth |\n| Google Drive | Cloud File Storage | OAuth |\n| AWS S3 | Object Store | Service Credentials |\n| Tenovos DAM | DAM | OAuth |\n| Adobe AEM | DAM | Service Credentials |\n| Sitecore | DAM | OAuth |\n| Bynder | DAM | OAuth |\n| Brand Folder | DAM | OAuth |\n| Azure Blob | Object Store | OAuth |\n| Google Cloud Storage | Object Store | OAuth |\n| SharePoint | Cloud File Storage | OAuth |\n\n*Observation (engagement events):*\n| Channel | Group |\n|---|---|\n| Instagram | Social |\n| Facebook | Social |\n| Website | Content Management and Sites |\n\n**Authentication methods:**\n\n| Auth Type | Description |\n|---|---|\n| `OAUTH` | User-delegated OAuth 2.0 flow; use `retrieve-oauth-url` then `update-auth` |\n| `API_KEY` | Static API key submitted during channel creation |\n| `BASIC_AUTH` | Username and password credentials |\n| `SERVICE_CREDENTIALS` | Service account JSON or IAM role credentials (used by Adobe AEM, AWS S3) |\n\n**Channel status lifecycle:**\n\n| Status | Description |\n|---|---|\n| `DRAFT` | Channel created but not yet authenticated |\n| `AUTHENTICATED` | Credentials stored; not yet scanning |\n| `ENABLED` | Actively scanning and webhook-registered |\n| `DISABLED` | Paused; configuration and credentials retained |\n\n**Channel lifecycle endpoints:**\n- `list-channel-types / retrieve-channel-types` — discover available integrations and their configuration requirements\n- `create-channel` — configure a new connection (name, settings, auth)\n- `update-channel` — modify an existing channel's settings\n- `enable-channel` — activate scanning and webhook registration; channel begins syncing content\n- `disable-channel` — pause sync without deleting configuration; webhooks are torn down\n- `delete-channel / purge-channels` — remove channel(s) and all associated webhooks and scan state\n- `validate-channel-config` — test credentials and connectivity before enabling; returns `OK`, `AUTH_FAILURE`, or `CONFIG_FAILURE`\n\n**Authentication flow endpoints:**\n- `retrieve-oauth-url` — get the OAuth authorization URL to redirect a user through\n- `update-auth` — exchange an OAuth authorization code or service credentials for stored tokens\n\n**Content discovery endpoints:**\n- `retrieve-folders` — browse the folder, site, or library tree of a connected source\n- `get-config-description` — fetch the dynamic field schema for configuring a channel type; field types are `TREE`, `DROPDOWN`, or `TEXT`\n- `get-config-details` — retrieve selectable items (sites, folders, document libraries) for a specific channel instance\n- `scan-content` — manually trigger or resume a paginated content scan\n- `retrieve-content` — generate pre-signed download URLs for specific content items from the source\n- `retrieve-content-metadata` — fetch metadata for a specific item directly from the external source\n- `retrieve-content-data` — stream raw file content from the external source\n- `retrieve-channel-account` — return the authenticated account info (user profile, tenant ID, etc.) for a connected channel\n\n**Sync and operations:**\n- `resolve-webhook-payload` — parse an inbound push notification from an external system into a normalized platform event (used internally)\n- `channel-stats` — retrieve scan statistics and sync state (`ACTIVE`, `INACTIVE`, `SYNCING`, or `ERROR`) for a channel\n\n**Scan behavior:**\nEnabled channels run on an automatic schedule. Initial scans perform a full content crawl;\nsubsequent delta scans (default interval: 10 minutes) retrieve only changes since the last\nsuccessful scan using source-native change detection (e.g., Graph delta queries for SharePoint,\nchange tokens for Box). Failed scans retry up to 5 times with a 30-minute cooldown between attempts.\n"
    },
    {
      "name": "Workflows",
      "description": "Workflows (internally \"flows\") are the orchestration mechanism for longer-running,\nmulti-step content operations. Where individual API calls handle atomic short-lived\noperations, Workflows wire multiple service calls together into a **composite action** —\nfor example: ingest content from a Channel → extract metadata → apply Document Rules →\npublish to a destination.\n\nThe platform's services are designed around short-lived RPC calls. Workflows bridge them\ninto durable, sequenced processes managed by the Action & Media Flows service, with each\nstep tracked as a [Job](#tag/Jobs).\n\n- **Create / Update** — define a workflow, its steps, and step configuration\n- **Retrieve / List** — inspect workflow definitions; `list-default-groups` returns\n  platform-provided workflow templates as a starting point\n- **Enable / Disable** — activate or pause a workflow without deleting it\n- **Purge** — permanently remove a workflow definition\n\nRunning instances of a workflow are tracked as [Jobs](#tag/Jobs). Use the Jobs API\nto monitor progress, handle failures, and restart or cancel executions.\n"
    },
    {
      "name": "Actions",
      "description": "Actions are the individual, atomic operations that can be composed into\n[Workflows](#tag/Workflows). Each action represents a discrete capability of the\nplatform — for example, \"ingest document from channel\", \"run media transform\",\n\"apply metadata schema\", \"send notification\", or \"publish to destination\".\n\nThese endpoints are read-only discovery endpoints:\n- `list` — enumerate all available actions in the platform; filter by category or type\n  to find actions relevant to a specific workflow step\n- `retrieve` — fetch the full definition of a specific action, including its input\n  parameters, output shape, and configuration requirements\n\nUse the Actions API to programmatically build or validate workflow definitions without\nrelying on hardcoded action identifiers.\n"
    },
    {
      "name": "Jobs",
      "description": "Jobs represent individual executions of [Workflow](#tag/Workflows) steps or standalone\nasync operations (such as a media transform). The Job system provides visibility into\nthe progress, status, and output of long-running background tasks managed by the\nAction & Media Flows service.\n\nEach job moves through a lifecycle: queued → running → succeeded / failed. Jobs run\nin isolated per-organization priority queues, ensuring one organization's workload does\nnot block another's.\n\n- `list` — query jobs by workflow, status, date range, or content reference\n- `retrieve` — fetch the full status, logs, and output of a specific job\n- `restart` — re-queue a failed job; useful for transient failures such as network\n  timeouts or temporary service unavailability\n- `cancel` — terminate a running or queued job; the job will not be retried\n"
    },
    {
      "name": "Share Authentication",
      "description": "Share Authentication handles identity verification for **external recipients** —\npeople outside the organization who have received a share link but do not have\na platform account.\n\nThe platform uses a one-time passcode (OTP) flow for external share access:\n1. The recipient visits a share link and enters their email address\n2. `generate-otp` sends a time-limited OTP to that address\n3. The recipient submits the OTP via `exchange-otp`, which returns a short-lived\n   access token scoped to the specific share\n\nThis token is then used to call the [Shared Content](#tag/Shared-Content) endpoints.\nIt grants access only to what was explicitly included in the share — no other\nplatform data is accessible.\n"
    },
    {
      "name": "Sharing",
      "description": "The Sharing API lets platform users distribute content to external recipients — people\nwithout a platform account — in a controlled, auditable way. Shares are scoped to\nspecific documents or collections and can be time-limited, password-protected,\nor restricted to specific recipient email addresses.\n\n- `create` — create a new share, specifying documents, recipients, expiry, and access level\n- `update` — modify share settings (expiry date, recipient list, permissions)\n- `retrieve / list` — inspect share details and enumerate active shares in the organization\n- `update-access` — adjust what a specific recipient can do (view-only, download, etc.)\n- `revoke` — immediately invalidate a share; recipients lose access on their next request\n\nExternal recipients authenticate into a share using [Share Authentication](#tag/Share-Authentication)\nand then access content via [Shared Content](#tag/Shared-Content).\n"
    },
    {
      "name": "Shared Content",
      "description": "These endpoints are called by **external share recipients** after authenticating via\n[Share Authentication](#tag/Share-Authentication). They provide a read-only, scoped\nview of the content included in a specific share — no other platform data is accessible.\n\n- `retrieve-shared-documents` — list the documents included in the share, with metadata\n- `retrieve-content` — get a pre-signed download URL for a specific shared content item\n- `retrieve-branding-content` — fetch branding assets (logo, colors, fonts) associated\n  with the share, used to render the share portal with the sender's organization branding\n"
    },
    {
      "name": "Media Processing",
      "description": "The Media Processing API exposes the Transform service — a managed job queue for\nconverting, resizing, transcoding, and analyzing media files. Each organization has its\nown isolated priority queue, ensuring processing workloads remain independent across tenants.\n\nWorkers execute in Docker containers on AWS Lambda (migrating to Spot Fargate) and\nsupport a wide range of operations:\n\n| Operation | Examples |\n|---|---|\n| **Image processing** | Resize, crop, format conversion (JPEG, PNG, WebP, AVIF), resolution scaling, thumbnail generation |\n| **Video transcoding** | Format conversion, bitrate adjustment, preview clip generation |\n| **Document conversion** | Office/PDF to image preview, page extraction |\n| **AI enrichment** | Image hash generation, visual feature extraction, content classification, captioning (via AWS Bedrock) |\n\n**Job operations:**\n- `submit` — enqueue a new transform job, specifying the input content reference,\n  operation type, and output parameters; returns a job ID for status tracking\n- `status` — poll the current state of a job (`queued`, `running`, `completed`, `failed`)\n  and retrieve the output content location when complete\n- `cancel` — remove a queued job before execution begins; jobs already running cannot\n  be cancelled mid-execution\n"
    }
  ]
}