List response input items
List response input items
responses.input_items.list(strresponse_id, InputItemListParams**kwargs) -> SyncCursorAfter[InputItemListResponse]
GET/api/v1/responses/{response_id}/input_items
Lists the materialized input items used to generate a stored response.
List response input items
import os
from adaption import Adaption
client = Adaption(
api_key=os.environ.get("ADAPTION_API_KEY"), # This is the default and can be omitted
)
page = client.responses.input_items.list(
response_id="resp_123",
)
page = page.data[0]
print(page){
"object": "list",
"data": [
{
"foo": "bar"
}
],
"first_id": "first_id",
"last_id": "last_id",
"has_more": true
}Returns Examples
{
"object": "list",
"data": [
{
"foo": "bar"
}
],
"first_id": "first_id",
"last_id": "last_id",
"has_more": true
}