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

# Leia um resultado do Smart Money Tracker

> Leia as mesmas evidências e cobranças sem outra chamada ao Provider.

Acesse o result\_url assinado com uma Key do mesmo Workspace que possa ler cada Run de origem. Resultados grandes podem estar em response\_file. A leitura não inicia outro Run.


## OpenAPI

````yaml /openapi.pt.json get /v1/solutions/finance/smart_money_tracker/result
openapi: 3.1.0
info:
  title: Glasser
  version: 0.0.1
  description: >-
    Uma chave, sem contrato, pagamento por chamada, para todas as APIs pagas
    adquiridas no atacado. Cada resposta contém x-request-id; cada corpo de erro
    contém o mesmo envelope.
servers:
  - url: https://api.glasser.ai
security: []
tags:
  - name: Solutions
  - name: Endpoints
  - name: Runs
  - name: Balance
paths:
  /v1/solutions/finance/smart_money_tracker/result:
    get:
      tags:
        - Solutions
      summary: Leia um resultado do Smart Money Tracker
      description: >-
        Use result_url com autenticação para ler as mesmas evidências
        normalizadas e o Charge histórico. O contexto assinado está vinculado ao
        Workspace, e a política atual da Key é aplicada a cada Run. A leitura
        não reexecuta o Provider nem cria outro Run.
      operationId: finance-smart-money-tracker-result
      parameters:
        - name: token
          in: query
          schema:
            type: string
            minLength: 1
            maxLength: 16384
            description: >-
              Contexto de resultado opaco retornado em result_url. Mantenha-o
              inalterado e autentique-se com uma Key autorizada a ler todos os
              Runs listados.
          required: true
      responses:
        '200':
          description: >-
            Evidências normalizadas de declarações e propriedade. Campos
            ausentes ficam como null. As quantidades e os valores mantêm a base
            declarada. O Run de origem mantém os dados nativos. Ler o resultado
            não inicia outro Run.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmartMoneyTrackerResult'
        '400':
          description: ValidationFailed
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ValidationFailedEncoded'
                  - $ref: '#/components/schemas/ValidationFailedEncoded'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedEncoded'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenEncoded'
        '404':
          description: NotFound
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundEncoded'
        '429':
          description: RateLimited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitedEncoded'
      security:
        - bearer: []
