My App
Api
GET
/crawl/{crawlId}/status

Returns the current progress of a crawl.

x-api-key<token>

API key from the LangRelay dashboard. Org-level keys can access all projects; project-scoped keys are restricted to one project.

In: header

Path Parameters

crawlId*string

Response Body

application/json

application/json

curl -X GET "https://api.langrelay.com/v1/crawl/crwl_abc123/status"
{
  "id": "crwl_abc123",
  "projectId": "proj_abc123",
  "mode": "quick",
  "status": "running",
  "pagesDiscovered": 45,
  "pagesProcessed": 12,
  "segmentsExtracted": 340,
  "translationsTriggered": 280,
  "error": "string",
  "startedAt": "2019-08-24T14:15:22Z",
  "completedAt": "2019-08-24T14:15:22Z"
}
{
  "type": "https://api.langrelay.com/errors/bad-request",
  "title": "Bad Request",
  "status": 400,
  "detail": "projectId and language query parameters are required."
}