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

# Update the data field of a row

> Lists only. Writes the row's contextual state (validation, enrichment) without changing the contact or company references.



## OpenAPI

````yaml /en/openapi.json patch /v1/tables/rows/{rowId}/data
openapi: 3.0.0
info:
  title: Nuvia API - Company
  description: API documentation for companies
  version: '1.0'
  contact: {}
servers:
  - url: https://api.nuvia.ai
security: []
tags:
  - name: messages
    x-group: Mensagens
  - name: contacts
    x-group: Contatos
  - name: campaigns
    x-group: Campanhas
  - name: tables
    x-group: Tabelas e Listas
  - name: agents
    x-group: Agentes
  - name: conversations
    x-group: Conversas
  - name: inboxes
    x-group: Caixas de Entrada
  - name: knowledge
    x-group: Base de Conhecimento
  - name: Webhooks
    x-group: Webhooks
  - name: campaign-enrollments
    x-group: Inscrições em Campanha
  - name: custom-fields
    x-group: Campos Customizados
paths:
  /v1/tables/rows/{rowId}/data:
    patch:
      tags:
        - tables
      summary: Update the data field of a row
      description: >-
        Lists only. Writes the row's contextual state (validation, enrichment)
        without changing the contact or company references.
      operationId: TableController_updateRowData
      parameters:
        - name: x-company-id
          in: header
          description: >-
            Target company identifier. Required only for global API keys
            (type=global). Ignored for company API keys and human users.
          required: false
          schema:
            type: string
        - name: rowId
          required: true
          in: path
          description: Row ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRowDataDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TableRowEntity'
      security:
        - JWT-auth: []
components:
  schemas:
    UpdateRowDataDto:
      type: object
      properties:
        data:
          type: object
          description: 'Row state data (e.g.: { field: { state, isValid, value } })'
      required:
        - data
    TableRowEntity:
      type: object
      properties:
        _id:
          $ref: '#/components/schemas/ObjectId'
        table:
          $ref: '#/components/schemas/ObjectId'
        company:
          $ref: '#/components/schemas/ObjectId'
        row_index:
          type: number
        data:
          type: object
        contact_id:
          $ref: '#/components/schemas/ObjectId'
        business_id:
          $ref: '#/components/schemas/ObjectId'
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - _id
        - table
        - company
        - data
    ObjectId:
      type: object
      properties: {}
  securitySchemes:
    JWT-auth:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Token JWT de autenticação

````