Library

Retrieve a library collection

Changed on

Retrieves a collection by id. role is your access level.

Example

curl https://elicit.com/api/v2/library/collections/{collectionId} \
  -H "Authorization: Bearer elk_live_your_key_here"
get/library/collections/{collectionId}

Request

  • Base URL
    https://elicit.com/api/v2
  • URL
    https://elicit.com/api/v2/library/collections/{collectionId}
  • Auth
    HTTP bearer

Path parameters

collectionIdstring uuid required

Response

The collection.

idstring uuid required
namestring required
descriptionstring required
role'owner' | 'writer' | 'reader' required

Your access level. A reader can view the collection. A writer can also add and remove sources and edit the name and description. An owner can also delete the collection and change who it is shared with.

kind'personal' | 'group' required

personal: never shared; lists your own sources. group: has been shared at least once; owns copies of its sources, and stays a group collection.

sharedVia'direct' | 'organization'

direct if the owner shared the collection with you. organization if the owner shared it with your organization. Absent on your own collections.

sourceCountinteger 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

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status