# 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.

## Fields

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

| Field | Type | Description |
|---|---|---|
| `id` | `uuid` | The question's id. Pass it as `requestId` when you answer. |
| `question` | `string` | The agent's question. |
| `context` | `string \| null` | Background the agent gave to help answer the question. |
| `dateRequested` | `datetime` | When the agent asked, in UTC. |
| `suggestedAnswers` | [`CodePipelineHumanInteractionSuggestedAnswer`](https://docs.maitento.com/reference/types/code-pipeline-human-interaction-suggested-answer.md)`[] \| null` | Answers the agent suggests. You can pick one or write your own. |
| `answer` | `string \| null` | The answer. Null until it is answered. |
| `dateAnswered` | `datetime \| null` | When it was answered, in UTC. Null until then. |
| `answerAuthor` | [`CodePipelineHumanInteractionAnswerAuthor`](https://docs.maitento.com/reference/types/code-pipeline-human-interaction-answer-author.md)`\| null` | Who answered. Null until it is answered. |

## Example

```json
{
  "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": "..."
  }
}
```

## Where it's used

- Inside [`CodePipelineStepExecution`](https://docs.maitento.com/reference/types/code-pipeline-step-execution.md)
