One resource and its import status. Pass wait=true to wait up to 15 seconds while status is queued or processing. A deleted resource or one from another workspace answers the same 404 resource_not_found as one that never existed.
Poll this endpoint after an import. ready and failed are final: stop polling when you see either. For failed, read status_detail, fix the cause and re-index.
A resource of another workspace answers the same resource_not_found as one that does not exist.
Wait up to 15 seconds for reading and indexing to finish before returning. Short texts, files and pages usually come back ready (or failed) in one call; larger imports return their current status (queued or processing) when the window ends, never an error.
queued and processing: being read and indexed (pass wait=true or poll until it changes). ready: searchable. failed: see status_detail, then fix and call reindex.
data.status_detailstringnullrequired
data.tagsstring[]required
data.source_urlstringnullrequired
The page or site address, for url and site resources.
data.sourcestringnullrequired
Where it comes from, as shown with its citations.
data.siteobject | nullrequired
A site's page rules and schedule; null for other types.