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

> ## Agent Instructions
> Documentazione di Business Insider. Il testo completo, incluso il riferimento API, è in /llms-full.txt. Per endpoint, campi e codici di errore la fonte di verità è openapi.json: non usare endpoint o campi non documentati.

# Crea un documento da una trascrizione (Fathom e simili)

> In testa al documento: data, partecipanti e fonte; sotto il testo. `text` è testo semplice (un paragrafo per riga, per esempio «Anna: …»); `markdown` è Markdown. Con `Idempotency-Key` uguale all'id della chiamata nella fonte, la stessa trascrizione mandata due volte crea un documento solo.



## OpenAPI

````yaml /openapi.json post /transcripts
openapi: 3.1.0
info:
  title: Business Insider API
  version: 1.0.0
  description: >-
    L'API pubblica di Business Insider: archivio, documenti, file, trascrizioni,
    ricerca, chat, membri, credito e webhook di un'organizzazione. Ogni
    richiesta porta `Authorization: Bearer <chiave>`; la chiave la crea un
    Proprietario in Impostazioni.
servers:
  - url: https://businessinsider.squaddcrm.com/api/v1
security:
  - chiave: []
tags:
  - name: Organizzazione
  - name: Credito
  - name: Archivio
  - name: File
  - name: Chat
  - name: Webhook ed eventi
paths:
  /transcripts:
    post:
      tags:
        - Archivio
      summary: Crea un documento da una trascrizione (Fathom e simili)
      description: >-
        In testa al documento: data, partecipanti e fonte; sotto il testo.
        `text` è testo semplice (un paragrafo per riga, per esempio «Anna: …»);
        `markdown` è Markdown. Con `Idempotency-Key` uguale all'id della
        chiamata nella fonte, la stessa trascrizione mandata due volte crea un
        documento solo.
      operationId: createTranscript
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Una chiave tua (fino a 255 caratteri): la stessa richiesta ripetuta
            entro 24 ore rende la prima risposta, con `Idempotent-Replayed:
            true`.
          schema:
            type: string
            maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  minLength: 1
                  maxLength: 200
                date:
                  type: string
                  format: date-time
                  description: Quando si è tenuta la chiamata.
                participants:
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 200
                  maxItems: 100
                source:
                  type: string
                  minLength: 1
                  maxLength: 80
                  description: Da dove viene, per esempio `Fathom`.
                url:
                  type: string
                  maxLength: 2000
                  format: uri
                  pattern: ^https:\/\/
                  description: Il link alla registrazione nella fonte.
                text:
                  type: string
                  maxLength: 1000000
                markdown:
                  type: string
                  maxLength: 1000000
                  description: >-
                    Testo in Markdown: titoli, elenchi (anche con caselle),
                    citazioni, codice, tabelle, link.
                section:
                  type: string
                  enum:
                    - private
                    - shared
                  description: >-
                    `private`: il Privato di chi ha creato la chiave; `shared`:
                    il Condiviso dell'organizzazione.
                parentId:
                  type:
                    - string
                    - 'null'
                  format: uuid
                  description: >-
                    La cartella in cui metterlo; assente o null: in testa alla
                    sezione.
              required:
                - title
                - date
                - section
              additionalProperties: false
      responses:
        '201':
          description: Il documento della trascrizione.
          headers:
            X-RateLimit-Limit:
              description: Richieste ammesse nella finestra più vicina al tetto.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Richieste rimaste in quella finestra.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Quando la finestra riparte (secondi epoch).
              schema:
                type: integer
            X-Request-Id:
              description: L'id della richiesta.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Item'
        '400':
          description: 'Codici: `invalid_request`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: >-
            Codici: `unauthenticated`, `api_key_invalid`, `api_key_revoked`,
            `api_key_expired`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'Codici: `insufficient_scope`, `organization_suspended`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: 'Codici: `not_found`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: 'Codici: `idempotency_in_progress`, `name_taken`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: 'Codici: `idempotency_key_reused`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'Codici: `rate_limited`.'
          headers:
            X-RateLimit-Limit:
              description: Richieste ammesse nella finestra più vicina al tetto.
              schema:
                type: integer
            X-RateLimit-Remaining:
              description: Richieste rimaste in quella finestra.
              schema:
                type: integer
            X-RateLimit-Reset:
              description: Quando la finestra riparte (secondi epoch).
              schema:
                type: integer
            X-Request-Id:
              description: L'id della richiesta.
              schema:
                type: string
            Retry-After:
              description: Secondi da aspettare.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: 'Codici: `internal_error`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - chiave:
            - archive:write
components:
  schemas:
    Item:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - folder
            - document
            - map
            - file
        name:
          type: string
          maxLength: 200
        section:
          type: string
          enum:
            - private
            - shared
          description: >-
            `private`: il Privato di chi ha creato la chiave; `shared`: il
            Condiviso dell'organizzazione.
        parentId:
          type:
            - string
            - 'null'
          format: uuid
          description: La cartella che la contiene; null in testa alla sezione.
        createdAt:
          type: string
          format: date-time
        createdBy:
          type:
            - string
            - 'null'
          maxLength: 200
        updatedAt:
          type: string
          format: date-time
        updatedBy:
          type:
            - string
            - 'null'
          maxLength: 200
      required:
        - id
        - type
        - name
        - section
        - parentId
        - createdAt
        - createdBy
        - updatedAt
        - updatedBy
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      additionalProperties: false
      properties:
        error:
          type: object
          required:
            - code
            - message
            - details
            - requestId
          additionalProperties: false
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - unauthenticated
                - api_key_invalid
                - api_key_revoked
                - api_key_expired
                - credits_exhausted
                - forbidden
                - insufficient_scope
                - organization_suspended
                - spending_limit
                - not_found
                - conflict
                - revision_conflict
                - name_taken
                - already_member
                - last_owner
                - answer_in_progress
                - idempotency_in_progress
                - payload_too_large
                - unsupported_format
                - idempotency_key_reused
                - rate_limited
                - internal_error
                - upstream_error
                - unavailable
              description: 'Codice stabile: decidi da questo, non dal testo.'
            message:
              type: string
              description: Spiegazione in italiano, per chi legge i log.
            details:
              type:
                - object
                - 'null'
              description: Il campo sbagliato (`field`), il limite superato e simili.
            requestId:
              type: string
              description: 'Lo stesso di `X-Request-Id`: citalo quando chiedi aiuto.'
  securitySchemes:
    chiave:
      type: http
      scheme: bearer
      bearerFormat: bik_live_… / bik_test_…
      description: >-
        Chiave API dell'organizzazione. Scope: `archive:read`, `archive:write`,
        `files:read`, `files:write`, `chat:read`, `chat:write`, `members:read`,
        `members:write`, `credits:read`, `webhooks:read`, `webhooks:write`;
        `<area>:write` comprende `<area>:read`.

````

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