List recent ingestion jobs and runs
Recent ingestion runs in your organisation, newest first. There is no cursor: this shows recent runs, not full history, and limit is clamped, never refused.
GET
/
knowledge
/
jobs
curl --request GET "$MITHUNAI_URL/arukz/api/v1/knowledge/jobs?source_id=5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13&limit=5" \
--header "Authorization: Bearer $MITHUNAI_API_KEY"
import os, requests
response = requests.get(
f"{os.environ['MITHUNAI_URL']}/arukz/api/v1/knowledge/jobs",
headers={"Authorization": f"Bearer {os.environ['MITHUNAI_API_KEY']}"},
params={"source_id": "5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13", "limit": 5},
timeout=60,
)
response.raise_for_status()
print(response.json())
const params = new URLSearchParams({
source_id: '5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13',
limit: '5',
})
const response = await fetch(`${process.env.MITHUNAI_URL}/arukz/api/v1/knowledge/jobs?${params}`, {
headers: { Authorization: `Bearer ${process.env.MITHUNAI_API_KEY}` },
})
console.log(await response.json())
{
"data": [
{
"id": "9a4c2e71-6b0d-4f38-a5e2-1c7d8f3b6e40",
"collection_id": "0b6f2c14-8a3d-4e91-9c77-2f5b1d0a4e88",
"source_id": "5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13",
"status": "succeeded",
"trigger": "manual",
"source_version": "4f9c2e7a1b3d5c8e0f2a4b6c8d0e1f3a5b7c9d2e",
"is_active": false,
"attempt": 1,
"max_attempts": 3,
"queued_at": "2026-09-24T10:20:05.127004+00:00",
"started_at": "2026-09-24T10:20:06.340918+00:00",
"finished_at": "2026-09-24T10:22:41.503117+00:00",
"next_attempt_at": null,
"error_code": null,
"error_message": null,
"counters": {
"documents_discovered": 214,
"documents_ingested": 201,
"documents_unchanged": 0,
"documents_skipped": 13,
"documents_failed": 0,
"documents_deleted": 0,
"chunks_written": 1904,
"bytes_fetched": 4718290
}
}
]
}
Returns up to
limit jobs, newest first. There is no offset or cursor: this endpoint shows recent runs, not a full history.
limit is clamped rather than refused. A value below 1 becomes 1, a value above 100 becomes 100, and a value that is not a whole number falls back to 20.
source_id filters the list. A well-formed ID that is not one of your sources matches nothing and returns an empty data array. A value longer than 64 characters returns 404. Any role in the organization can list jobs.
string
Return only this source’s jobs (a UUID).
integer
default:"20"
Maximum number of jobs to return, from
1 to 100.Response
object[]
required
Jobs, newest first.
Show properties
Show properties
string
required
Job ID (a UUID).
string
required
Collection being ingested into.
string
required
Source being ingested.
string
required
pending, queued, running, succeeded, partial, failed, cancelled or skipped.
See Get a job for what each means.string
required
manual, scheduled or api.string | null
required
Source version the run read, such as a commit SHA.
null until the run starts.boolean
required
true while the status is pending, queued or running.integer
required
Which attempt this is, starting at
1.integer
required
Total attempts allowed.
string | null
required
ISO 8601 timestamp, in UTC, when the current attempt was queued.
string | null
required
ISO 8601 timestamp, in UTC, when the current attempt started.
string | null
required
ISO 8601 timestamp, in UTC, when the job ended.
string | null
required
ISO 8601 timestamp, in UTC, before which a queued retry will not start.
string | null
required
Stable error code when the run failed. Otherwise
null.string | null
required
Readable description of the failure. Otherwise
null.curl --request GET "$MITHUNAI_URL/arukz/api/v1/knowledge/jobs?source_id=5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13&limit=5" \
--header "Authorization: Bearer $MITHUNAI_API_KEY"
import os, requests
response = requests.get(
f"{os.environ['MITHUNAI_URL']}/arukz/api/v1/knowledge/jobs",
headers={"Authorization": f"Bearer {os.environ['MITHUNAI_API_KEY']}"},
params={"source_id": "5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13", "limit": 5},
timeout=60,
)
response.raise_for_status()
print(response.json())
const params = new URLSearchParams({
source_id: '5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13',
limit: '5',
})
const response = await fetch(`${process.env.MITHUNAI_URL}/arukz/api/v1/knowledge/jobs?${params}`, {
headers: { Authorization: `Bearer ${process.env.MITHUNAI_API_KEY}` },
})
console.log(await response.json())
{
"data": [
{
"id": "9a4c2e71-6b0d-4f38-a5e2-1c7d8f3b6e40",
"collection_id": "0b6f2c14-8a3d-4e91-9c77-2f5b1d0a4e88",
"source_id": "5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13",
"status": "succeeded",
"trigger": "manual",
"source_version": "4f9c2e7a1b3d5c8e0f2a4b6c8d0e1f3a5b7c9d2e",
"is_active": false,
"attempt": 1,
"max_attempts": 3,
"queued_at": "2026-09-24T10:20:05.127004+00:00",
"started_at": "2026-09-24T10:20:06.340918+00:00",
"finished_at": "2026-09-24T10:22:41.503117+00:00",
"next_attempt_at": null,
"error_code": null,
"error_message": null,
"counters": {
"documents_discovered": 214,
"documents_ingested": 201,
"documents_unchanged": 0,
"documents_skipped": 13,
"documents_failed": 0,
"documents_deleted": 0,
"chunks_written": 1904,
"bytes_fetched": 4718290
}
}
]
}
Last modified on September 26, 2026
⌘I
curl --request GET "$MITHUNAI_URL/arukz/api/v1/knowledge/jobs?source_id=5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13&limit=5" \
--header "Authorization: Bearer $MITHUNAI_API_KEY"
import os, requests
response = requests.get(
f"{os.environ['MITHUNAI_URL']}/arukz/api/v1/knowledge/jobs",
headers={"Authorization": f"Bearer {os.environ['MITHUNAI_API_KEY']}"},
params={"source_id": "5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13", "limit": 5},
timeout=60,
)
response.raise_for_status()
print(response.json())
const params = new URLSearchParams({
source_id: '5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13',
limit: '5',
})
const response = await fetch(`${process.env.MITHUNAI_URL}/arukz/api/v1/knowledge/jobs?${params}`, {
headers: { Authorization: `Bearer ${process.env.MITHUNAI_API_KEY}` },
})
console.log(await response.json())
{
"data": [
{
"id": "9a4c2e71-6b0d-4f38-a5e2-1c7d8f3b6e40",
"collection_id": "0b6f2c14-8a3d-4e91-9c77-2f5b1d0a4e88",
"source_id": "5d1e7a90-3c4b-4f2a-8e61-7b9c0d2f4a13",
"status": "succeeded",
"trigger": "manual",
"source_version": "4f9c2e7a1b3d5c8e0f2a4b6c8d0e1f3a5b7c9d2e",
"is_active": false,
"attempt": 1,
"max_attempts": 3,
"queued_at": "2026-09-24T10:20:05.127004+00:00",
"started_at": "2026-09-24T10:20:06.340918+00:00",
"finished_at": "2026-09-24T10:22:41.503117+00:00",
"next_attempt_at": null,
"error_code": null,
"error_message": null,
"counters": {
"documents_discovered": 214,
"documents_ingested": 201,
"documents_unchanged": 0,
"documents_skipped": 13,
"documents_failed": 0,
"documents_deleted": 0,
"chunks_written": 1904,
"bytes_fetched": 4718290
}
}
]
}