---
title: "Archive eval job"
method: POST
path: "/api/{org_id}/eval_jobs/{job_id}/archive"
tags: ["EvalJobs"]
---

# Archive eval job

`POST /api/{org_id}/eval_jobs/{job_id}/archive`

## 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}/eval_jobs/{job_id}/archive`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/eval_jobs/:job_id/archive/post.ts> (a function with typed inputs; its response is checked against the schema)

Archives the eval job. Archived jobs are retained for audit but no longer evaluated.

## Path parameters

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

## Response `200`

- object: HTTP response body for status-transition endpoints (activate/pause/resume/archive).
  - `id` string, required
  - `pipelineId` string, nullable
  - `status` string, required
  - `updatedAt` integer, required

## Other responses

- `404`: Not Found

---

[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)
