Chat
List stored response input items
GET
Returns the expanded input items stored for a response created without store:false.
ApiKeyAuthheader
Authorization<token>response_id*stringResponse ID returned by POST /v1/responses.
limit?integerMaximum number of input items to return.
范围
1 <= value <= 100默认
20after?stringReturn items after this input item ID.
order?stringItem order within the stored input list.
默认
"asc"值于
"asc""desc"Stored input items
application/json- response
data*array<|||||||||||||||||||||||||>first_id*stringhas_more*booleanlast_id*stringobject*"list"值于
"list"curl -X GET 'https://api.ohmygpt.com/v1/responses/string/input_items'示例响应
{ "data": [ { "content": "string", "phase": "commentary", "role": "user", "type": "message" } ], "first_id": "string", "has_more": true, "last_id": "string", "object": "list"}Retrieve stored response GET
Returns a response previously created without `store:false`. Only responses owned by the authenticated user are visible. The response `id` and `previous_response_id` fields use OhMyGPT response IDs.
List stored responses GET
Lists stored responses owned by the authenticated user, newest first. Deleted responses are excluded; every stored status is returned. Use `after` with the previous page's `last_id` to page backwards.