
Re-read a cached result for free
GET/v1/results/{id}
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "anyapi",
"path": "",
"method": "GET"
}'
{
"success": true,
"data": {
"items": 10,
"output": { … },
"source": { … },
"provider": "AnyAPI",
"replayed": false,
"resultId": "19ade57e-c84e-415b-831f-d8f19a368169"
}
}
A real response, recorded when Orthogonal checked this endpoint.
Free
Calls cost nothing.
API-wide: 99.7% success · 2,291 ms median · 30 days
About this endpoint
Re-read the full unshaped result of a prior run from its short-lived cache and re-shape it with the same fields, max_items, summary, and jq query params as /v1/run, all for FREE (no re-billing). Results are scoped to the customer that paid for them and cached for about 15 minutes. Use this to read the rest of, or reshape, a paid result instead of re-running and paying again.
Path parameters
idrequiredstringGoes in the path: replace {id} in the request.Query parameters
fieldsstringOptional. Comma-separated keys (dotted paths like author.name descend into nested objects) to keep on each result item: each row of the API's result list, or the data object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use jq to reshape the whole envelope. Shrinks the response without changing cost.max_itemsintegerOptional. Cap the number of result rows returned; a _truncated note reports how many were withheld so you can page via the API's own limit. An API that returns one record is not trimmed. Does not change cost.summarybooleanOptional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.jqstringOptional. A jq expression applied to the result envelope; its output replaces output (multiple outputs collect into an array). Reshape freely, e.g. jq=.data | {title, description, md: .markdown[:3500]}. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a jqError. Does not change cost.Response types
costUsdUSD charged on the ORIGINAL run, echoed for envelope parity; this re-read is free.numberitemsNumber of result rows returned by the original run; an API that returns one record counts it as one row.integerjqErrorPresent only when a jq expression failed; output then carries the full unshaped result and this explains why the reshape did not apply.stringoutputThe normalized result ({found, data} by default, plus reason when found is false), re-shaped by any fields/max_items/summary/jq params. Open shape - a jq expression may replace it with an array or scalar.anyproviderAlways "AnyAPI".stringreplayedFalse on this cached-result endpoint; true is reserved for durable idempotency replays from POST /v1/run/{sku}.booleanresultIdThe id you requested, echoed so you can keep re-reading the same cached result.stringMore from AnyAPI
- YouTube Channel ShortsPOST/v1/run/youtube.channel_shortsUp to $0.003488 per callResponse-based
- YouTube Hashtag SearchPOST/v1/run/youtube.search_hashtagUp to $0.001308 per callResponse-based
- TikTok Shop Store ProductsPOST/v1/run/tiktok_shop.shop_productsUp to $0.001308 per callResponse-based
- Upwork JobsPOST/v1/run/upwork.jobsUp to $0.031174 per callResponse-based
- Google AutocompletePOST/v1/run/google.autocompleteUp to $0.001079 per callResponse-based
- Reddit Subreddit PostsPOST/v1/run/reddit.subreddit_postsUp to $0.001308 per callResponse-based
- App Store SearchPOST/v1/run/appstore.searchUp to $0.000927 per callResponse-based
- Glassdoor JobsPOST/v1/run/glassdoor.jobsUp to $0.1199 per callResponse-based
- X / Twitter User SearchPOST/v1/run/twitter.search_usersUp to $0.002289 per callResponse-based
- Instagram Profile Contact InfoPOST/v1/run/instagram.profile_contactUp to $0.007859 per callResponse-based
- Redfin SearchPOST/v1/run/redfin.searchUp to $0.014824 per callResponse-based
- TikTok Trending FeedPOST/v1/run/tiktok.trending_feedUp to $0.001308 per callResponse-based