add_pdf
Add a PDF to a space from a URL (a public address; up to 50 MB) or base64 bytes. For a local file, uploading is cheaper: curl -F file=@report.pdf -H "Authorization: Bearer $KEY" https://tryartifacts.com/api/spaces/<space_id>/pdf
Parameters
space_idstringrequiredtitlestringurlstringbase64stringread_pdf
Read a PDF's text, page by page (pdf.js), e.g. to answer a comment on page 3 or summarize it into a document. Pass pages to read only some; long PDFs stop at about 60,000 characters and say which pages are left.
Parameters
item_idstringrequiredpagesinteger[]