# Apply a filing extraction **POST /ai/cases/{caseId}/context/extractions/{extractionId}/apply** Copies a completed extraction into the case context, all fields or only those in `fieldsToApply`, marking them as AI-extracted, and returns the extraction with `appliedAt`, `appliedBy` and `appliedFields`. Applying it again returns it unchanged. Returns 400 when the extraction is not completed and 404 when it does not exist or belongs to another case. Requires owner or admin access to the case and an active plan (403 otherwise); not available to opposing counsel. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) - **extractionId** (string) ### Body: application/json (object) - **fieldsToApply** (array[string]) Optional whitelist of fields to apply (e.g. ["legalClaims","keyParties"]). Defaults to all extractable fields. ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)