Skip to main content
POST
Apply Case Input
Review an input created in suggest mode: accept some rows, optionally with an edited value, and reject the rest.

Authorizations

Authorization
string
header
required

API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}

Path Parameters

id
string<uuid>
required

Case UUID

input_id
string<uuid>
required

Input UUID

Body

application/json
changes
object[]
required
reject_others
boolean
default:true

Response

The input with its row statuses updated, plus the refreshed case

id
string<uuid>
created_at
string<date-time>
case
object

The case. On the write routes and on the single read it is the full case (same shape as GET /cases/{id}).

source
string

Provenance, inferred from your token: api

Example:

"api"

type
enum<string> | null

What the material is, derived by Penbox from the context and the content

Available options:
call,
note,
chat,
message,
document,
other
context
any | null

What you sent as context

mode
enum<string>
Available options:
suggest,
auto
status
enum<string>
Available options:
proposed,
partially_applied,
applied
intelligence
object
summary
string | null

One paragraph on what the material is about, in the case language

changes
object[]
unmapped
object[]

Facts read in the content that no case field can hold. Never written.

reviewed_at
string<date-time> | null
content
any | null

The raw material, verbatim. Only returned by GET /cases/{id}/inputs/{input_id}.