Skip to main content
POST
Rate limit tier: general, 600 requests/min. See Rate limits. Deletes the row at index from a table field of one extraction, with its values, and answers 204 No Content. extraction_id is the id of an entry of results.extractions in Get run. The rows after it move up by one. No endpoint restores a deleted row. Name the table by its key in the results (sanitized_name) or by its persistent_id, not both. A field’s persistent_id is the one Get workflow returns for it. index counts from 0 and must name an existing row: no row at that index answers 404, and a name that reaches a field with no rows answers 400. The call is not idempotent: a retry deletes the next row. After a timeout, read the run before you retry.

Errors

Authorizations

Authorization
string
header
required

API key issued from app.anyformat.ai/api-key. Send as Authorization: Bearer <key>.

Path Parameters

extraction_id
string
required

Body

application/json

Body for POST /v3/extractions/{extraction_id}/rows/add/ and .../rows/delete/.

index
integer
required

A position in the table, from 0. add_row accepts 0 up to the number of rows, and a larger one is refused with 400. delete_row needs a row at that position.

Required range: x >= 0
Example:

2

sanitized_name
string | null

The table's key in results.extractions[].fields. Name the table by this or by persistent_id, not both.

Example:

"holdings"

persistent_id
string | null

The table's own persistent_id, not a column's. Name the table by this or by sanitized_name, not both.

Example:

"0686bb978c3070f0800097669e00aaaa"

Response

Successful Response