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

# Buscar uma Smart Template por ID

> Busca uma Smart Template pelo seu identificador público.



## OpenAPI

````yaml /pt-BR/scribe-api/openapi-institutional.json get /v1/medical-record-configurations/{configuration_id}
openapi: 3.1.0
info:
  title: Scribe Public API
  description: >-
    API REST externa para integração com a plataforma Telepatia. Autentique-se
    com chaves de API, defina o contexto da consulta e busque sessões de scribe.
  version: 0.1.0
servers:
  - url: https://scribe-api.telepatia.ai
    description: Production
security:
  - BearerAuth: []
paths:
  /v1/medical-record-configurations/{configuration_id}:
    get:
      tags:
        - Medical Record Configurations
      summary: Buscar uma Smart Template por ID
      description: Busca uma Smart Template pelo seu identificador público.
      operationId: >-
        api_medical_record_configuration_get_v1_medical_record_configurations__configuration_id__get
      parameters:
        - name: configuration_id
          in: path
          required: true
          schema:
            type: string
            title: Configuration Id
      responses:
        '200':
          description: Resposta bem-sucedida
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MrcDetailResponse'
        '401':
          description: Não autorizado — chave de API ausente ou inválida.
          content:
            application/json:
              examples:
                authentication_required:
                  summary: Invalid or missing API key
                  value:
                    error:
                      type: authentication_error
                      code: authentication_required
                      message: Invalid API key.
                      requestId: 3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Não encontrado — o recurso solicitado não existe.
          content:
            application/json:
              examples:
                resource_not_found:
                  summary: Resource not found
                  value:
                    error:
                      type: invalid_request_error
                      code: resource_not_found
                      message: No session scribe found for the given consultation ID.
                      requestId: 3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Serviço indisponível — uma dependência externa está indisponível.
          content:
            application/json:
              examples:
                service_unavailable:
                  summary: External service unavailable
                  value:
                    error:
                      type: api_error
                      code: service_unavailable
                      message: >-
                        The service is temporarily unavailable. Please try again
                        later.
                      requestId: 3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    MrcDetailResponse:
      properties:
        id:
          type: string
          title: Id
          description: Stable public identifier.
          examples:
            - mrc_a1b2c3d4e5f6g7h8
        name:
          type: string
          title: Name
          description: Display name (defaults to the public id when none was set).
          examples:
            - Cardiology intake
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Optional human-readable description of the template.
          examples:
            - Intake template for the cardiology outpatient clinic.
        hash:
          type: string
          title: Hash
          description: Content hash used to detect configuration changes.
        createdAt:
          type: string
          title: Createdat
          description: ISO-8601 timestamp when the configuration was created.
        configuration:
          additionalProperties:
            $ref: '#/components/schemas/MrcSectionModel'
          type: object
          title: Configuration
          description: >-
            Section configurations keyed by section name (e.g.,
            'chiefComplaint', 'vitals').
        specialties:
          items:
            type: string
          type: array
          title: Specialties
          description: Medical specialty values this configuration applies to.
          examples:
            - - cardiology
        status:
          $ref: '#/components/schemas/MrcStatus'
          description: >-
            Lifecycle status: `active`, `inactive` (archived/draft), or
            `deleted`.
          examples:
            - active
        workflow:
          anyOf:
            - type: string
            - type: 'null'
          title: Workflow
          description: >-
            Product this template belongs to. Null for an ordinary Scribe
            template.
          examples:
            - reportDictation
      type: object
      required:
        - id
        - name
        - hash
        - createdAt
        - configuration
        - status
      title: MrcDetailResponse
      description: Full medical record configuration (detail response).
    ErrorResponse:
      description: Envelope padronizado de resposta de erro.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetailWithRequestId'
      required:
        - error
      title: ErrorResponse
      type: object
    MrcSectionModel:
      properties:
        systemPrompt:
          anyOf:
            - type: string
            - type: 'null'
          title: Systemprompt
          description: Optional raw system prompt for this section.
        instructionSet:
          anyOf:
            - $ref: '#/components/schemas/InstructionSetModel'
            - type: 'null'
          description: Optional reference to a Telepatia managed prompt.
        schema:
          $ref: '#/components/schemas/OutputSchemaModel'
          description: Output schema for this section.
      type: object
      required:
        - schema
      title: MrcSectionModel
      description: >-
        The typed configuration for a single section within a medical record
        configuration.
    MrcStatus:
      type: string
      enum:
        - active
        - inactive
        - deleted
      title: MrcStatus
      description: Public lifecycle status exposed on list/detail responses.
    ErrorDetailWithRequestId:
      description: >-
        Top-level error object: :class:`ErrorDetail` plus the request
        correlation id.


        Kept as a subclass rather than a field on ``ErrorDetail`` because
        ``ErrorDetail`` is

        also the per-item error shape inside the batch account-creation response

        (``BatchAccountResult.error``), which is serialized with nulls included.
        Adding the

        field there would publish ``"requestId": null`` on an HTTP 200, and
        there is only

        ever one request id per batch anyway -- batch callers read the
        ``X-Request-ID``

        response header.
      properties:
        type:
          description: Broad error category for high-level handling.
          examples:
            - invalid_request_error
          title: Type
          type: string
        code:
          description: Machine-readable error code. Clients should switch on this value.
          examples:
            - parameter_invalid
          title: Code
          type: string
        message:
          description: Human-readable error message ending with a period.
          examples:
            - >-
              idCountry must be a valid country name, ISO alpha-2, or ISO
              alpha-3 code.
          title: Message
          type: string
        param:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: The request field that caused the error, if applicable.
          examples:
            - idCountry
          title: Param
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          default: null
          description: Optional structured, machine-readable context for the error.
          examples:
            - pendingConsultations:
                - sessionId: abc123
                  url: https://...
          title: Details
        requestId:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          description: >-
            Unique id for this request, identical to the X-Request-ID response
            header. Quote it when contacting support.
          examples:
            - 3f9a1c2e-5b7d-4a21-9f0c-8e6d4b2a1c30
          title: Requestid
      required:
        - type
        - code
        - message
      title: ErrorDetailWithRequestId
      type: object
    InstructionSetModel:
      properties:
        telepatiaPromptId:
          type: string
          title: Telepatiapromptid
          description: Identifier of the Telepatia-managed prompt.
        values:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Values
          description: Optional variable values passed into the prompt.
      type: object
      required:
        - telepatiaPromptId
      title: InstructionSetModel
      description: Reference to a Telepatia managed prompt.
    OutputSchemaModel:
      properties:
        type:
          type: string
          title: Type
          description: >-
            Schema type (string, object, array, boolean, integer, number, code,
            codeList).
        instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Instructions
          description: Free-form generation instructions.
        examples:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Examples
          description: Reference outputs that guide generation for a textual property.
        properties:
          anyOf:
            - items:
                $ref: '#/components/schemas/OutputSchemaPropertyModel'
              type: array
            - type: 'null'
          title: Properties
          description: Named properties (only present when type=object).
        items:
          anyOf:
            - $ref: '#/components/schemas/OutputSchemaModel'
            - type: 'null'
          description: Schema of array items (only present when type=array).
        enum:
          anyOf:
            - items:
                anyOf:
                  - type: string
                  - $ref: '#/components/schemas/EnumOptionModel'
              type: array
            - type: 'null'
          title: Enum
          description: >-
            Allowed values. Either plain strings, or `{label, value}` objects
            that decouple display (`label`) from the stored code (`value`).
        minimum:
          anyOf:
            - type: number
            - type: 'null'
          title: Minimum
          description: Minimum numeric value.
        maximum:
          anyOf:
            - type: number
            - type: 'null'
          title: Maximum
          description: Maximum numeric value.
        minLength:
          anyOf:
            - type: integer
            - type: 'null'
          title: Minlength
          description: Minimum string length.
        maxLength:
          anyOf:
            - type: integer
            - type: 'null'
          title: Maxlength
          description: Maximum string length.
        format:
          anyOf:
            - type: string
            - type: 'null'
          title: Format
          description: >-
            String format hint: 'date', 'time', or 'date-time' (generation
            returns ISO).
        required:
          type: boolean
          title: Required
          description: >-
            Whether the field must be generated. Defaults to false when omitted
            (the field is optional).
          default: false
        default:
          title: Default
          description: >-
            Value substituted when generation extracts nothing; type must match
            `type`.
        system:
          anyOf:
            - type: string
            - type: 'null'
          title: System
          description: Catalog identifier for a code or codeList field, such as icd-10.
        source:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Source
          description: >-
            Sibling property names used for coding. Null means all non-code
            siblings.
        maxOptions:
          anyOf:
            - type: integer
            - type: 'null'
          title: Maxoptions
          description: >-
            Maximum number of ranked alternatives per code. Defaults to 1 when
            omitted.
      type: object
      required:
        - type
      title: OutputSchemaModel
      description: >-
        Esquema recursivo de modelo retornado por GET, com propriedades
        aninhadas, itens de array e configuração de codificação. Os nomes de
        origem são retornados como lista.
    OutputSchemaPropertyModel:
      properties:
        key:
          type: string
          title: Key
          description: Property key.
        schema:
          $ref: '#/components/schemas/OutputSchemaModel'
          description: Schema describing this property.
      type: object
      required:
        - key
        - schema
      title: OutputSchemaPropertyModel
      description: A named property within an object output schema.
    EnumOptionModel:
      properties:
        label:
          type: string
          title: Label
          description: Human-readable display label.
        value:
          type: string
          title: Value
          description: Stable stored code (e.g. catalog id, ICD-10, SNOMED).
      type: object
      required:
        - label
        - value
      title: EnumOptionModel
      description: 'A decoupled enum option: display ``label`` vs stored ``value`` (code).'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Chave de API enviada como token Bearer

````