List input items
List the input items of a stored response, as you sent them.
/responses/{response_id}/input_itemsList the input items of a stored response, as you sent them.
A file you sent as input_file appears as its file_id. A response that does not exist, or that belongs to another account, answers 404.
Authorization
BearerAuth Your Avey API key, sent as Authorization: Bearer <key>. This is the header the OpenAI SDKs already send, so pass the key as the client's ordinary api_key and no further configuration is needed.
In: header
Path Parameters
The id of a stored response, as returned in its id.
Query Parameters
The most items to return on one page, from 1 to 100.
1 <= value <= 100The last_id of the previous page. Pass it to get the page that follows.
Sort by creation time. Defaults to desc, which puts the newest first.
"desc"Value in
- "asc"
- "desc"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl https://api.avey.ai/llm/responses/resp_5c7a2e1f8b3d4a609e1c7f2b4d8a6e30/input_items \ -H "Authorization: Bearer $AVEY_API_KEY"{ "object": "list", "data": [ { "type": "message", "role": "user", "content": "Summarize this discharge note in plain language:" }, { "type": "function_call_output", "call_id": "call_a1b2c3", "output": "{\"result\": \"no results on file\"}" } ], "first_id": "msg_7a1d3c9e2b4f4a60", "last_id": "msg_0e5f8b2c6d4a4e91", "has_more": false}