# List input items
URL: https://docs.munito.ai/api/listInputItems

GET /responses/{response_id}/input_items

Lists the input items of this response. The items of an earlier response in a `previous_response_id` chain stay with that response: list them from its own id.

```json
{
  "operationId": "listInputItems",
  "summary": "List input items",
  "tags": [
    "Responses"
  ],
  "description": "Lists the input items of this response. The items of an earlier response in a `previous_response_id` chain stay with that response: list them from its own id.",
  "parameters": [
    {
      "name": "response_id",
      "in": "path",
      "required": true,
      "description": "The response id whose inputs to list.",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "include",
      "in": "query",
      "description": "Optional fields already present in the stored input. Unsupported values return 400.",
      "schema": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "message.output_text.logprobs",
            "reasoning.encrypted_content"
          ]
        }
      }
    },
    {
      "name": "after",
      "in": "query",
      "description": "The id of the last item of the previous page.",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "limit",
      "in": "query",
      "description": "The number of items to return, from 1 to 100.",
      "schema": {
        "type": "integer",
        "default": 20
      }
    },
    {
      "name": "order",
      "in": "query",
      "description": "`desc` lists the newest item first.",
      "schema": {
        "type": "string",
        "enum": [
          "asc",
          "desc"
        ],
        "default": "desc"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "The input items, in list order.",
      "content": {
        "application/json": {
          "example": {
            "object": "list",
            "data": [
              {
                "type": "message",
                "id": "msg_in_77ab01",
                "role": "user",
                "content": [
                  {
                    "type": "input_text",
                    "text": "Summarize the EU AI Act in one paragraph."
                  }
                ]
              }
            ],
            "has_more": false
          }
        }
      }
    },
    "400": {
      "description": "`include`, `limit`, or `order` is not valid."
    }
  }
}
```

# Shared API schemas
{
  "securitySchemes": {
    "BearerAuth": {
      "type": "http",
      "scheme": "bearer",
      "description": "Your Munito API key."
    },
    "ApiKeyAuth": {
      "type": "apiKey",
      "in": "header",
      "name": "x-api-key",
      "description": "Your Munito API key."
    }
  }
}