---
title: "Re-ingest a job"
method: POST
path: "/v1/namespace/{namespaceId}/ingest-jobs/{jobId}/re-ingest"
tags: ["Ingest Jobs"]
---

# Re-ingest a job

`POST /v1/namespace/{namespaceId}/ingest-jobs/{jobId}/re-ingest`

## Request

- Base URL: `https://api.agentset.ai`
- URL: `https://api.agentset.ai/v1/namespace/{namespaceId}/ingest-jobs/{jobId}/re-ingest`
- Auth: HTTP bearer

Re-ingest a job for the authenticated organization.

## Path parameters

- `namespaceId` string, required: The id of the namespace (prefixed with ns_)
- `jobId` string, required: The id of the job (prefixed with job_)

## Headers

- `x-tenant-id` string: Optional tenant id to use for the request. If not provided, the namespace will be used directly. Must be alphanumeric and up to 64 characters.

## Response `200`

The re-ingested job

- object
  - `success` true, required
  - `data` object, required
    - `id` string, required: The unique ID of the ingest job.

## Other responses

- `400`: The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
- `401`: Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
- `403`: The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
- `404`: The server cannot find the requested resource.
- `409`: This response is sent when a request conflicts with the current state of the server.
- `410`: This response is sent when the requested content has been permanently deleted from server, with no forwarding address.
- `422`: The request was well-formed but was unable to be followed due to semantic errors.
- `429`: The user has sent too many requests in a given amount of time ("rate limiting")
- `500`: The server has encountered a situation it does not know how to handle.

---

[API](https://skmtc.dev/agentset/apis/agentsetapi.md) - [All operations](https://skmtc.dev/agentset/apis/agentsetapi/llms.txt) - [OpenAPI document](https://skmtc.dev/agentset/apis/agentsetapi/revisions/6b4c2d11d27a?raw)
