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

# Sybill: Update Row

> Change a Sybill row you imported, by sourceId and remoteId. Supplied fields are replaced, omitted fields stay, and a null field value deletes that field.

Change a Sybill row you imported, by sourceId and remoteId.

> [!NOTE]
>
> Tool ID: `sybill_update_row`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'sybill_update_row',
  {
    "remoteId": "remote_123",
    "sourceId": "123e4567-e89b-42d3-a456-426614174000"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run sybill_update_row --input '{
  "remoteId": "remote_123",
  "sourceId": "123e4567-e89b-42d3-a456-426614174000"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "status": "created",
    "recordId": "record_123",
    "id": "id_123",
    "sourceId": "source_123"
  }
}
```

Use `deepline describe sybill_update_row --json` for the latest machine-readable contract.

## Input reference

Partial update for a row, identified by `source_id` and `remote_id`. All top-level fields are optional. Only fields set to a non-None value in the request body are applied. Top-level fields (`name`, `public`, `owner_emails`, `updated_at`) are NOT nullable: an explicit JSON `null` is treated as "field absent" and silently ignored by the service. This matches the convention used by `UpdateDocumentRequest` and prevents callers from accidentally clearing values they meant to leave unchanged. To unset a top-level field, callers should delete and re-ingest the row. The `fields` map (key-value row data) IS nullable per RFC 7396: keys present in the request overwrite existing values, keys absent are preserved, and an explicit `None` value deletes the key from the row's `fields` map. Unknown keys, type mismatches, and deleting a required field are rejected.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.remoteId` | `string` | Yes | — | — |
| `payload.sourceId` | `string` | Yes | — | Format: `uuid`. |
| `payload.version` | `integer` | No | `1` | — |
| `payload.name` | `string` | No | — | Minimum length: 1. Maximum length: 1000. |
| `payload.public` | `boolean` | No | — | — |
| `payload.ownerEmails` | `array` | No | — | — |
| `payload.updatedAt` | `string \| integer \| number \| null` | No | — | — |
| `payload.fields` | `record` | No | — | — |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Partial update for a row, identified by ``source_id`` and ``remote_id``. All top-level fields are optional; only fields set to a non-None value in the request body are applied. Top-level fields (``name``, ``public``, ``owner_emails``, ``updated_at``) are NOT nullable: an explicit JSON ``null`` is treated as \"field absent\" and silently ignored by the service. This matches the convention used by ``UpdateDocumentRequest`` and prevents callers from accidentally clearing values they meant to leave unchanged. To unset a top-level field, callers should delete and re-ingest the row. The ``fields`` map (key-value row data) IS nullable per RFC 7396: keys present in the request overwrite existing values, keys absent are preserved, and an explicit ``None`` value deletes the key from the row's ``fields`` map. Unknown keys, type mismatches, and deleting a required field are rejected.",
    "properties": {
      "remoteId": {
        "type": "string"
      },
      "sourceId": {
        "type": "string",
        "format": "uuid"
      },
      "version": {
        "type": "integer",
        "default": 1
      },
      "name": {
        "type": [
          "string",
          "null"
        ],
        "minLength": 1,
        "maxLength": 1000
      },
      "public": {
        "type": [
          "boolean",
          "null"
        ]
      },
      "ownerEmails": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": "string"
        }
      },
      "updatedAt": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ]
      },
      "fields": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "version": {
              "type": "integer",
              "default": 1
            },
            "value": {},
            "fieldType": {
              "type": "string",
              "description": "Field value types accepted by row ingestion requests.",
              "enum": [
                "textarea",
                "string",
                "boolean",
                "int",
                "double",
                "datetime",
                "date",
                "list"
              ]
            },
            "label": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "value",
            "fieldType"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "remoteId",
      "sourceId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.status` | `"created" \| "updated"` | Yes | — | Allowed: `created`, `updated`. |
| `result.data.recordId` | `string` | Yes | — | — |
| `result.data.id` | `string` | Yes | — | — |
| `result.data.sourceId` | `string` | Yes | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "created",
              "updated"
            ]
          },
          "recordId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "sourceId": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "recordId",
          "id",
          "sourceId"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


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