GET
/
v1
/
retrieve
curl --request GET \
  --url https://api.olostep.com/v1/retrieve \
  --header 'Authorization: Bearer <token>'
{
  "html_content": "<string>",
  "markdown_content": "<string>",
  "json_content": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

retrieve_id
string
required

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
enum<string>[]

Optional array of formats to retrieve. If not provided, markdown format will be returned by default.

Available options:
html,
markdown,
json

Response

200
application/json
Successful response with page content.
html_content
string

HTML content of the page, if requested and available.

markdown_content
string

Markdown content of the page, if requested and available.

json_content
string

JSON content of the page returned from parsers, if requested and available.