Median

GET /knowledge/crawls

Updated Oct 1, 20261 minute read

List crawls

Every trip the crawler has taken lately, newest first, up to 20.

Part of Knowledge.

Responses

StatusDescription
200The crawls.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
crawlsobject[]No
crawls[].idstringNo
crawls[].urlstringNo
crawls[].status"starting" | "crawling" | "done" | "failed"No
crawls[].erroranyNo
crawls[].pagesCrawledanyNo
crawls[].pagesFoundanyNo
crawls[].docsCreatedintegerNo
crawls[].startedBystringNo
crawls[].startedAtintegerNo
crawls[].finishedAtanyNo

Example request

curl https://api.median.sh/v1/knowledge/crawls \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc