Skip to content

CodePipelineHumanInteractionRequest

A question an agent asked a person during a step. The step, and the run, wait until it is answered. A step can ask several.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
iduuidThe question’s id. Pass it as requestId when you answer.
questionstringThe agent’s question.
contextstring | nullBackground the agent gave to help answer the question.
dateRequesteddatetimeWhen the agent asked, in UTC.
suggestedAnswersCodePipelineHumanInteractionSuggestedAnswer[] | nullAnswers the agent suggests. You can pick one or write your own.
answerstring | nullThe answer. Null until it is answered.
dateAnswereddatetime | nullWhen it was answered, in UTC. Null until then.
answerAuthorCodePipelineHumanInteractionAnswerAuthor| nullWho answered. Null until it is answered.
{
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"question": "...",
"context": "...",
"dateRequested": "2026-10-26T12:00:00.0000000Z",
"suggestedAnswers": [
{
"answer": "...",
"isRecommended": false
}
],
"answer": "...",
"dateAnswered": "2026-10-26T12:00:00.0000000Z",
"answerAuthor": {
"userId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"name": "..."
}
}