๐ Portkey raises Series A - $15M to build AI that never breaks ย Read announcement โ
curl --request GET \
--url https://api.portkey.ai/v1/responses/{response_id}/input_items \
--header 'x-portkey-api-key: <api-key>'{
"object": "list",
"data": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "<string>"
}
],
"id": "<string>",
"type": "message",
"status": "in_progress"
}
],
"has_more": true,
"first_id": "<string>",
"last_id": "<string>"
}curl --request GET \
--url https://api.portkey.ai/v1/responses/{response_id}/input_items \
--header 'x-portkey-api-key: <api-key>'{
"object": "list",
"data": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "<string>"
}
],
"id": "<string>",
"type": "message",
"status": "in_progress"
}
],
"has_more": true,
"first_id": "<string>",
"last_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-log-export-guide-1773064217.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the response to retrieve input items for.
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
The order to return the input items in. Default is asc.
asc: Return the input items in ascending order.desc: Return the input items in descending order.asc, desc An item ID to list items after, used in pagination.
An item ID to list items before, used in pagination.
OK
A list of Response items.
The type of object returned, must be list.
list A list of items used to generate this response.
Content item used to generate a response.
Show child attributes
Whether there are more items available.
The ID of the first item in the list.
The ID of the last item in the list.
Was this page helpful?