List library collections
Changed onReturns the collections you own and the collections shared with you, sorted by name with id as a tie-breaker. role is your access level. sharedVia is set on collections shared with you. links.sources lists the sources in the collection.
Send nextCursor as cursor to get the next page. Pagination is not a snapshot: renaming a collection can move it between pages, and deleting or losing access to the cursor's collection returns 400 invalid_request. Restart from the first page if the cursor is no longer valid.
Example
curl https://elicit.com/api/v2/library/collections \
-H "Authorization: Bearer elk_live_your_key_here"
Request
- Base URLhttps://elicit.com/api/v2
- URLhttps://elicit.com/api/v2/library/collections
- AuthHTTP bearer
Query parameters
Pagination cursor from a previous response's nextCursor.
Response
One page of collections.
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info