---
title: "Ingest a CSDS snapshot file."
method: POST
path: "/admin/csds/{processor}/ingest"
tags: ["admin"]
---

# Ingest a CSDS snapshot file.

`POST /admin/csds/{processor}/ingest`

Runs the requested CSDS processor synchronously against an uploaded JSON snapshot rendered from the reporting pipeline. The processor key in the path must be one of `application_codes`, `resolution_codes`, `fee`, `national_court_houses`, or `standard_applicants`. Implemented processors must also be enabled in CSDS ingress configuration; disabled processors return `409 Conflict`, and recognised but unimplemented processors return `501 Not Implemented`. The endpoint honours the distributed CSDS ingest lock and returns `423 Locked` if another run already owns it. The global 5MB multipart file limit applies.

## Path parameters

- `processor` 'application_codes' | 'resolution_codes' | 'fee' | 'national_court_houses' | 'standard_applicants', required

## Response `200`

CSDS ingest completed successfully.

## Other responses

- `400` — Uploaded CSDS snapshot could be parsed, but one or more rows violated target-table constraints. Response detail reports the failing row count; row-level reasons are written to CSDS_AUDIT.
- `401` — Authentication required or token invalid.
- `403` — Authenticated but not permitted to perform this action.
- `409` — The requested CSDS ingest processor is disabled.
- `413` — Request entity is too large to be processed.
- `415` — The server does not support the media type of the request.
- `423` — The requested operation could not start because the resource is locked.
- `500` — Unexpected server error.
- `501` — The requested processor is recognised but not yet implemented.

---

[API](https://skmtc.net/hm-courts-and-tribunals-service/apis/applications-register-api.md) · [All operations](https://skmtc.net/hm-courts-and-tribunals-service/apis/applications-register-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hm-courts-and-tribunals-service/applications-register-api/revisions/bea8e18804d7/schema)
