Prompt Answers

Gets all prompt answers for a document in a flow.

get

Retrieves all prompt answers for a document in a flow, optionally flattened or filtered by parent prompt.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The flow identifier.

documentObjectIdentifierstring · uuidRequired

The document object identifier.

playbookIdentifierstringRequired
Query parameters
flattenbooleanOptional

Whether to flatten the prompt answer tree.

parentPromptObjectIdentifierstring · uuidOptional

Optional parent prompt object identifier.

Responses
get
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/document/{documentObjectIdentifier}/prompt-answers

Gets a prompt answer by prompt and document identifiers.

get

Retrieves a prompt answer by prompt and document identifiers for a flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The flow identifier.

playbookIdentifierstringRequired
Query parameters
promptObjectIdentifierstring · uuidOptional

The prompt object identifier.

documentObjectIdentifierstring · uuidOptional

The document object identifier.

Responses
get
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/by-prompt-and-document

Gets a prompt answer by its object identifier.

get

Retrieves a prompt answer by its object identifier for a flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

playbookIdentifierstringRequired
flowIdentifierstringRequired
Responses
get
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/{objectIdentifier}

Updates an existing prompt answer.

put

Updates the details of an existing prompt answer for a flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

playbookIdentifierstringRequired
flowIdentifierstringRequired
Body
failedToAnswerboolean · nullableOptional
contextLengthExceededboolean · nullableOptional
approvedboolean · nullableOptional
assignedTostring · nullableOptional
reviewedBystring · nullableOptional
decimalAnswernumber · double · nullableOptional
booleanAnswerboolean · nullableOptional
textAnswerstring · nullableOptional
quotestring · nullableOptional
reviewedDatestring · date-time · nullableOptional
Responses
put
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/{objectIdentifier}

Deletes a prompt answer by its object identifier.

delete

Deletes a prompt answer for a flow using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt answer to delete.

playbookIdentifierstringRequired
flowIdentifierstringRequired
Responses
delete
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/{objectIdentifier}

No content

Updates the status of a prompt answer.

patch

Updates the status of a prompt answer for a flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

playbookIdentifierstringRequired
flowIdentifierstringRequired
Body
booleanOptional
Responses
patch
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/{objectIdentifier}/status

No content

Assigns a prompt answer to a user.

post

Assigns a prompt answer to a user for a flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
flowIdentifierstring · uuidRequired

The flow identifier.

objectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

playbookIdentifierstringRequired
Body
stringOptional
Responses
post
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/{objectIdentifier}/assign-to-user

No content

Adds categories to a prompt answer.

post

Adds categories to a prompt answer for a flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptAnswerObjectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

playbookIdentifierstringRequired
flowIdentifierstringRequired
Bodystring · uuid[]
string · uuid[]Optional
Responses
post
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/categories

No content

Removes a category from a prompt answer.

delete

Removes a category from a prompt answer for a flow.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptAnswerObjectIdentifierstring · uuidRequired

The object identifier of the prompt answer.

categoryObjectIdentifierstring · uuidRequired

The object identifier of the category to remove.

playbookIdentifierstringRequired
flowIdentifierstringRequired
Responses
delete
/playbooks/{playbookIdentifier}/flows/{flowIdentifier}/prompt-answer/{promptAnswerObjectIdentifier}/categories/{categoryObjectIdentifier}

No content

Last updated