Skip to main content
GET
Get Resource

Authorizations

api_key
string
header
required

Query Parameters

oId
string

Resource OId. Provide this or url, not both.

Example:

"rs_abc123"

url
string

URL of a page added as a URL resource or crawled from a tracked website, in place of oId. Matched exactly after normalization (protocol, www. and trailing slashes are ignored). A URL no resource was added for returns 404 with a message starting RESOURCE_NOT_INDEXED.

Example:

"https://acme.com/pricing"

checkStorageTaskStatus
boolean | null
default:false

Whether to check and return the current RAG storage task status

Example:

true

includeContent
boolean | null
default:true

Whether to include the full extracted text content of the resource as a single string. Only works for indexed resources. Set to false when polling for upload status to avoid fetching content on every poll.

Example:

true

Response

Resource data

_metadata
object
required
data
object
required