v27

latestOpenAPI 3.0.02026-07-1347144237.4 KB
StoredCompletion:

Gets list of stored completions.

get/chat/completions

Query parameters

metadatastring

Filter by the (key, value) pair in stored completion.

modelstring

Filter by model name.

afterstring

Identifier for the last stored completion from the previous pagination request.

limitinteger

Number of stored completions to retrieve. Defaults to 20.

orderstring

Order of the results by created time (ascending or descending). Default to desc.

api-versionstring required

The requested API version.

Response

Success

objectstring

The object type, which is always list

totalinteger

Total number of items.

first_idstring

The first id in the retrieved list

last_idstring

The last id in the retrieved list

has_moreboolean

The has_more property is used for pagination to indicate there are additional results.