Skip to main content
PATCH
TypeScript SDK

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sessionId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
inputId
string
required
Minimum string length: 1

Body

application/json
answers
object
required

Answers keyed by question ID. Send an empty object to skip the questions.

Response

Update a session input

id
string
required
Minimum string length: 1
toolCallId
string
required
status
enum<string>
required
Available options:
pending,
answered
questions
object[]
required
Minimum array length: 1