Library

List library collections

Changed on

Returns 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 URL
    https://elicit.com/api/v2
  • URL
    https://elicit.com/api/v2/library/collections
  • Auth
    HTTP bearer

Query parameters

cursorstring uuid

Pagination cursor from a previous response's nextCursor.

limitinteger

Response

One page of collections.

nextCursorstring nullable required
totalCountinteger required

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

      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