← Back to Olostep
Retrieve Content
Retrieve page content of processed batches and crawls urls.
Olostep·Free
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "olostep",
path: "/v1/retrieve"
});
console.log(output);Body parameters
retrieve_idrequired
string
The ID of the page content to retrieve. Available in the response of `/v1/crawls/{crawl_id}/pages`, `/v1/scrapes/{scrape_id}` or `/v1/batches/{batch_id}/items` endpoints
formats
string
Optional array to retrieve only specific formats in production. If not provided, all formats will be returned.
Response
success
boolean
html_content
null
json_content
null
network_calls
null
size_exceeded
boolean
html_hosted_url
null
json_hosted_url
null
markdown_content
null
markdown_hosted_url
null
screenshot_hosted_url
null