Get a bulk lookup batch status

GET /api/v1/bulk/lookup/{id}

Poll a previously created batch and view per-item statuses.

Headers

  • Authorization string Required

    API token in format: Bearer YOUR_API_TOKEN

Path parameters

  • id integer Required

    Batch id

Responses

  • 200 application/json

    Batch status

    Hide response attributes Show response attributes object
    • id integer Required
    • status string Required
    • requested_count integer Required
    • processed_count integer Required
    • success_count integer Required
    • error_count integer Required
    • items array[object]
      Hide items attributes Show items attributes object
      • id integer
      • position integer
      • input string
      • canonical_host string | null
      • status string
      • etag string | null
      • last_modified string(date_time) | null
      • mode string | null
      • confidence integer | null
      • error_message string | null
      • started_at string(date_time) | null
      • finished_at string(date_time) | null
  • 401

    Unauthorized

  • 404

    Not found

GET /api/v1/bulk/lookup/{id}
curl \
 --request GET 'https://api.techlens.app/api/v1/bulk/lookup/{id}' \
 --header "Authorization: string"
Response examples (200)
{
  "id": 42,
  "status": "processing",
  "requested_count": 42,
  "processed_count": 42,
  "success_count": 42,
  "error_count": 42,
  "items": [
    {
      "id": 42,
      "position": 42,
      "input": "string",
      "canonical_host": "string",
      "status": "queued",
      "etag": "string",
      "last_modified": "string",
      "mode": "string",
      "confidence": 42,
      "error_message": "string",
      "started_at": "string",
      "finished_at": "string"
    }
  ]
}