Library
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"
get/library/collections
Request
- Base URLhttps://elicit.com/api/v2
- URLhttps://elicit.com/api/v2/library/collections
- AuthHTTP bearer
Query parameters
cursorstring uuid
Pagination cursor from a previous response's nextCursor.
limitinteger
Response
One page of collections.
Changes
- info
endpoint added
- info