components:
  schemas:
    SmartMoneyTrackerResult:
      type: object
      properties:
        id:
          type: string
        run_url:
          type: string
          description: Abra este Run no console. Requer associação ao Workspace.
        provider:
          type: string
          pattern: ^[a-z0-9][a-z0-9-]*$
        endpoint:
          type: string
          pattern: ^\/.+$
        endpoint_version:
          type: integer
          exclusiveMinimum: 0
        status:
          type: string
          enum:
            - QUEUED
            - RUNNING
            - COMPLETED
            - FAILED
            - STOPPED
          description: >-
            QUEUED ou RUNNING: ainda em andamento. COMPLETED: uma resposta do
            provedor de dados está disponível, incluindo respostas não 2xx.
            FAILED: consulte `failure`. STOPPED: interrompido antes do despacho.
            Leia charge_usd separadamente de status.
        failure:
          anyOf:
            - type: object
              properties:
                kind:
                  type: string
                  enum:
                    - TIMED_OUT
                    - INTERNAL
                message:
                  type: string
              required:
                - kind
                - message
              additionalProperties: false
            - type: 'null'
          description: Motivo da falha do Run. Não nulo somente quando status é FAILED.
        input:
          anyOf:
            - type: object
            - type: array
              items:
                type: object
        output:
          anyOf:
            - type: object
              properties:
                items:
                  type: array
                  items:
                    anyOf:
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - insider_trade
                          accession_number:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_url:
                            anyOf:
                              - type: string
                              - type: 'null'
                          form_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          ticker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          issuer:
                            anyOf:
                              - type: string
                              - type: 'null'
                          name:
                            anyOf:
                              - type: string
                              - type: 'null'
                          insider_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          title:
                            anyOf:
                              - type: string
                              - type: 'null'
                          is_director:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          is_officer:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          is_ten_percent_owner:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          report_period:
                            anyOf:
                              - type: string
                              - type: 'null'
                          security_title:
                            anyOf:
                              - type: string
                              - type: 'null'
                          original_filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          reported_trading_plan:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          instrument:
                            anyOf:
                              - type: string
                                enum:
                                  - derivative
                                  - non_derivative
                              - type: 'null'
                          transaction_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          transaction_code:
                            anyOf:
                              - type: string
                              - type: 'null'
                          transaction_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          acquired_disposed_code:
                            anyOf:
                              - type: string
                              - type: 'null'
                          shares:
                            anyOf:
                              - type: number
                              - type: 'null'
                          price_per_share:
                            anyOf:
                              - type: string
                              - type: 'null'
                          transaction_value:
                            anyOf:
                              - type: string
                              - type: 'null'
                          shares_after:
                            anyOf:
                              - type: number
                              - type: 'null'
                        required:
                          - kind
                          - accession_number
                          - filing_url
                          - form_type
                          - filing_date
                          - ticker
                          - issuer
                          - name
                          - insider_cik
                          - title
                          - is_director
                          - is_officer
                          - is_ten_percent_owner
                          - report_period
                          - security_title
                          - original_filing_date
                          - reported_trading_plan
                          - instrument
                          - transaction_date
                          - transaction_code
                          - transaction_type
                          - acquired_disposed_code
                          - shares
                          - price_per_share
                          - transaction_value
                          - shares_after
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - initial_ownership
                          accession_number:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_url:
                            anyOf:
                              - type: string
                              - type: 'null'
                          form_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          ticker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          issuer:
                            anyOf:
                              - type: string
                              - type: 'null'
                          name:
                            anyOf:
                              - type: string
                              - type: 'null'
                          insider_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          title:
                            anyOf:
                              - type: string
                              - type: 'null'
                          is_director:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          is_officer:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          is_ten_percent_owner:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          report_period:
                            anyOf:
                              - type: string
                              - type: 'null'
                          security_title:
                            anyOf:
                              - type: string
                              - type: 'null'
                          original_filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          reported_trading_plan:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          instrument:
                            anyOf:
                              - type: string
                                enum:
                                  - derivative
                                  - non_derivative
                              - type: 'null'
                          shares_owned:
                            anyOf:
                              - type: number
                              - type: 'null'
                        required:
                          - kind
                          - accession_number
                          - filing_url
                          - form_type
                          - filing_date
                          - ticker
                          - issuer
                          - name
                          - insider_cik
                          - title
                          - is_director
                          - is_officer
                          - is_ten_percent_owner
                          - report_period
                          - security_title
                          - original_filing_date
                          - reported_trading_plan
                          - instrument
                          - shares_owned
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - market_sentiment
                          date:
                            type: string
                            pattern: ^\d{4}-\d{2}-\d{2}$
                          buy_count:
                            anyOf:
                              - type: number
                              - type: 'null'
                          sell_count:
                            anyOf:
                              - type: number
                              - type: 'null'
                          buy_value:
                            anyOf:
                              - type: string
                              - type: 'null'
                          sell_value:
                            anyOf:
                              - type: string
                              - type: 'null'
                        required:
                          - kind
                          - date
                          - buy_count
                          - sell_count
                          - buy_value
                          - sell_value
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - planned_sale
                          accession_number:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_url:
                            anyOf:
                              - type: string
                              - type: 'null'
                          form_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          ticker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          issuer:
                            anyOf:
                              - type: string
                              - type: 'null'
                          issuer_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          seller:
                            anyOf:
                              - type: string
                              - type: 'null'
                          security_title:
                            anyOf:
                              - type: string
                              - type: 'null'
                          proposed_sale_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          proposed_units:
                            anyOf:
                              - type: number
                              - type: 'null'
                          aggregate_market_value:
                            anyOf:
                              - type: string
                              - type: 'null'
                          broker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          plan_adoption_dates:
                            anyOf:
                              - type: array
                                items:
                                  type: string
                                  pattern: ^\d{4}-\d{2}-\d{2}$
                              - type: 'null'
                        required:
                          - kind
                          - accession_number
                          - filing_url
                          - form_type
                          - filing_date
                          - ticker
                          - issuer
                          - issuer_cik
                          - seller
                          - security_title
                          - proposed_sale_date
                          - proposed_units
                          - aggregate_market_value
                          - broker
                          - plan_adoption_dates
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - institutional_position
                          accession_number:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_url:
                            anyOf:
                              - type: string
                              - type: 'null'
                          form_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filer_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filer_name:
                            anyOf:
                              - type: string
                              - type: 'null'
                          report_period:
                            anyOf:
                              - type: string
                              - type: 'null'
                          ticker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          issuer:
                            anyOf:
                              - type: string
                              - type: 'null'
                          cusip:
                            anyOf:
                              - type: string
                              - type: 'null'
                          security_class:
                            anyOf:
                              - type: string
                              - type: 'null'
                          put_call:
                            anyOf:
                              - type: string
                              - type: 'null'
                          units:
                            anyOf:
                              - type: number
                              - type: 'null'
                          unit_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          investment_discretion:
                            anyOf:
                              - type: string
                              - type: 'null'
                          other_manager:
                            anyOf:
                              - type: string
                              - type: 'null'
                          value_usd:
                            anyOf:
                              - type: string
                              - type: 'null'
                          is_amendment:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                        required:
                          - kind
                          - accession_number
                          - filing_url
                          - form_type
                          - filing_date
                          - filer_cik
                          - filer_name
                          - report_period
                          - ticker
                          - issuer
                          - cusip
                          - security_class
                          - put_call
                          - units
                          - unit_type
                          - investment_discretion
                          - other_manager
                          - value_usd
                          - is_amendment
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - investor
                          cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          name:
                            type: string
                        required:
                          - kind
                          - cik
                          - name
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - beneficial_stake
                          accession_number:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_url:
                            anyOf:
                              - type: string
                              - type: 'null'
                          form_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          ticker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          issuer:
                            anyOf:
                              - type: string
                              - type: 'null'
                          issuer_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          security_class:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filer_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          reporting_person_name:
                            anyOf:
                              - type: string
                              - type: 'null'
                          reporting_person_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          stake_type:
                            anyOf:
                              - type: string
                              - type: 'null'
                          event_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          shares:
                            anyOf:
                              - type: number
                              - type: 'null'
                          percent_of_class:
                            anyOf:
                              - type: number
                              - type: 'null'
                          is_amendment:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          is_latest:
                            anyOf:
                              - type: boolean
                              - type: 'null'
                          purpose:
                            anyOf:
                              - type: string
                              - type: 'null'
                        required:
                          - kind
                          - accession_number
                          - filing_url
                          - form_type
                          - filing_date
                          - ticker
                          - issuer
                          - issuer_cik
                          - security_class
                          - filer_cik
                          - reporting_person_name
                          - reporting_person_cik
                          - stake_type
                          - event_date
                          - shares
                          - percent_of_class
                          - is_amendment
                          - is_latest
                          - purpose
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            type: string
                            enum:
                              - fund_position
                          fund_ticker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          fund_name:
                            anyOf:
                              - type: string
                              - type: 'null'
                          fund_cik:
                            anyOf:
                              - type: string
                              - type: 'null'
                          holding_ticker:
                            anyOf:
                              - type: string
                              - type: 'null'
                          holding_name:
                            anyOf:
                              - type: string
                              - type: 'null'
                          as_of:
                            anyOf:
                              - type: string
                              - type: 'null'
                          filing_date:
                            anyOf:
                              - type: string
                              - type: 'null'
                          weight_percent:
                            anyOf:
                              - type: number
                              - type: 'null'
                          asset_class:
                            anyOf:
                              - type: string
                              - type: 'null'
                          value_usd:
                            anyOf:
                              - type: string
                              - type: 'null'
                          shares:
                            anyOf:
                              - type: number
                              - type: 'null'
                        required:
                          - kind
                          - fund_ticker
                          - fund_name
                          - fund_cik
                          - holding_ticker
                          - holding_name
                          - as_of
                          - filing_date
                          - weight_percent
                          - asset_class
                          - value_usd
                          - shares
                        additionalProperties: false
                next_cursor:
                  anyOf:
                    - type: string
                    - type: 'null'
                next_offset:
                  anyOf:
                    - type: integer
                    - type: 'null'
                has_more:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                total_records:
                  anyOf:
                    - type: integer
                    - type: 'null'
                total_relation:
                  anyOf:
                    - type: string
                    - type: 'null'
                market_coverage:
                  anyOf:
                    - type: object
                      properties:
                        start_date:
                          type: string
                          pattern: ^\d{4}-\d{2}-\d{2}$
                        end_date:
                          type: string
                          pattern: ^\d{4}-\d{2}-\d{2}$
                      required:
                        - start_date
                        - end_date
                      additionalProperties: false
                    - type: 'null'
              required:
                - items
                - next_cursor
                - next_offset
                - has_more
                - total_records
                - total_relation
                - market_coverage
              additionalProperties: false
            - type: 'null'
        response_file:
          type: object
          properties:
            body_field:
              type: string
              enum:
                - output
                - provider_response.error
            state:
              type: string
              enum:
                - available
                - link_pending
                - expired
                - unavailable
            download_url:
              anyOf:
                - type: string
                - type: 'null'
            link_expires_at:
              anyOf:
                - type: string
                  description: carimbo de data e hora UTC ISO-8601
                  format: date-time
                - type: 'null'
            file_expires_at:
              type: string
              description: carimbo de data e hora UTC ISO-8601
              format: date-time
            bytes:
              type: integer
              minimum: 0
            sha256:
              type: string
            content_type:
              type: string
              enum:
                - application/json
          required:
            - body_field
            - state
            - download_url
            - link_expires_at
            - file_expires_at
            - bytes
            - sha256
            - content_type
          additionalProperties: false
          description: >-
            JSON normalizado completo quando o resultado for grande demais para
            inclusão na resposta. O Run de origem mantém a saída nativa.
        provider_response:
          anyOf:
            - type: object
              properties:
                http_status:
                  type: integer
                  minimum: 100
                  maximum: 599
                  description: >-
                    Status HTTP retornado pelo provedor de dados. Verifique-o
                    mesmo quando o Run estiver COMPLETED.
                error:
                  anyOf:
                    - {}
                    - type: 'null'
              required:
                - http_status
              additionalProperties: false
            - type: 'null'
          description: >-
            Não nulo somente quando status é COMPLETED.


            - Para respostas 2xx, output contém JSON nativo do provedor de dados
            (qualquer estrutura) ou nulo para um corpo vazio.

            - Para respostas não 2xx, error contém o corpo de erro do provedor
            de dados e output é nulo.


            Os campos confidenciais são removidos de ambos os corpos.
        charge_usd:
          anyOf:
            - type: string
              pattern: ^(0|[1-9]\d*)\.(\d{2}|\d{2}\d{0,3}[1-9])$
              description: >-
                String decimal exata em USD (mínimo de 2, máximo de 6 casas
                decimais, uma única grafia canônica). Faça a soma com aritmética
                decimal ou multiplique por 10^6 — nunca use números de ponto
                flutuante.
            - type: 'null'
          description: >-
            Cobrança histórica total dos Runs listados, incluindo os
            reproduzidos ou lidos. É null até que todos sejam liquidados. Não é
            uma nova despesa da solicitação atual; request_charge a informa
            separadamente. Falhas também podem ser cobradas.
        charge_basis:
          anyOf:
            - type: object
              properties:
                clause:
                  type: string
                  enum:
                    - rule
                    - NO_RESULT
                    - PROVIDER_ERROR
                    - TIMED_OUT
                    - INTERNAL
                quantity:
                  anyOf:
                    - type: integer
                      minimum: 0
                    - type: 'null'
              required:
                - clause
                - quantity
              additionalProperties: false
            - type: 'null'
          description: >-
            Base de cobrança de um único Run ou nulo para um total de vários
            Runs. Leia runs[].charge_basis para cada cobrança.
        stoppable:
          type: boolean
          description: >-
            Indica se uma solicitação de interrupção pode ser aceita no momento.
            Isso não garante que o Run possa ser interrompido antes do despacho.
        stop_requested_at:
          anyOf:
            - type: string
              description: carimbo de data e hora UTC ISO-8601
              format: date-time
            - type: 'null'
          description: >-
            Momento em que uma interrupção foi solicitada. O Run ainda pode
            continuar se o despacho já tiver começado.
        created_at:
          type: string
          description: carimbo de data e hora UTC ISO-8601
          format: date-time
        started_at:
          anyOf:
            - type: string
              description: carimbo de data e hora UTC ISO-8601
              format: date-time
            - type: 'null'
        completed_at:
          anyOf:
            - type: string
              description: carimbo de data e hora UTC ISO-8601
              format: date-time
            - type: 'null'
        task_id:
          anyOf:
            - type: string
            - type: 'null'
        metadata:
          type: object
          additionalProperties:
            type: string
            minLength: 1
            maxLength: 500
          maxProperties: 20
          propertyNames:
            type: string
            pattern: ^[a-z][a-z0-9_]{0,39}$
          description: >-
            Seus campos de acompanhamento armazenados. Use-os para filtrar Runs.
            Eles nunca são enviados ao provedor de dados nem afetam o
            roteamento, o Price ou a idempotência.


            - Até 20 chaves: letras minúsculas, dígitos e sublinhados; comece
            com uma letra; no máximo 40 caracteres.

            - Valores: strings de 1–500 caracteres.

            - user_id: o ID opaco do seu usuário final, nunca o endereço de
            e-mail ou o nome dele.
        review_invitation:
          type: object
          properties:
            run_id:
              type: string
            ratings:
              type: array
              items:
                type: string
                enum:
                  - exceeds_expectations
                  - meets_expectations
                  - partially_meets_expectations
                  - does_not_meet_expectations
                  - unable_to_assess
            instruction:
              type: string
          required:
            - run_id
            - ratings
            - instruction
          additionalProperties: false
          description: >-
            Aparece no máximo uma vez por Run, na primeira entrega de alguns
            Runs concluídos. Depois de usar este resultado na tarefa, envie uma
            avaliação conforme indicado em instruction e continue. É opcional;
            nunca afeta o Run nem a cobrança.
        action:
          type: string
          enum:
            - insider_trades
            - insider_sentiment
            - planned_insider_sales
            - institutional_holders
            - fund_holdings
            - activist_stakes
            - etf_holdings
        result_status:
          type: string
          enum:
            - success
            - no_result
            - error
            - pending
        error:
          anyOf:
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
              required:
                - code
                - message
              additionalProperties: false
            - type: 'null'
        runs:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              run_url:
                type: string
                description: Abra este Run no console. Requer associação ao Workspace.
              provider:
                type: string
                pattern: ^[a-z0-9][a-z0-9-]*$
              endpoint:
                type: string
                pattern: ^\/.+$
              endpoint_version:
                type: integer
                exclusiveMinimum: 0
              status:
                type: string
                enum:
                  - QUEUED
                  - RUNNING
                  - COMPLETED
                  - FAILED
                  - STOPPED
                description: >-
                  QUEUED ou RUNNING: ainda em andamento. COMPLETED: uma resposta
                  do provedor de dados está disponível, incluindo respostas não
                  2xx. FAILED: consulte `failure`. STOPPED: interrompido antes
                  do despacho. Leia charge_usd separadamente de status.
              failure:
                anyOf:
                  - type: object
                    properties:
                      kind:
                        type: string
                        enum:
                          - TIMED_OUT
                          - INTERNAL
                      message:
                        type: string
                    required:
                      - kind
                      - message
                    additionalProperties: false
                  - type: 'null'
                description: >-
                  Motivo da falha do Run. Não nulo somente quando status é
                  FAILED.
              input:
                type: object
                properties:
                  omitted:
                    type: boolean
                    enum:
                      - true
                required:
                  - omitted
                additionalProperties: false
              output:
                type: object
                properties:
                  omitted:
                    type: boolean
                    enum:
                      - true
                required:
                  - omitted
                additionalProperties: false
              response_file:
                type: object
                properties:
                  body_field:
                    type: string
                    enum:
                      - output
                      - provider_response.error
                  state:
                    type: string
                    enum:
                      - available
                      - link_pending
                      - expired
                      - unavailable
                  download_url:
                    anyOf:
                      - type: string
                      - type: 'null'
                  link_expires_at:
                    anyOf:
                      - type: string
                        description: carimbo de data e hora UTC ISO-8601
                        format: date-time
                      - type: 'null'
                  file_expires_at:
                    type: string
                    description: carimbo de data e hora UTC ISO-8601
                    format: date-time
                  bytes:
                    type: integer
                    minimum: 0
                  sha256:
                    type: string
                  content_type:
                    type: string
                    enum:
                      - application/json
                required:
                  - body_field
                  - state
                  - download_url
                  - link_expires_at
                  - file_expires_at
                  - bytes
                  - sha256
                  - content_type
                additionalProperties: false
                description: >-
                  Corpo completo e de grande tamanho do provedor de dados,
                  entregue como arquivo JSON. O Glasser aplica um limite de
                  recursos de 32 MiB ao corpo capturado e ao arquivo
                  serializado. body_field identifica o campo substituído; output
                  é null ou provider_response.error é omitido. Os links de
                  download expiram em no máximo uma hora. Get Run com
                  autenticação renova a URL enquanto o arquivo estiver
                  disponível, por 7 dias. Leituras e downloads não executam nem
                  cobram outro Run. Se state for link_pending, leia o mesmo Run
                  para preparar o link sem outra execução ou cobrança. A URL
                  concede acesso temporário de leitura: compartilhe-a apenas com
                  os destinatários pretendidos.
              provider_response:
                anyOf:
                  - type: object
                    properties:
                      http_status:
                        type: integer
                        minimum: 100
                        maximum: 599
                        description: >-
                          Status HTTP retornado pelo provedor de dados.
                          Verifique-o mesmo quando o Run estiver COMPLETED.
                    required:
                      - http_status
                    additionalProperties: false
                  - type: 'null'
              charge_usd:
                anyOf:
                  - type: string
                    pattern: ^(0|[1-9]\d*)\.(\d{2}|\d{2}\d{0,3}[1-9])$
                    description: >-
                      String decimal exata em USD (mínimo de 2, máximo de 6
                      casas decimais, uma única grafia canônica). Faça a soma
                      com aritmética decimal ou multiplique por 10^6 — nunca use
                      números de ponto flutuante.
                  - type: 'null'
                description: >-
                  Cobrança final como uma string decimal exata em USD. Nulo
                  enquanto estiver QUEUED ou RUNNING. Um Run FAILED pode ter uma
                  cobrança diferente de zero conforme o Price do Endpoint.
              charge_basis:
                anyOf:
                  - type: object
                    properties:
                      clause:
                        type: string
                        enum:
                          - rule
                          - NO_RESULT
                          - PROVIDER_ERROR
                          - TIMED_OUT
                          - INTERNAL
                      quantity:
                        anyOf:
                          - type: integer
                            minimum: 0
                          - type: 'null'
                    required:
                      - clause
                      - quantity
                    additionalProperties: false
                  - type: 'null'
                description: >-
                  Cláusula de Price usada para calcular a cobrança. Nulo antes
                  da liquidação ou quando nenhuma tentativa com o provedor de
                  dados foi feita.
              stoppable:
                type: boolean
                description: >-
                  Indica se uma solicitação de interrupção pode ser aceita no
                  momento. Isso não garante que o Run possa ser interrompido
                  antes do despacho.
              stop_requested_at:
                anyOf:
                  - type: string
                    description: carimbo de data e hora UTC ISO-8601
                    format: date-time
                  - type: 'null'
                description: >-
                  Momento em que uma interrupção foi solicitada. O Run ainda
                  pode continuar se o despacho já tiver começado.
              created_at:
                type: string
                description: carimbo de data e hora UTC ISO-8601
                format: date-time
              started_at:
                anyOf:
                  - type: string
                    description: carimbo de data e hora UTC ISO-8601
                    format: date-time
                  - type: 'null'
              completed_at:
                anyOf:
                  - type: string
                    description: carimbo de data e hora UTC ISO-8601
                    format: date-time
                  - type: 'null'
              task_id:
                anyOf:
                  - type: string
                  - type: 'null'
              metadata:
                type: object
                additionalProperties:
                  type: string
                  minLength: 1
                  maxLength: 500
                maxProperties: 20
                propertyNames:
                  type: string
                  pattern: ^[a-z][a-z0-9_]{0,39}$
                description: >-
                  Seus campos de acompanhamento armazenados. Use-os para filtrar
                  Runs. Eles nunca são enviados ao provedor de dados nem afetam
                  o roteamento, o Price ou a idempotência.


                  - Até 20 chaves: letras minúsculas, dígitos e sublinhados;
                  comece com uma letra; no máximo 40 caracteres.

                  - Valores: strings de 1–500 caracteres.

                  - user_id: o ID opaco do seu usuário final, nunca o endereço
                  de e-mail ou o nome dele.
            required:
              - id
              - run_url
              - provider
              - endpoint
              - endpoint_version
              - status
              - failure
              - input
              - output
              - provider_response
              - charge_usd
              - charge_basis
              - stoppable
              - stop_requested_at
              - created_at
              - started_at
              - completed_at
              - task_id
              - metadata
            additionalProperties: false
        request_charge:
          type: object
          properties:
            charge_usd:
              anyOf:
                - type: string
                  pattern: ^(0|[1-9]\d*)\.(\d{2}|\d{2}\d{0,3}[1-9])$
                  description: >-
                    String decimal exata em USD (mínimo de 2, máximo de 6 casas
                    decimais, uma única grafia canônica). Faça a soma com
                    aritmética decimal ou multiplique por 10^6 — nunca use
                    números de ponto flutuante.
                - type: 'null'
              description: >-
                Cobrança apenas dos Runs criados por esta solicitação. Runs
                reproduzidos e leituras gratuitas acrescentam zero. É null
                enquanto um novo Run não estiver liquidado ou sua origem de
                admissão for desconhecida. Não é o total histórico de charge_usd
                ou runs[].charge_usd.
            created_run_ids:
              type: array
              items:
                type: string
                pattern: >-
                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$
                format: uuid
            replayed_run_ids:
              type: array
              items:
                type: string
                pattern: >-
                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$
                format: uuid
            unknown_run_ids:
              type: array
              items:
                type: string
                pattern: >-
                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$
                format: uuid
          required:
            - charge_usd
            - created_run_ids
            - replayed_run_ids
            - unknown_run_ids
          additionalProperties: false
          description: >-
            Evidência de admissão e cobrança da solicitação atual. Preserve
            created_run_ids durante o trabalho do usuário e conte cada Run
            liquidado uma única vez. Alterar task_id não transforma uma
            reprodução idempotente em um novo Run. A leitura de resultado tem
            cobrança zero e listas de admissão vazias.
        result_url:
          type: string
          description: >-
            Caminho de URL autenticado e somente leitura para consultar este
            resultado normalizado e a cobrança total. Use com a origem da API.
            Não cria Runs nem retoma o fallback. GET /v1/runs/:id ainda retorna
            o Run nativo e individual.
      required:
        - id
        - run_url
        - provider
        - endpoint
        - endpoint_version
        - status
        - failure
        - input
        - output
        - provider_response
        - charge_usd
        - charge_basis
        - stoppable
        - stop_requested_at
        - created_at
        - started_at
        - completed_at
        - task_id
        - metadata
        - action
        - result_status
        - error
        - runs
        - result_url
      additionalProperties: false
      description: >-
        Evidências normalizadas de declarações e propriedade. Campos ausentes
        ficam como null. As quantidades e os valores mantêm a base declarada. O
        Run de origem mantém os dados nativos. Ler o resultado não inicia outro
        Run.
    ValidationFailedEncoded:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - validation_failed
            message:
              type: string
            reason:
              anyOf:
                - type: string
                - type: 'null'
            control:
              anyOf:
                - type: string
                - type: 'null'
            retry_after_ms:
              anyOf:
                - anyOf:
                    - type: integer
                    - type: 'null'
                - type: 'null'
            details:
              anyOf:
                - type: object
                - type: 'null'
          required:
            - code
            - message
          additionalProperties: false
        request_id:
          type: string
      required:
        - error
        - request_id
      additionalProperties: false
    UnauthorizedEncoded:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - unauthorized
            message:
              type: string
            reason:
              anyOf:
                - type: string
                - type: 'null'
            control:
              anyOf:
                - type: string
                - type: 'null'
            retry_after_ms:
              anyOf:
                - anyOf:
                    - type: integer
                    - type: 'null'
                - type: 'null'
            details:
              anyOf:
                - type: object
                - type: 'null'
          required:
            - code
            - message
          additionalProperties: false
        request_id:
          type: string
      required:
        - error
        - request_id
      additionalProperties: false
    ForbiddenEncoded:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - forbidden
            message:
              type: string
            reason:
              anyOf:
                - type: string
                - type: 'null'
            control:
              anyOf:
                - type: string
                - type: 'null'
            retry_after_ms:
              anyOf:
                - anyOf:
                    - type: integer
                    - type: 'null'
                - type: 'null'
            details:
              anyOf:
                - type: object
                - type: 'null'
          required:
            - code
            - message
          additionalProperties: false
        request_id:
          type: string
      required:
        - error
        - request_id
      additionalProperties: false
    NotFoundEncoded:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - not_found
            message:
              type: string
            reason:
              anyOf:
                - type: string
                - type: 'null'
            control:
              anyOf:
                - type: string
                - type: 'null'
            retry_after_ms:
              anyOf:
                - anyOf:
                    - type: integer
                    - type: 'null'
                - type: 'null'
            details:
              anyOf:
                - type: object
                - type: 'null'
          required:
            - code
            - message
          additionalProperties: false
        request_id:
          type: string
      required:
        - error
        - request_id
      additionalProperties: false
    RateLimitedEncoded:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - rate_limited
            message:
              type: string
            reason:
              anyOf:
                - type: string
                - type: 'null'
            control:
              anyOf:
                - type: string
                - type: 'null'
            retry_after_ms:
              anyOf:
                - anyOf:
                    - type: integer
                    - type: 'null'
                - type: 'null'
            details:
              anyOf:
                - type: object
                - type: 'null'
          required:
            - code
            - message
          additionalProperties: false
        request_id:
          type: string
      required:
        - error
        - request_id
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: Bearer

````

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