Skip to main content
GET
Get Buyer File Download Links

Authorizations

Authorization
string
header
required

HTTP Bearer Authentication

Path Parameters

fileId
string<uuid>
required

Buyer file ID, from researchBuyerFiles.

Response

Signed download links and metadata for the requested buyer file.

id
string<uuid>
required

Unique identifier of the buyer file.

contentType
string
required

MIME type of the original file (e.g., application/pdf, text/vtt).

1-hour signed URL to the original file. WARNING: this file may be very large (multi-megabyte PDFs are common) and is not size-bounded. Do NOT fetch and inline its contents into your context — use viewFileContents for token-bounded text, or hand the URL to the user.

originalName
string | null

Original file name as uploaded or scraped. For scraped sources this is often a URL-encoded source path (e.g., https_www_youtube_com_watch_v_xyz.vtt) — do NOT surface it to the user as-is.

type
enum<string> | null

Buyer-file classification (Rfp, Contract, PurchaseOrder, BoardMeeting, StrategicPlan, Other, …). Null if the type has not been detected yet.

Available options:
Rfp,
RfpProposal,
Contract,
PurchaseOrder,
VendorList,
BoardMeeting,
BoardMeetingAgenda,
BoardMeetingAgendaPacket,
StrategicPlan,
CapitalImprovementPlan,
AnnualFinancialReport,
ProposedBudget,
Budget,
BudgetAmendment,
CurriculumAdoptionSchedule,
Other
originalSizeBytes
integer | null

Size of the original file in bytes. May be null for older files where size was not recorded. Use this to decide whether the file is too large to fetch.

1-hour signed URL to the parsed-markdown rendering of the file, or null if the file is not yet processed. WARNING: markdown is typically smaller than the original but is also not size-bounded and may itself be very large. Do NOT fetch and inline its contents into your context — use viewFileContents for token-bounded text, or hand the URL to the user.