> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get section impact

> Returns the templates and sections that a change to this section can affect.

The `templates` group lists templates whose published version links this section or a
descendant section. It also lists templates that inherit their section list from a parent
template that links the section. The `sections` group lists the descendant sections that
inherit from this section.

Counts respect the caller's visibility, so the same section can return different
counts for different callers.

A template appears once. When a template reaches the section through more than one
path, the response keeps the strongest path. The order is `direct`, then
`inheritedSection`, then `inheritedTemplate`.

Each `items` array holds at most 50 entries. When the 50-entry display cap or the
inheritance depth cap removes entries, `truncated` is true.

Returns 404 when the caller cannot see the section.




## OpenAPI

````yaml /api-reference/auto-generated-openapi.yml get /documents/sections/{sectionID}/impact
openapi: 3.0.0
info:
  title: Corti API
  version: 2.0.0
servers:
  - url: https://api.{environment}.corti.app/v2/
    variables:
      environment:
        default: eu
        enum:
          - us
          - eu
security:
  - AuthorizationHeader:
      - bearer
tags:
  - name: Interactions
  - name: Recordings
  - name: Transcripts
  - name: Facts
  - name: Codes
  - name: Languages
  - name: Guided Documents
  - name: Guided Templates
  - name: Guided Sections
  - name: Documents (Classic)
  - name: Templates (Classic)
paths:
  /documents/sections/{sectionID}/impact:
    parameters:
      - $ref: '#/components/parameters/Tenant-Name'
      - $ref: '#/components/parameters/GuidedSectionId'
    get:
      tags:
        - Guided Sections
      summary: Get section impact
      description: >
        Returns the templates and sections that a change to this section can
        affect.


        The `templates` group lists templates whose published version links this
        section or a

        descendant section. It also lists templates that inherit their section
        list from a parent

        template that links the section. The `sections` group lists the
        descendant sections that

        inherit from this section.


        Counts respect the caller's visibility, so the same section can return
        different

        counts for different callers.


        A template appears once. When a template reaches the section through
        more than one

        path, the response keeps the strongest path. The order is `direct`, then

        `inheritedSection`, then `inheritedTemplate`.


        Each `items` array holds at most 50 entries. When the 50-entry display
        cap or the

        inheritance depth cap removes entries, `truncated` is true.


        Returns 404 when the caller cannot see the section.
      operationId: guided_sections_impact
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuidedSectionImpactResponse'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    Tenant-Name:
      name: Tenant-Name
      in: header
      description: >-
        Identifies a distinct entity within Corti's multi-tenant system. Ensures
        correct routing and authentication of the request.
      required: true
      example: base
      schema:
        type: string
        description: >-
          Identifies a distinct entity within Corti's multi-tenant system.
          Ensures correct routing and authentication of the request.
        example: base
    GuidedSectionId:
      name: sectionID
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    GuidedSectionImpactResponse:
      type: object
      description: The templates and sections that a change to a section can affect.
      required:
        - templates
        - sections
      properties:
        templates:
          $ref: '#/components/schemas/GuidedSectionImpactTemplates'
        sections:
          $ref: '#/components/schemas/GuidedSectionImpactSections'
    GuidedSectionImpactTemplates:
      type: object
      description: Templates whose generation output changes when this section changes.
      required:
        - truncated
        - items
      properties:
        truncated:
          type: boolean
          description: >-
            True when the group does not hold all the templates. The 50-entry
            display cap or the inheritance depth cap can cause this.
        items:
          type: array
          description: The templates that the change can affect. Holds at most 50 entries.
          maxItems: 50
          items:
            $ref: '#/components/schemas/GuidedSectionImpactTemplateItem'
    GuidedSectionImpactSections:
      type: object
      description: Descendant sections that inherit from this section.
      required:
        - truncated
        - items
      properties:
        truncated:
          type: boolean
          description: >-
            True when the group does not hold all the descendant sections. The
            50-entry display cap or the inheritance depth cap can cause this.
        items:
          type: array
          description: The descendant sections. Holds at most 50 entries.
          maxItems: 50
          items:
            $ref: '#/components/schemas/GuidedSectionImpactSectionItem'
    ErrorResponse:
      type: object
      required:
        - requestid
        - status
        - type
        - detail
      properties:
        requestid:
          type: string
        status:
          type: integer
        type:
          type: string
        detail:
          type: string
        validationErrors:
          type: array
          items:
            type: object
            additionalProperties:
              type: string
    GuidedSectionImpactTemplateItem:
      oneOf:
        - $ref: '#/components/schemas/GuidedSectionImpactTemplateDirect'
          title: Direct
        - $ref: '#/components/schemas/GuidedSectionImpactTemplateInheritedSection'
          title: InheritedSection
        - $ref: '#/components/schemas/GuidedSectionImpactTemplateInheritedTemplate'
          title: InheritedTemplate
      discriminator:
        propertyName: via
        mapping:
          direct: '#/components/schemas/GuidedSectionImpactTemplateDirect'
          inheritedSection: '#/components/schemas/GuidedSectionImpactTemplateInheritedSection'
          inheritedTemplate: '#/components/schemas/GuidedSectionImpactTemplateInheritedTemplate'
    GuidedSectionImpactSectionItem:
      type: object
      description: A descendant section that inherits from this section.
      required:
        - id
        - name
        - depth
      properties:
        id:
          description: The UUID of the descendant section.
          type: string
          format: uuid
        name:
          description: The name of the descendant section.
          type: string
        depth:
          type: integer
          minimum: 1
          description: The inheritance depth from this section. `1` is a direct child.
    GuidedSectionImpactTemplateDirect:
      type: object
      description: The template links this section directly.
      required:
        - id
        - name
        - via
      properties:
        id:
          description: The UUID of the template.
          type: string
          format: uuid
        name:
          description: The name of the template.
          type: string
        via:
          type: string
          enum:
            - direct
    GuidedSectionImpactTemplateInheritedSection:
      type: object
      description: The template links a descendant section that inherits from this section.
      required:
        - id
        - name
        - via
        - viaSectionId
      properties:
        id:
          description: The UUID of the template.
          type: string
          format: uuid
        name:
          description: The name of the template.
          type: string
        via:
          type: string
          enum:
            - inheritedSection
        viaSectionId:
          description: The descendant section that the template references.
          type: string
          format: uuid
    GuidedSectionImpactTemplateInheritedTemplate:
      type: object
      description: >-
        The template inherits its section list from a parent template that links
        this section.
      required:
        - id
        - name
        - via
        - viaTemplateId
      properties:
        id:
          description: The UUID of the template.
          type: string
          format: uuid
        name:
          description: The name of the template.
          type: string
        via:
          type: string
          enum:
            - inheritedTemplate
        viaTemplateId:
          description: The parent template that the template inherits from.
          type: string
          format: uuid
  responses:
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    AuthorizationHeader:
      type: http
      description: Input your token
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.