Update Row

Partially update a single row. Only the provided fields are updated; existing fields are preserved. Data is validated against the table schema.

PATCH/api/v1/tables/{tableId}/rows/{rowId}
X-API-Key<token>

Your Sim API key (personal or workspace). Generate one from the Sim dashboard under Settings > API Keys.

In: header

Path Parameters

tableId*string

The unique identifier of the table.

rowId*string

The unique identifier of the row.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH \  "https://www.sim.ai/api/v1/tables/{tableId}/rows/{rowId}" \  -H "X-API-Key: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "workspaceId": "YOUR_WORKSPACE_ID",    "data": { "name": "Updated Name" }  }'
{
  "success": true,
  "data": {
    "row": {
      "id": "row_abc123",
      "data": {
        "email": "jane@example.com",
        "name": "Updated Name"
      },
      "position": 0,
      "createdAt": "2026-01-15T10:30:00Z",
      "updatedAt": "2026-01-16T08:00:00Z"
    },
    "message": "Row updated successfully"
  }
}
{
  "error": "string",
  "details": [
    {}
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}