> ## Documentation Index
> Fetch the complete documentation index at: https://developers.portao3.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# /realms/{realmId}/organizations/{organizationId}/business-policies/generate-description



## OpenAPI

````yaml /api-reference/ruleengine.openapi.json post /realms/{realmId}/organizations/{organizationId}/business-policies/generate-description
openapi: 3.0.3
info:
  title: Ruleengine
  version: 1.0.0
  description: >-
    Portão 3 ruleengine API. Generated by tools/openapi from code (routes +
    security) and the hand-written spec (request/response bodies). Confidence
    tiers: generated:typed=25 copied:manual=0 unknown=0.
servers:
  - url: https://api.ruleengine.v2.portao3.com.br/
    description: production
  - url: https://api.ruleengine.dev.3pers.com.br/
    description: development
security:
  - bearerAuth: []
tags:
  - name: Business Policies
  - name: Policy Evaluations
  - name: Policy Requests
paths:
  /realms/{realmId}/organizations/{organizationId}/business-policies/generate-description:
    post:
      tags:
        - Business Policies
      summary: >-
        /realms/{realmId}/organizations/{organizationId}/business-policies/generate-description
      operationId: >-
        postRealmsByRealmIdOrganizationsByOrganizationIdBusinessPoliciesGenerateDescription
      parameters:
        - name: realmId
          in: path
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                context:
                  type: string
                name:
                  type: string
                description:
                  type: string
                order:
                  type: number
                status:
                  type: string
                actions:
                  type: object
                  properties:
                    hierarchy:
                      type: boolean
                    autoAction:
                      type: string
                    moveBalance:
                      type: object
                      additionalProperties: {}
                    approvals:
                      maxItems: 50
                      type: array
                      items:
                        type: object
                        properties:
                          type:
                            type: string
                          id:
                            type: string
                          name:
                            type: string
                conditions: {}
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  description:
                    type: string
                    description: >-
                      A short pt-BR description of the policy, at most 160
                      characters.
                required:
                  - description
                description: '`POST .../business-policies/generate-description` response.'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````