read_pages
Read several web pages in one call and return each page’s title and text as Markdown. URLs that could not be read come back in failed; the call still succeeds. Use when you have a list of URLs. Do not use for one page (use read_page) or to follow links across a site (use crawl_site). Defaults to firecrawl. Set provider to choose another supported provider; Fieldwork never switches providers after an error.
/api/v1/tools/read_pagesAuthorizationBearer token · headerrequiredA Fieldwork gateway key, issued per agent by the operator. Send it as Authorization: Bearer <key>.
application/jsonproviderstringexafirecrawltavilyparalleltimeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
urlsstring<uri>[]requiredThe pages' full URLs, including https://.
querystringAlso return the passages of each page that answer this, as excerpts.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. 0 always fetches a fresh copy.
resumestringThe jobId from an earlier call's error, when that call timed out or was cancelled. Waits for that job instead of starting and paying for a new one.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
urlsstring<uri>[]requiredThe pages' full URLs, including https://.
querystringAlso return the passages of each page that answer this, as excerpts.
maxCharsPerResultintegerCap on the characters of passages or excerpts returned for each result.
maxContentCharsintegerCap on the characters of full page text returned as markdown for each page.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. 0 always fetches a fresh copy.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredurlsstring<uri>[]requiredThe pages' full URLs, including https://.
querystringAlso return the passages of each page that answer this, as excerpts.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. 0 always fetches a fresh copy.
resumestringThe jobId from an earlier call's error, when that call timed out or was cancelled. Waits for that job instead of starting and paying for a new one.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredurlsstring<uri>[]requiredThe pages' full URLs, including https://.
querystringAlso return the passages of each page that answer this, as excerpts.
chunksPerSourceintegerPassages to return per page, 1 to 5. Requires query.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredurlsstring<uri>[]requiredThe pages' full URLs, including https://.
querystringAlso return the passages of each page that answer this, as excerpts.
maxCharsPerResultintegerCap on the characters of passages or excerpts returned for each result.
maxCharsTotalintegerCap on the characters of passages or excerpts returned across all results.
maxContentCharsintegerCap on the characters of full page text returned as markdown for each page.
maxAgeintegerUse a cached copy of the page if it is no older than this many seconds. At least 600: Parallel cannot always fetch fresh.
maxCharactersintegerShared long-text budget for this call; defaults to 20000. Never sent to the provider.
timeoutintegerMaximum wait in milliseconds. Resume a returned jobId to collect a long job.
providerstringrequiredThe provider that ran the call and its normalized result.
providerstringrequiredexafirecrawltavilyparallelrequestIdstringrequiredresultobjectrequiredShow propertiesHide properties
failedobject[]requiredShow propertiesHide properties
objecterrorstringrequiredurlstringrequiredidstringmetaobjectRequest details from the provider: its request id, what it charged and any warnings.
Show propertiesHide properties
requestIdstringusageobjectShow propertiesHide properties
costUsdnumbercreditsnumberunitsobjectwarningsstring[]pagesobject[]requiredShow propertiesHide properties
objectauthorstringdescriptionstringexcerptsstring[]faviconstringhtmlstringimagestringimagesstring[]languagestringlinksstring[]markdownstringmetaobjectRequest details from the provider: its request id, what it charged and any warnings.
Show propertiesHide properties
requestIdstringusageobjectShow propertiesHide properties
costUsdnumbercreditsnumberunitsobjectwarningsstring[]publishedAtstringrawHtmlstringscreenshotstringstatusCodenumbersummarystringtitlestringurlstringrequiredtruncatedobject[]One entry for each cut text field; absent when nothing was cut.
Show propertiesHide properties
objectlengthintegerrequiredOriginal character length.
pathstringrequiredshownintegerrequiredCharacters shown before the inline cut note.
A refusal or a failed call. Branch on error.code; never parse the message.
errorobjectrequiredShow propertiesHide properties
codestringrequiredAbortedInvalidRequestJobFailedNotAFileNotFoundProviderErrorRateLimitedTimeoutTooLargeUnauthorizedUnsupportedjobIdstringA job that was already started. Pass it as resume instead of repeating the call.
messagestringrequiredproviderstringretryAfternumberSeconds to wait.
retryablebooleanrequiredWhether repeating the same call can succeed.
requestIdstring