storage_get
Retrieve a previously crawled page from Crawlbase Cloud Storage by RID or URL. Get the raw JSON record, HTML body, or Markdown version.
Instructions
Retrieve a single stored page from Crawlbase Cloud Storage by RID or URL. Only works for pages previously crawled with store=true. Returns the raw JSON record by default; pass as=html to return just the body, or as=markdown to convert it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | How to render the body. Default: json (full record). | |
| rid | No | Storage request ID. Either rid or url must be provided. | |
| url | No | Original crawled URL. Either rid or url must be provided. | |
| use_js_token | No | Query the JS token's storage instead of the normal token's. Storage is per-token. Set this to true if the prior crawl response showed token_type=js (i.e. screenshot or JS-rendered pages); otherwise the lookup will return 'Not found'. |