Skip to content
Seal
Esc
↑↓navigate↵open⌘Jpreview

Write agent-authored cell results

The caller’s own model reasons over each row’s parsed document text and posts answers; Seal runs no inference for this route. Every quote is grounded server-side against the row document’s stored text — a quote absent from the document collapses to not_found rather than anchoring invented text. The matrix flips to ready once all cells resolve. model_used records the caller’s model label (e.g. agent/claude-opus-4-6) for provenance — it is a label, not a billed provider call.

PATCH/reviews/{id}/cells
Authorization
AuthorizationBearer token · headerrequired

Pass your API key as a Bearer token. API keys are scoped to specific operations — configure scopes in your organization's Settings → Developer → API Keys.

Path parameters
idstringrequired
Request body
requiredapplication/json
model_usedstring
max length 120
cellsobject[]required
min items 1 · max items 256
Show properties
Array of object
cell_idstring
row_idstring
column_indexinteger
min 0
summarystringrequired
max length 500
flagstring
Allowed:greenamberredgrey
reasoningstring
max length 1000
quotestringrequired

Verbatim excerpt from the row document

max length 500
Responses
200

Cells written

updatedintegerrequired
matrixStatusstringrequired
Allowed:draftgeneratingready
400

Invalid request parameters

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

401

Missing or invalid API key

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

404

Resource not found

typestringrequired

Machine-readable error code

statusintegerrequired

HTTP status code

titlestringrequired

Human-readable error message

detailsobject

Field-level validation errors

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH "https://api.seal.nyc/api/v1/reviews/string/cells" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "model_used": "string",
  "cells": [
    {
      "cell_id": "string",
      "row_id": "string",
      "column_index": 0,
      "summary": "string",
      "flag": "green",
      "reasoning": "string",
      "quote": "string"
    }
  ]
}'
Response
{
  "updated": 0,
  "matrixStatus": "draft"
}