Retrieve a library source
Changed onRetrieves a source by id. Includes a nullable download object with downloadUrl, expiresAt, filename, and contentType for the original stored PDF, even before parsing finishes. It is null when no stored PDF exists or a download URL is temporarily unavailable. The URL expires after 30 minutes; call this tool again for a fresh URL. Fetch download.downloadUrl with curl -L --fail --output paper.pdf '<downloadUrl>', without an Authorization header.
fullTextStatus values: pending, Elicit has not finished looking for a PDF; available, full text is ready; unavailable, no PDF was found.
Example
curl https://elicit.com/api/v2/library/sources/{sourceId} \
-H "Authorization: Bearer elk_live_your_key_here"
Request
- Base URLhttps://elicit.com/api/v2
- URLhttps://elicit.com/api/v2/library/sources/{sourceId}
- AuthHTTP bearer
Path parameters
Response
The source.
Changes
- info
added the required 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
added the optional property
/to the response with the status
- info