Get the HTML SpeedWorkers stored for a URL during a past indexation.
Get what Botify SpeedWorkers stored during one past indexation of a page:
the HTML received (and rendered) from the origin, the URL fetched, the HTTP
status code and headers returned by the origin, the canonical URL, a summary
of the JavaScript rendering, and the indexation job (cache behavior,
rendering config, inventory sources and page properties).
The indexation event is identified by the `event_id` returned by
`speedworkers_page_history`. Old events may no longer be available. Use
`speedworkers_page_preview` for the page currently delivered to bots.
Header values that may hold credentials (cookies, authorization...) and
credentials in URLs are masked. With `save_to_tmp_storage`, the HTML is saved
to temporary storage and its URL is returned instead.
The project must have SpeedWorkers enabled.
Playground
Log inLog in to try this tool. The request uses your session.
POST
item
event_idrequired
The `event_id` of an indexation event, as returned by the `speedworkers_page_history` tool.
config
save_to_tmp_storage
Save the HTML to Botify temporary storage and return the temporary URL instead of the HTML. Use this to save output tokens. The returned URL can be passed to other HTML-processing tools. Headers and details are still returned.
Credits
Fixed cost per indexation event requested. This tool reads the page SpeedWorkers already stored for your project and calls no outside service, so nothing is added to the per-call price.
These usage SKUs can be charged on a call.
SKU
Credits
Description
Tool call
1 per request
Charged once per successful item.
Schemas
item is what you send, config how the tool behaves,
and the response is what you get back.
Item
object
Properties
event_idstringrequired
The `event_id` of an indexation event, as returned by the `speedworkers_page_history` tool.
Example
{
"event_id": "string"
}
Configuration
object
Properties
save_to_tmp_storageboolean
Save the HTML to Botify temporary storage and return the temporary URL instead of the HTML. Use this to save output tokens. The returned URL can be passed to other HTML-processing tools. Headers and details are still returned.
Default: false
Example
{
"save_to_tmp_storage": false
}
Response
object
Properties
htmlstring | null
HTML of the page as stored by SpeedWorkers during this indexation. Omitted when `save_to_tmp_storage` is True; see `html_tmp_storage_url` instead.
Default: null
html_tmp_storage_urlstring | null
Temporary storage URL of the HTML page. Returned instead of `html` when `save_to_tmp_storage` is True. Can be passed to other HTML-processing tools.
Default: null
urlstring | null
URL fetched by SpeedWorkers from the origin
Default: null
indexed_atstring (date-time)required
When the indexation happened
status_codeinteger | null
HTTP status code returned by the origin
Default: null
headersobject | null
HTTP headers returned by the origin; values that may hold credentials (cookies, authorization...) are masked with `**`