---
title: "Get search job status"
method: GET
path: "/api/{org_id}/search_jobs/{job_id}"
tags: ["Search Jobs"]
---

# Get search job status

`GET /api/{org_id}/search_jobs/{job_id}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/search_jobs/{job_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/search_jobs/:job_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the current status and metadata for a specific search job. This includes execution state, timing information, error messages if any, and other job details. Use this to monitor job progress and determine when results are ready for retrieval or if the job encountered any issues during execution.

## Path parameters

- `org_id` string, required
- `job_id` string, required

## Response `200`

Search job status

- SearchJob
  - `cluster` string, nullable
  - `created_at` integer, required
  - `end_time` integer, required
  - `ended_at` integer, nullable
  - `error_message` string, nullable
  - `id` string, required
  - `node` string, nullable
  - `org_id` string, required
  - `partition_num` integer, nullable
  - `payload` string, required
  - `result_path` string, nullable
  - `start_time` integer, required
  - `started_at` integer, nullable
  - `status` integer, required
  - `stream_names` string, required
  - `stream_type` string, required
  - `trace_id` string, required
  - `updated_at` integer, required
  - `user_id` string, required

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
