beta.libraries.documents
List documents in a given library.
Changed onGiven a library, lists the document that have been uploaded to that library.
get/v1/libraries/{library_id}/documents
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
library_idstring uuid required
Query parameters
searchstring nullable
page_sizeinteger
pageinteger
filters_attributesstring nullable
Deprecated: this parameter will be removed in a future version.
sort_bystring
sort_orderstring
Response
Successful Response
Changes
- info
queryrequest parameterfilters_attributeswas deprecated - info
added the optional property
//to the response with the status - info
response property
data/items/hashdeprecated - info
response property
data/items/processing_statusdeprecated - info
response property
data/items/tokens_processing_main_contentdeprecated - info
response property
data/items/tokens_processing_summarydeprecated
- info
- info
endpoint added
- info