# AcreBlitz API > ESA and PULA API documentation for V2. Use https://esa.acreblitz.com/api/v2 for all API requests. Fetch the linked Markdown pages directly; no API key or user copy/paste is needed to read the public documentation. # V2: ESA API V2 Source: https://docs.acreblitz.com/v2/index.md > Synchronous ESA assessments, bulk jobs, soil analysis, and portal controls Use V2 to check one pesticide application or submit a group of fields for asynchronous processing. You receive PULA requirements, runoff and drift assessments, and portal links for review. Base URL: `https://esa.acreblitz.com`. All API routes use the `/api/v2` prefix. V1 is deprecated. This documentation covers the supported V2 endpoints. - [Quickstart](https://docs.acreblitz.com/v2/quickstart): Run a single check and inspect the assessment. - [Bulk checks](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit): Submit up to 100 fields with shared products and crops. - [Migrate to V2](https://docs.acreblitz.com/v2/migration): Review request validation and response changes. - [API reference](https://docs.acreblitz.com/v2/api-reference/introduction): Browse every V2 endpoint. ## Interpret an assessment Read [Understanding compliance determinations](https://docs.acreblitz.com/v2/compliance-determination) for the full runoff and drift workflow, setup violations, status precedence, and when to refresh saved results. An HTTP 200 response or `success: true` means the request was handled. Read `compliance.status`, `compliance.processing_complete`, and `compliance.issues` before making a decision. A completed calculation can remain `indeterminate` when applicability, weather, or field conditions need review. | Status | Meaning | |---|---| | `met` | Evaluated requirements are met within the assessment's scope. | | `not_met` | A verified requirement has a shortfall. | | `not_applicable` | No applicable requirement was established for the verified inputs. | | `indeterminate` | Evidence, processing, or verification is incomplete. | An ESA assessment does not grant unrestricted application clearance. Review the product label, returned PULA text, and unresolved conditions. ## Soil reuse and refreshed results After portal changes, use [get application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) or [get group compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance) to read current runoff scoring, saved requirements, and full drift details. These read-only endpoints use `Cache-Control: no-store`. Their `last_assessment` is historical; retrieval does not produce a new overall compliance verdict. V2 reuses soil when the field boundary and processing version match. A changed field boundary triggers fresh processing. Background soil enrichment does not rewrite a returned assessment; resubmit the same application to refresh it. Bulk polling responses use `Cache-Control: no-store`. Do not cache job status as a final assessment. --- # V2: Quickstart Source: https://docs.acreblitz.com/v2/quickstart.md > Make a V2 check and submit your first bulk job ## Send one application Set `ACREBLITZ_API_KEY` on your backend, replace the provider/account/field identifiers, and submit a valid field boundary. This example uses Liberty Ultra with `Broadcast-Ground`. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/esa-check' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "provider_id": "your-provider", "account_id": "your-account", "provider_field_id": "north-field", "provider_group_id": "work-order-42", "field_name": "North field", "application_id": "north-application-2026-10-05", "application_method": "Broadcast-Ground", "application_date": "2026-10-05", "field_boundary": { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.404, 43.102 ], [ -95.392, 43.102 ], [ -95.392, 43.11 ], [ -95.404, 43.11 ], [ -95.404, 43.102 ] ] ] } }, "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "rate": 32, "rate_unit": "fl oz/ac", "rate_unit_state": "L" } ], "crop": [ "Corn" ], "pest": [ "Waterhemp" ], "gpa": 15, "droplet_size": "VC", "boom_height": "low", "include_soil_analysis": true, "include_mitigations": true }' ``` ## Inspect the result Read `compliance.status`, `processing_complete`, and `issues`. A successful request can have unresolved compliance. Keep the returned `application_event_id` as an opaque reference for application-time checks and portal controls. Open `mitigation_portal_url` when one is returned; use the entire URL unchanged. Each entry in `products[]` lists the PULAs on the field that limit that product for your application method. Show each `limitations[].limitation` text to the applicator. The API cannot evaluate every condition in that text, so a returned limitation adds `LIMITATIONS_REVIEW_REQUIRED` and keeps the status `indeterminate` until reviewed. See [product PULA limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#product-pula-limitations). ```json 200 — selected response fields { "success": true, "esa_required": true, "application_event_id": "019953f8-8c00-7000-8000-000000000002", "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "pest": ["Waterhemp"], "product_status": "Active", "esa_required": true, "pulas": [ { "pula_id": 12345, "event_name": "Example PULA", "status": "effective", "effective_date": "2026-01-01", "codes": "EX1", "limitations": [ { "limitation_id": 67890, "code": "EX1", "limitation": "Illustrative limitation text. Read the returned text for the actual restriction.", "mitigation_options": [] } ] } ] } ], "summary": { "total_pulas": 1, "total_limitations": 1, "products_checked": 1, "products_with_limitations": 1 }, "compliance": { "status": "indeterminate", "processing_complete": true, "issues": [ { "code": "LIMITATIONS_REVIEW_REQUIRED", "message": "Review the returned PULA text for conditions not evaluated automatically" }, { "code": "DRIFT_CONDITIONS_UNVERIFIED", "message": "Buffer placement and application weather have not been verified" } ] } } ``` If `esa_required` is false, inspect the issues before treating the result as not applicable. Unknown products can produce an indeterminate assessment. The no-ESA early return does not create or update a saved field/application. ## Check multiple fields Use [Submit bulk checks](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit) to define common products, crops, pests, method, and date once. Each field can replace those settings independently. A bulk submission requires `provider_group_id` and returns **202 Accepted** with a `job_id`. The API checks unique products across the full request first. When all are confirmed to have no ESA requirement, it returns `status: "completed"`, `esa_required: false`, and all `items` immediately. Otherwise, poll the returned `status_url`, then page through `results_url`. These URLs are relative to `https://esa.acreblitz.com`. Preserve your `Idempotency-Key` when retrying the same submission. A succeeded bulk item means its check returned a result. Inspect that result's compliance, even when the overall job is `completed`. ## Continue the workflow - [Download compliance reports](https://docs.acreblitz.com/v2/api-reference/endpoint/runoff-report) using your `provider_field_id`. - [Issue a portal link](https://docs.acreblitz.com/v2/api-reference/endpoint/portal-access) for one application. - [Lock portal changes](https://docs.acreblitz.com/v2/api-reference/endpoint/portal-lock) when your review is complete. - [Compute application-time drift buffers](https://docs.acreblitz.com/v2/api-reference/endpoint/drift-buffer) with current weather inputs. --- # V2: Authentication Source: https://docs.acreblitz.com/v2/authentication.md > Authenticate V2 requests with your provider API key Send `X-API-Key` on every V2 endpoint. Keep the key in your backend environment or secret manager. ```bash export ACREBLITZ_API_KEY='your_api_key_here' ``` ```bash cURL curl 'https://esa.acreblitz.com/api/v2/mitigations/epa_runoff' \ --header "X-API-Key: $ACREBLITZ_API_KEY" ``` Your key establishes provider ownership. When the request includes `provider_id`, it must match that provider. Job, field, application, and group operations are limited to resources belonging to your provider. Active, unexpired keys can use all V2 endpoints; no separate bulk endpoint permission is required. A development key only works with its development environment. Contact [support](mailto:support@acreblitz.com) to obtain the appropriate key. See [error handling](https://docs.acreblitz.com/v2/errors) for 401, 403, 429, and retry behavior. --- # V2: Understanding compliance determinations Source: https://docs.acreblitz.com/v2/compliance-determination.md > How V2 determines runoff, drift, setup violations, and overall application status—and when to refresh a result V2 evaluates runoff and drift separately, then combines those results with any unresolved application restrictions. Read `compliance.status` for the overall assessment and the individual runoff and drift results to understand why it received that status. **A remaining drift buffer can coexist with a compliant application setup.** Drift can be `met` when the supplied conditions satisfy the configured rules and spraying stays within the calculated treatable area. Runoff can be `met` through sufficient eligible points or an EPA runoff exemption saved in the portal. This guide describes the API's determination. Its scope is the supplied inputs, configured requirements, selected mitigations, and available field information. A result does not verify actual spray tracks or resolve conditions that appear as outstanding issues. ## Request success, processing, and compliance These fields answer different questions: | Field | What it tells you | |---|---| | HTTP status and `success` | Whether the API handled the request successfully. HTTP 200 does not mean the application is compliant. | | `compliance.processing_complete` | Whether required processing inputs and supported calculations were resolved. A completed assessment can still be `not_met` or `indeterminate`. | | `compliance.status` | The overall result for this assessment. | | `compliance.runoff[]` | Points, exemptions, and status for each runoff system. | | `compliance.drift.status` | The drift result for this assessment. | | `compliance.issues[]` | Specific violations, missing information, and remaining review requirements. | For bulk processing, an item's `status: "succeeded"` means processing returned a result. Read that item's `result.compliance` to determine application compliance. Different items can have different outcomes within a successfully completed job. | Compliance status | Meaning | |---|---| | `met` | Evaluated requirements are satisfied within the assessment's scope. Any calculated drift buffer still applies. | | `not_met` | At least one evaluated requirement has a known shortfall or setup violation. | | `indeterminate` | Required evidence, rule resolution, processing, or verification is missing. | | `not_applicable` | No applicable requirement was established for the verified inputs. Unknown products do not establish that no requirements apply. | ## How the determination works 1. **Identify requirements.** Resolve the submitted products and application method, then applicable Pesticide Use Limitation Area (PULA) requirements. Each product's matching PULAs and limitation text are returned under `products[].pulas[].limitations`. Runoff and drift requirements from a limitation are scored automatically; any other condition in the text needs review, which you can confirm in Bulletins Live! Two (BLT), so a returned limitation adds `LIMITATIONS_REVIEW_REQUIRED`. See [product PULA limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#product-pula-limitations). 2. **Assess runoff.** Determine the point target for each runoff system, apply eligible credits, and honor any saved EPA runoff exemption for the application. 3. **Assess drift.** Identify buffer requirements and reductions. At application time, evaluate the supplied setup and wind, read nearby protected features, and calculate the buffer and treatable area. Buffers measured from a [non-managed area](https://docs.acreblitz.com/v2/api-reference/endpoint/drift-buffer#non-managed-areas) start at the field boundary. 4. **Combine results.** A known runoff shortfall or drift violation takes priority over unresolved information. Without a known failure, unresolved conditions prevent an overall pass. The overall result follows this order: - Any runoff or drift `not_met` → overall `not_met`. - Otherwise, an `indeterminate` component or outstanding assessment issue → overall `indeterminate`. - Otherwise, applicable requirements are satisfied → overall `met`. - Otherwise, no applicable requirements were established → overall `not_applicable`. `SOIL_QUEUE_FAILED` alone does not prevent a pass when that background soil work is optional. Missing soil needed to score a non-exempt runoff requirement does prevent a pass. | Runoff | Drift | Other conditions | Overall result | |---|---|---|---| | `met` | `met`, with a remaining buffer | None unresolved | `met` | | `met` through an EPA exemption | `met` | None unresolved | `met` | | `not_met` | `met` | None unresolved | `not_met` | | `met` | `not_met` | Missing information elsewhere | `not_met` | | `met` | `indeterminate` | Application-time placement not yet calculated | `indeterminate` | | `met` | `met` | `LIMITATIONS_REVIEW_REQUIRED` | `indeterminate` | An EPA exemption only satisfies EPA runoff. It does not override a separate Enlist requirement, drift violation, or outstanding PULA restriction. ## Runoff determination ### Required by default When a product or PULA introduces an EPA runoff requirement, the API assumes runoff is required. The applicator does not need to answer the portal exemption questionnaire before the API evaluates points. The API evaluates each runoff system separately. EPA runoff credits and Enlist credits are not combined. When several configured rules apply within a supported runoff system, the resolved target is the highest applicable point requirement. Missing or unresolved rules keep the non-exempt result `indeterminate`. ### Required points and earned points | Runoff field | Meaning | |---|---| | `required` | Whether the runoff obligation applies after accounting for a saved exemption. | | `exempt` | Whether an accepted portal EPA runoff exemption satisfies this obligation. | | `required_points` | The effective target; zero for an accepted EPA exemption. Null means unresolved. | | `label_required_points` | The original label/PULA point target before an exemption; it can be null if unresolved. | | `earned_points` | Eligible credited points after product restrictions, soil eligibility, selection limits, and aggregation caps. | | `gap` | Points still needed: the larger of zero and required minus earned points. Null when the non-exempt target is unresolved. | | `credited_measures` | The selections actually counted toward the score. | Automatically derived field credits and saved portal selections can contribute to the score. A selected mitigation does not necessarily earn credit for every product. The [compliance GET endpoints](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) also return `selected_measures` so you can compare selections with the credits that counted. With resolved scoring inputs, earning at least the required points returns `met`; a shortfall returns `not_met`. For example, a target of 3 with 5 eligible points is `met`, while a target of 6 with 4 eligible points is `not_met` with a gap of 2. Missing required soil or an unresolved target returns `indeterminate`. Applications on the same field in the same application year share runoff selections. Their product restrictions and targets can differ. Evaluate each application; do not sum points across applications to create a group score. ### Portal exemptions When the user saves an EPA runoff exemption in the portal, runoff returns `met` with `required: false`, `exempt: true`, `required_points: 0`, and `gap: 0`. The original point target, earned credits, exemption timestamp, and reason codes remain available. This selected response fragment illustrates an application whose original target was 3 points: ```json { "mitigation_type": "epa_runoff", "required": false, "exempt": true, "status": "met", "required_points": 0, "label_required_points": 3, "earned_points": 1, "gap": 0, "runoff_exemption_claimed_at": "2026-10-03T14:00:00.000Z", "runoff_exemption_reasons": ["managed_areas_downgradient"] } ``` The exemption removes the EPA runoff points obligation, so missing scoring inputs do not make that exempt obligation fail. Choosing **None apply** in the portal restores normal point scoring. Exemptions belong to the application. Rechecking the same application preserves its selection; a new application starts required, even on the same field. Older unanswered records are treated as required. Timestamped legacy portal exemptions without reason codes are honored. You cannot submit an exemption flag in the ESA check request body. ## Drift determination ### Intake and application-time calculations A [single ESA check](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check) or [bulk check](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit) identifies buffer requirements and eligible reductions. Intake does not accept wind inputs or calculate application-time placement. A drift requirement therefore remains `indeterminate` at intake unless a known setup violation already establishes `not_met`. Call [compute application-time drift buffers](https://docs.acreblitz.com/v2/api-reference/endpoint/drift-buffer) with the returned application reference and current wind. Omitted optional setup fields use the saved values. The endpoint refreshes the assessment and calculates where the buffers apply. ```bash curl --request POST "https://esa.acreblitz.com/api/v2/applications/$APPLICATION_EVENT_ID/drift-buffer/compute" \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "wind_direction_deg": 180, "wind_speed_mph": 8, "droplet_size": "C", "boom_height": "low", "gpa": 15, "geometry": "both" }' ``` These values illustrate the request shape; use the actual application conditions. Wind direction is where the wind comes from, measured clockwise from north. ### A buffer is a restriction to follow After a successful calculation, drift can be `met` with a nonzero buffer. A 100% reduction is not required. Spray only within the returned treatable area and respect the excluded buffer. The following selected fields describe drift with a remaining buffer and available treatment area: ```json { "compliance": { "drift": { "status": "met", "scope": "application_setup_and_treatable_area", "requires_buffer": true, "has_treatable_area": true } }, "application_time": { "drift_status": "met" } } ``` Read `application_time.geometry.buffer` for the excluded drift area and `application_time.geometry.treatable` for the area remaining after all calculated product buffers are removed. `geometry: "none"` omits this output but still performs the calculation and returns the same status. For calculated ESA drift assessments, `requires_buffer` and `has_treatable_area` describe the result. They are null when invalid setup or unresolved rules block calculation. In that case, requested output conservatively marks the whole field as buffer and returns `treatable: null`. If a valid calculation leaves no treatable area, drift is `not_met` with `NO_TREATABLE_AREA`. `application_time.drift_status` repeats the drift result. `application_time.status` repeats the overall application result, which can differ because of runoff or other restrictions. ## What a setup violation means A setup violation means a supplied condition conflicts with a known configured requirement. It is different from a missing input or an unresolved rule. These violations return drift `not_met`, and the overall assessment also returns `not_met`, even when other information is missing. | Issue code | Meaning | What to do | |---|---|---| | `DROPLET_BELOW_LABEL_MINIMUM` | The supplied droplet category is below a product's label minimum. | Use a setup that meets the minimum and recompute. | | `DROPLET_BELOW_BUFFER_TIER` | The supplied droplets do not qualify for an available buffer tier. | Correct the setup to match an applicable tier and recompute. | | `BOOM_HEIGHT_EXCEEDS_LIMIT` | High boom was supplied where the configured rule requires low. | Correct the actual boom setup and recompute. | | `MANUAL_DRIFT_OPTION_DISALLOWED` | A selected drift mitigation is not permitted for every applicable product. | Revise the portal selection and recompute. | | `NO_TREATABLE_AREA` | The calculated buffer leaves no area available for treatment under these conditions. | Review the conditions and application plan, then recalculate any changes. This is an area restriction rather than a missing input. | A valid API request can return HTTP 200 with these findings. By contrast, a malformed request, unsupported input value, or missing required request field normally returns HTTP 422. Correct request validation errors before interpreting compliance. See the [error catalog](https://docs.acreblitz.com/v2/errors) for both response types. ### What keeps drift indeterminate | Missing information or unresolved condition | Relevant issue codes | |---|---| | Required droplet size or boom height is absent. | `DROPLET_SIZE_MISSING`, `BOOM_HEIGHT_MISSING` | | The label minimum or applicable buffer rule cannot be resolved. | `LABEL_DROPLET_MINIMUM_UNRESOLVED`, `DRIFT_METHOD_UNRESOLVED`, `DRIFT_REQUIREMENT_UNRESOLVED` | | A rate or wind value cannot be matched to configured tiers. | `UNRESOLVED_RATE`, `DRIFT_RATE_TIER_UNRESOLVED`, `WIND_SPEED_UNRESOLVED` | | A product or its ESA status is unknown. | `UNKNOWN_PRODUCT`, `ESA_STATUS_UNKNOWN` | | A manually selected drift practice still needs verification. | `MANUAL_DRIFT_PRACTICE_UNVERIFIED` | | Application-time conditions and buffer placement have not been evaluated. | `DRIFT_CONDITIONS_UNVERIFIED` | A successful placement calculation removes `DRIFT_CONDITIONS_UNVERIFIED`. More specific unresolved issues can remain. An eligible manual practice can affect the calculated buffer while its implementation remains unverified, leaving drift `indeterminate`. The current placement engine evaluates wind-directional buffers. Additional omni-directional or downslope placement remains unresolved. Wind outside configured tiers is reported as unresolved; the API does not invent an unconfigured wind limit. Temperature and humidity are recorded but are not currently evaluated against label thresholds. ## New assessments and saved results **A result describes the inputs at the time it was calculated.** Changing the application later does not automatically update every saved result. | Operation | What you receive | |---|---| | Single ESA check or a newly processed bulk item | A new intake assessment of the submitted application. | | Application-time drift calculation | A refreshed application assessment, including drift evaluated for the supplied conditions. | | Application or group compliance GET | Current runoff scoring against saved requirements, current portal selections, and saved drift configuration. It also includes historical assessment and drift calculation results. | | Retrieval of completed bulk results | The original item results from processing time. Later portal edits do not rewrite them. | A compliance GET contains three distinct views: - `compliance.runoff[]` reflects current scoring and exemptions against the saved requirements. It does not refresh product/PULA point targets or fetch new soil. - `compliance.last_assessment` is the last saved ESA assessment, including its timestamp, overall status, issues, and each product's PULA limitations. A GET does not look up new or changed PULAs; resubmit the check to refresh them. - `compliance.drift.last_computation` is the saved application-time result. Its `drift_status` describes that calculation's setup, not a new evaluation of current conditions. Older calculations can have a null `drift_status`. A GET does not return a new overall `compliance.status`. Do not combine current runoff with an older drift pass and present that combination as a new overall determination. Use the saved timestamps and inputs to explain the result, and recompute when the setup changes. For example, you calculate drift at a low boom height and receive `met`. If the applicator later changes to high boom, the saved drift calculation still describes low boom. Recompute with the new height. If the applicable rule requires low boom, the new result is `not_met`. For a runoff example, the user saves an EPA exemption after an assessment reported a point shortfall. The next compliance GET returns current runoff `met`, but `last_assessment.status` can still show the old failure. That difference reflects two calculation times, not a failed exemption save. ## When to refresh | What changed | Next action | |---|---| | Runoff exemption or runoff mitigation selection in the portal | Read application/group compliance for current runoff. Run a new assessment when you need an updated overall result. | | Wind, droplets, boom height, spray volume, product rate, or drift mitigation selections | Recompute application-time drift using current conditions. | | Products added/removed, application date, or field boundary | Resubmit the ESA check, then recompute application-time drift when applicable. | | Background soil processing completed | Resubmit the application to refresh its saved determination. | | You only need to inspect a completed bulk job | Retrieve its item results, recognizing they are processing-time snapshots. | Fresh compliance GETs use `Cache-Control: no-store`. This ensures a fresh read; it does not rerun drift placement. Product and soil reuse are separate from the age of a saved assessment. For request fields and complete response shapes, use [ESA check](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check), [application-time drift](https://docs.acreblitz.com/v2/api-reference/endpoint/drift-buffer), [application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance), and [group compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance). --- # V2: Migrate to V2 Source: https://docs.acreblitz.com/v2/migration.md > Move your integration to the supported V2 API V1 is deprecated and its endpoints are no longer documented. Use `https://esa.acreblitz.com` with the `/api/v2` prefix. Update your request and response handling to the V2 contracts below. | Topic | V2 behavior | |---|---| | Host and paths | Use `https://esa.acreblitz.com/api/v2/...`. | | Single check | Returns an assessment in the same HTTP response. | | Bulk checks | Submit 1–100 fields. Confirmed no-ESA jobs return all results immediately; poll other jobs and fetch per-field results. | | Group identifier | Optional for a single check; required at the top level for bulk. | | Products and crops | Bulk defaults may be replaced per field; arrays are replaced, not merged. | | Pest inputs | Each product needs a product pest list or an inherited default. | | Method and droplet inputs | V2 validates supported categories; arbitrary strings are rejected. | | PULA limitations | Still returned per product under `products[].pulas[].limitations` (`limitation_id`, `code`, `limitation`, `mitigation_options`) with `summary` counts, on single checks, bulk item results, and the drift-buffer recompute. Compliance GETs return them under `compliance.last_assessment.products`. See [product PULA limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#product-pula-limitations). | | Optional details | `include_soil_analysis` and `include_mitigations` return assessment details when available. | | Errors | JSON `success: false` and `error.code`; validation errors also include issue paths. | | Portal links | Use returned links unchanged and honor their expiration. Providers can use token or signed-link access. | | Report lookup | Use your external `provider_field_id`. | ## Roll out in order 1. Set your API base URL to `https://esa.acreblitz.com/api/v2` and use your provider API key. 2. Validate request construction against the [single check](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check) and [bulk](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit) contracts. 3. Handle `indeterminate` assessments and partial bulk failures before enabling intake. 4. Move each provider/account workflow to V2 and review its results and compliance reports. 5. Remove deprecated requests from your integration. Use the [API reference](https://docs.acreblitz.com/v2/api-reference/introduction) to choose supported routes. Changing a URL prefix alone does not update the request or response contract. --- # V2: Errors and retries Source: https://docs.acreblitz.com/v2/errors.md > V2 error codes, validation examples, bulk item failures, assessment issues, and retry rules Check the HTTP status and `Content-Type` before parsing a response. Most V2 failures use the JSON envelope below. Validation uses `error.details` instead of `error.message`. Request rate limiting returns plain text. A bulk results response can return HTTP 200 while individual fields have failed. ```json { "success": false, "error": { "code": "PROVIDER_MISMATCH", "message": "API key does not authorize this provider" } } ``` Route handlers include `X-Request-ID`; keep it for support. Failures rejected earlier, such as malformed JSON, oversized bodies, or rate limits, may not include that header. An unknown URL uses the server's ordinary 404 response rather than the V2 JSON envelope. ## HTTP error catalog These are the public codes emitted by the current V2 routes and their processing workflows. Each endpoint links here and lists its additional errors. Do not branch on message text; messages can vary while a code remains the same. ### Authentication and request errors | HTTP | Code | Example trigger | What you should do | |---|---|---|---| | 401 | `UNAUTHORIZED` | Missing, invalid, inactive, expired, or oversized API key. | Supply a valid `X-API-Key`. | | 403 | `PROVIDER_MISMATCH` | Your key belongs to provider A but the body names provider B. | Use the provider assigned to the key. | | 422 | `INVALID_REQUEST` | Missing `provider_group_id`, duplicate bulk application IDs, invalid dates, or unsupported method/droplet size. | Correct `error.details`; do not retry unchanged. | | 400 | `REQUEST_FAILED` | Malformed JSON such as a trailing comma. | Fix the JSON syntax. | | 413 | `REQUEST_FAILED` | JSON body exceeds 5 MB. | Split the submission or reduce field boundary detail. | | 409 | `REQUEST_FAILED` | A concurrent write causes an identity conflict that lacks a more specific public code. | Check existing application/field identities before retrying. Contact support if repeated. | | 503 | `REQUEST_FAILED` | An unexpected dependency, connection, or processing failure. | Retry with backoff; contact support if repeated. | | 429 | No JSON code; plain text | API-key or shared-IP request limit reached. | Honor `Retry-After` and reduce request frequency, including polling. | ### Bulk job errors | HTTP | Code | Example trigger | What you should do | |---|---|---|---| | 409 | `IDEMPOTENCY_CONFLICT` | Reuse a submission key after changing a field's rate or boundary. | Replay the original effective input, or use a new key for an intentionally new job. | | 429 | `BULK_BACKLOG_EXCEEDED` | The submitted fields would exceed the current pending-work limit. | Wait, then retry with the same key and input. | | 404 | `BULK_JOB_NOT_FOUND` | Job ID is absent, belongs to another provider, or has expired. | Check the key and job ID; retain results before their 30-day expiration. | A malformed job UUID returns `422 INVALID_REQUEST`, not `BULK_JOB_NOT_FOUND`. Bulk submission validates all fields before acceptance; a 422 creates no job. ### Field and application errors These can occur during a single check, field processing, application-time drift calculation, or as a failed bulk item's `error`. Report lookup can also return `DUPLICATE_FIELD`. | HTTP when returned directly | Code | Example trigger | What you should do | |---|---|---|---| | 409 | `DUPLICATE_FIELD` | More than one stored field matches the supplied provider field identity. | Contact support to resolve the ambiguous identity. | | 409 | `FIELD_OWNERSHIP_CONFLICT` | The provider field identity already belongs to a different account. | Use the correct account or a distinct provider field identifier. | | 409 | `DUPLICATE_APPLICATION` | More than one existing application matches your application identity. | Contact support to resolve the ambiguity. | | 409 | `APPLICATION_FIELD_CONFLICT` | Reuse an application ID for a different field. | Keep the original field or use a new application ID. | | 409 | `PROCESSING_CONFLICT` | Another request is processing the same field or application. | Wait for that work to finish, then retry. | | 409 | `FIELD_CHANGED` | The field changed while its assessment was running. | Retry using the current field boundary. | | 409 | `APPLICATION_CHANGED` | The application changed while its assessment was running. | Refresh the application inputs, then retry. | | 404 | `APPLICATION_NOT_FOUND` | The application event is missing or outside your provider's scope. | Use the `application_event_id` returned for your provider. | | 422 | `UNSUPPORTED_APPLICATION_METHOD` | A processing workflow cannot resolve the saved application method. | Supply a supported method. New HTTP requests normally reject this earlier as `INVALID_REQUEST`. | | 422 | `NO_FIELD_GEOMETRY` | An application-time drift request references a field without an active boundary. | Recheck the application with a valid field boundary. | | 422 | `PRODUCT_MISMATCH` | A rate update's product index and EPA number do not identify the same saved product, or an index is repeated. | Match the saved product order and EPA number exactly. | | 422 | `INVALID_APPLICATION` | The saved application cannot be rechecked with the requested application-time changes. | Correct the application with a new ESA check before recalculating drift. | ### Portal and report errors | HTTP | Code | Example trigger | What you should do | |---|---|---|---| | 404 | `FIELD_NOT_FOUND` | No provider-owned field with an active, unexpired portal matches the report request. | Check `provider_field_id` and portal availability. | | 404 | `GROUP_NOT_FOUND` | No accessible applications match the group and account on a group-lock or group-compliance request. | Check both identifiers and wait for bulk items to finish creating applications. | | 403 | `INVALID_TOKEN` | Portal access is requested for an archived field. | Use an active field; contact support if archival is unexpected. | | 403 | `INACTIVE_TOKEN` | The field's portal is inactive. | Contact support to restore portal availability. | | 403 | `PORTAL_EXPIRED` | The field's portal access period has expired. | Arrange renewed portal availability; a new signed link alone cannot extend it. | | 400, 403, 404, 422, or 502 | `PORTAL_REQUEST_FAILED` | The report service rejects or fails the request. | For 400/422 check parameters; for 403/404 check availability; for 502 retry with backoff. | | 502 | `INVALID_REPORT` | The report service responds successfully without a PDF. | Retry, then contact support if repeated. | | 503 | `PORTAL_SERVICE_UNCONFIGURED` | The report service is unavailable because setup is incomplete. | Contact support; changing the request will not resolve it. | | 503 | `PORTAL_SAS_UNCONFIGURED` | Portal link signing is unavailable. | Contact support. This can also affect checks or field processing for providers using signed links. | Portal website errors are separate from this API catalog. For example, an expired signed link opened in the portal is not an API-key authentication failure. ### Capacity and deadline errors | HTTP | Code | Example trigger | What you should do | |---|---|---|---| | 503 | `CAPACITY_EXCEEDED` | All concurrent processing slots are occupied. | Back off; bulk submission and polling do not consume these processing slots. | | 503 | `CAPACITY_UNAVAILABLE` | Processing capacity cannot be determined from the current service configuration. | Contact support if it persists. | | 503 | `DEADLINE_EXCEEDED` | The request exceeds its processing budget. | Retry safely; a timeout does not prove no work was saved. | | 503 | `REQUEST_CANCELLED` | Processing is cancelled during admission or execution. | Retry if you still need the operation. A disconnected client may receive no response. | ## Validation examples Bulk submission, job status, and results validation return an array in `error.details`. Other endpoints return flattened `error.details.formErrors` and `error.details.fieldErrors`. Validation runs before API-key authentication, so invalid inputs can return 422 even with a missing key. ### Missing required bulk group Omitting `provider_group_id` from an otherwise valid bulk request returns HTTP 422: ```json { "success": false, "error": { "code": "INVALID_REQUEST", "details": [{ "code": "invalid_type", "expected": "string", "received": "undefined", "path": ["provider_group_id"], "message": "Required" }] } } ``` ### Missing effective product pests If the second field's first product has no product pests, field pests, or top-level pest default: ```json { "success": false, "error": { "code": "INVALID_REQUEST", "details": [{ "code": "custom", "path": ["fields", 1, "products", 0, "pest"], "message": "Provide pests for this product or a parent pest default" }] } } ``` `fields[1]` means the second field; `products[0]` means its first product. Set `pest` at one of those three levels. An empty list does not satisfy the requirement. ### A top-level option placed inside a field Putting `include_geometry` inside the first field returns: ```json { "success": false, "error": { "code": "INVALID_REQUEST", "details": [{ "code": "unrecognized_keys", "keys": ["include_geometry"], "path": ["fields", 0], "message": "Unrecognized key(s) in object: 'include_geometry'" }] } } ``` Move `include_geometry` to the top level. It applies to all fields. An invalid `Idempotency-Key` uses the path `["idempotency_key"]`; an invalid results page size uses `["limit"]`. ### Non-bulk validation For example, omit `locked` when setting an application portal lock: ```json { "success": false, "error": { "code": "INVALID_REQUEST", "details": { "formErrors": [], "fieldErrors": { "locked": ["Required"] } } } } ``` The application-time drift endpoint validates its body under `payload`, so its flattened field errors may be grouped under `payload`. ## Conflict and rate-limit examples A changed request under a reused bulk idempotency key returns HTTP 409: ```json { "success": false, "error": { "code": "IDEMPOTENCY_CONFLICT", "message": "Idempotency-Key was used with different inputs" } } ``` When the bulk backlog is full, the response is HTTP 429 with JSON: ```json { "success": false, "error": { "code": "BULK_BACKLOG_EXCEEDED", "message": "Bulk processing backlog is full; retry later" } } ``` An API-key or IP request limit instead returns a text body. The retry duration depends on the remaining limit window; `30` below is illustrative: ```http HTTP/1.1 429 Too Many Requests Content-Type: text/html; charset=utf-8 Retry-After: 30 Too many requests, please try again later. ``` Check `Content-Type` before calling your client's JSON parser. V2 applies per-minute limits to each API key and a shared IP limit. Your quota depends on the service configuration. Polling requests count toward these limits. ## Bulk item failures An accepted job processes fields independently. A results GET can return HTTP 200 and `success: true` even when an item failed. The example below is one selected item from `items[]`: ```json { "item_index": 1, "application_id": "south-application-2026-10-05", "provider_field_id": "south-field", "status": "failed", "attempts": 1, "result": null, "error": { "code": "APPLICATION_FIELD_CONFLICT", "message": "Application belongs to a different field", "retryable": false }, "started_at": "2026-10-05T14:00:00.000Z", "completed_at": "2026-10-05T14:00:01.000Z" } ``` Failed items can contain the field/application codes above, portal-signing errors, deadline/cancellation errors, `PROCESSING_FAILED`, or `ATTEMPTS_EXHAUSTED`. `PROCESSING_FAILED` uses message `Field processing failed` for unexpected processing failures; its `retryable` value depends on the cause. The worker retries transient failures up to three total attempts. `PROCESSING_CONFLICT`, `FIELD_CHANGED`, `APPLICATION_CHANGED`, `DEADLINE_EXCEEDED`, and `REQUEST_CANCELLED` are retryable. For example, exhausted retries can produce: ```json { "code": "PROCESSING_FAILED", "message": "Field processing failed", "retryable": true } ``` `retryable: true` describes the cause; it does not promise another automatic attempt after the item becomes `failed`. Wait for a terminal job, inspect failed items, then submit only the fields you need to retry with a new idempotency key. Replaying the original key returns the original job, including its failures. Repeated processing interruptions can exhaust attempts during recovery. The failed item's error then contains: ```json { "code": "ATTEMPTS_EXHAUSTED", "message": "Processing interrupted repeatedly", "retryable": true } ``` Queued items awaiting a retry can retain an `error` from an earlier attempt; starting the next attempt clears it. Use `status` to decide whether the item is final. Successful processing still requires inspecting the assessment's compliance status. ## Assessment issue codes Read [Understanding compliance determinations](https://docs.acreblitz.com/v2/compliance-determination#what-a-setup-violation-means) to distinguish a known setup violation from missing information and understand how each affects runoff, drift, and overall status. These codes appear in successful response issue lists, such as `compliance.issues`, drift assessment issues, or runoff-baseline `issues`. They are not HTTP error codes. A bulk item can be `succeeded` while its assessment is `indeterminate` or `not_met`. | Code | Example condition and next action | |---|---| | `UNKNOWN_PRODUCT` | Product lookup failed; verify the product name/EPA number and request a fresh assessment. | | `ESA_STATUS_UNKNOWN` | A known product lacks a verified ESA status; review its label and resolve the missing evidence. | | `RUNOFF_TYPE_UNRESOLVED` | Runoff is required but its mitigation type is unavailable; request support/review. | | `SOIL_UNAVAILABLE` | Soil-dependent processing is incomplete; allow enrichment and resubmit for a new assessment. | | `SOIL_QUEUE_FAILED` | Soil enrichment could not be queued; resubmit to retry. | | `UNRESOLVED_RATE` | The rate unit cannot be interpreted; correct the unit. Conservative buffers may apply. | | `LIMITATIONS_REVIEW_REQUIRED` | PULA text includes conditions requiring manual review; read the returned limitations under `products[].pulas[].limitations` (or `last_assessment.products` on compliance GETs). See [product PULA limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#product-pula-limitations). | | `DRIFT_CONDITIONS_UNVERIFIED` | Application-time weather and placement have not been evaluated. Supply current conditions to the drift-buffer compute endpoint; a successful calculation clears this generic issue. | | `UNSUPPORTED_MITIGATION` | A required mitigation type needs separate review. | | `RUNOFF_APPLICABILITY_UNVERIFIED` | A non-EPA runoff requirement has unverified applicability. EPA runoff defaults to required and honors saved portal exemptions. | | `RUNOFF_REQUIREMENT_UNRESOLVED` | Required runoff points could not be established; resolve the missing requirement. | | `LABEL_DROPLET_MINIMUM_UNRESOLVED` | The label's minimum droplet size could not be established; review the label. | | `DROPLET_BELOW_LABEL_MINIMUM` | Supplied droplets are smaller than the label minimum; correct the application setup. | | `DROPLET_SIZE_MISSING` | Supply the actual droplet size to verify drift mitigation eligibility. | | `DRIFT_METHOD_UNRESOLVED` | No buffer rule matches the application method; review product/method compatibility. | | `DROPLET_BELOW_BUFFER_TIER` | Droplet size does not meet the selected buffer tier; review the required setup. | | `WIND_SPEED_UNRESOLVED` | Application wind speed cannot be matched to a supported buffer tier; review actual weather. | | `MANUAL_DRIFT_PRACTICE_UNVERIFIED` | Manually selected drift practices still require verification. | | `MANUAL_DRIFT_OPTION_DISALLOWED` | A selected drift option does not apply to the current requirement; revise the selection. | | `BOOM_HEIGHT_MISSING` | Supply boom height when the configured ground buffer rule requires it. | | `BOOM_HEIGHT_EXCEEDS_LIMIT` | High boom was supplied where the configured rule requires low; drift is `not_met`. | | `DRIFT_RATE_TIER_UNRESOLVED` | The rate could not be matched to a configured buffer tier; resolve the rate/unit or missing rule data. | | `NO_TREATABLE_AREA` | The calculated buffer leaves no area available for treatment; drift is `not_met`. | | `DRIFT_REQUIREMENT_UNRESOLVED` | A drift requirement or its placement could not be resolved, including currently unsupported omni-directional/downslope placement. | For example, these selected fields can appear in an HTTP 200 response: ```json { "success": true, "compliance": { "version": 1, "status": "indeterminate", "processing_complete": false, "issues": [{ "code": "SOIL_UNAVAILABLE", "message": "Required soil data is unavailable; retry the application after soil enrichment" }] } } ``` `compliance.version` versions the assessment structure, not the API route. Reuse existing soil/product caches. Background enrichment does not rewrite a completed result; resubmit the application to obtain an updated assessment. ## Retry safely 1. Correct 400/401/403/404/413/422 problems before retrying. Resolve identity and idempotency conflicts instead of blindly retrying every 409. 2. For transient 409/429/502/503 failures, use exponential backoff with jitter. Honor `Retry-After` when present. A retry header does not make an identity conflict transient. 3. After a bulk submission timeout, retry the same effective input with the same `Idempotency-Key`. The first attempt may already have created the job. 4. After acceptance, poll that job. Fetch every results page and inspect each item's status. Do not cache bulk status or results; successful responses use `Cache-Control: no-store`. 5. After a terminal job, retry failed fields separately with a new key. For single checks, reuse the same provider/account/application identifiers and read the refreshed assessment. Most error-handler responses with 409, 429, or 503 include `Retry-After: 5`. A deadline response sent directly by the route can omit it. A missing response or timeout does not establish whether the operation saved changes. --- # V2: Read docs with an AI agent Source: https://docs.acreblitz.com/v2/ai-agents.md > Fetch current API documentation directly by URL, with indexes and complete Markdown Give your agent a documentation URL and ask it to fetch the page. You do not need to copy the page into the chat. Reading public documentation requires no API key. Calling the ESA API still requires your provider key. ## Discover pages Start at [llms.txt](https://docs.acreblitz.com/llms.txt). It links to every supported API endpoint and guide. Use `https://esa.acreblitz.com/api/v2` for API requests. Documentation pages live under `/v2/`. ```bash curl --fail --location https://docs.acreblitz.com/llms.txt ``` ## Read a page directly Append `.md` to a page URL to fetch its Markdown, including parameters and examples: ```bash curl --fail --location \ https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit.md ``` The hosted site also supports requesting Markdown with an `Accept` header: ```bash curl --fail --location --header 'Accept: text/markdown' \ https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit ``` For full context, follow the **All API documentation** link in [llms.txt](https://docs.acreblitz.com/llms.txt). That link includes a version parameter for `llms-full.txt` so you receive the current release even when a CDN retains an older copy of the unversioned URL. It covers the supported V2 API and expands shared input documentation so agents can read required fields without following source-code imports. Prefer individual pages when the agent has a limited context window. ## Example agent task > Fetch https://docs.acreblitz.com/llms.txt and use only the V2 documentation. Read the bulk submission, job status, results, and error pages directly. Build a request with shared products and crops, then override products and crops for one field. Explain the effective values for each field and handle both HTTP errors and failed items. Read the URLs yourself; do not ask me to paste their contents. An agent needs a web-fetch or browsing tool to use these links. If its tool cannot fetch a page, it should report that limitation and try the Markdown URL or complete-content file. It should not guess endpoint behavior from an unread page. --- # V2: API overview Source: https://docs.acreblitz.com/v2/api-reference/introduction.md > All V2 endpoints and their processing behavior Base URL: `https://esa.acreblitz.com`. Every endpoint requires `X-API-Key`. | Method | Route | Purpose | |---|---|---| | POST | `/api/v2/esa-check` | Assess one application synchronously. | | POST | `/api/v2/esa-check/bulk` | Accept a bulk job. | | GET | `/api/v2/esa-check/bulk/{job_id}` | Read job status and item counts. | | GET | `/api/v2/esa-check/bulk/{job_id}/results` | Page through per-field results. | | POST | `/api/v2/soil/process` | Analyze soil for a field boundary. | | POST | `/api/v2/field/runoff-baseline` | Calculate available automatic runoff credits. | | POST | `/api/v2/process-field` | Process a field without creating an application. | | GET | `/api/v2/mitigations/{mitigation_type}` | Read EPA runoff mitigation options. | | GET | `/api/v2/applications/{application_event_id}/compliance` | Read saved requirements, current runoff credits, and full drift configuration. | | GET | `/api/v2/groups/{provider_group_id}/compliance` | Page through compliance information for an account-scoped group. | | GET | `/api/v2/fields/{provider_field_id}/reports/enlist` | Download an Enlist compliance report. | | GET | `/api/v2/fields/{provider_field_id}/reports/runoff` | Download a runoff compliance report. | | POST | `/api/v2/applications/{application_event_id}/portal-access` | Issue an expiring portal link. | | PUT | `/api/v2/applications/{application_event_id}/portal-lock` | Lock or unlock one application's portal changes. | | PUT | `/api/v2/groups/{provider_group_id}/portal-lock` | Lock or unlock an account's application group. | | POST | `/api/v2/applications/{application_event_id}/drift-buffer/compute` | Refresh the assessment using application-time weather. | ## Processing and persistence Single checks return a response after required processing. When ESA is required, the saved field/application and response are updated together. No-ESA early returns do not create or update those records. Bulk intake checks the unique products used across the full request. If all are confirmed to have no ESA requirement, it returns a completed job and all item results immediately. Other jobs enter the processing queue, where each field uses the same assessment workflow as a single check. Job completion and compliance are separate outcomes. Results remain available for **30 days after the job completes**; save the results you need. Standalone soil and runoff baseline requests do not save a field/application. Field processing saves a field and automatic runoff credits without creating an application. [Compliance retrieval](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) reads current selections and saved requirements without rerunning a check. [Group retrieval](https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance) requires `account_id` and supports pagination. Both use `Cache-Control: no-store` and distinguish current runoff scoring from the last saved assessment and drift computation. ## Response and request conventions JSON requests use `Content-Type: application/json`. Field boundaries use GeoJSON in EPSG:4326. Application identifiers belong to your provider and account. Treat returned job and application-event identifiers as opaque API references. Single checks can need up to the service's request deadline (90 seconds by default). Client/proxy timeouts should allow the configured deadline. Bulk completion depends on queue wait and field processing; no fixed one-minute job completion time is guaranteed. See [error handling](https://docs.acreblitz.com/v2/errors) and [authentication](https://docs.acreblitz.com/v2/authentication). --- # V2: ESA check Source: https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check.md > Assess ESA and PULA requirements for one pesticide application Endpoint: `POST https://esa.acreblitz.com/api/v2/esa-check` Assess ESA and PULA requirements for one pesticide application. ## Request ### provider_id body parameter; string; required. Your assigned provider identifier. It must match the API key. ### account_id body parameter; string; required. Your customer account identifier. ### field_name body parameter; string; required. Field name shown in the portal and compliance reports. ### application_id body parameter; string; required. Your application identifier, unique within this provider and account. Resubmit this application to refresh its assessment. ### application_method body parameter; string; required. Supported method: for example `Broadcast-Ground`, `Broadcast-Air`, `Drone`, or `Airblast`. Unsupported values return 422. Liberty Ultra is ground only. ### application_date body parameter; string; required. A valid calendar date in `YYYY-MM-DD` format. ### field_boundary body parameter; object; required. GeoJSON Feature containing a Polygon or MultiPolygon in EPSG:4326. Rings must be closed; self-intersections are rejected. Maximum 5,000 positions across the field boundary. ### products body parameter; object[]; required. One to 100 product objects. See the product fields below. ### crop body parameter; string[]; required. Crop names. An explicit empty array is accepted. ### provider_field_id body parameter; string; optional. Your field identifier, used for compliance report requests. If omitted or null, the application identifier is used. ### provider_group_id body parameter; string; optional. Your work-order or job identifier. Optional for a single check; required for bulk submissions. ### pest body parameter; string[]; optional. Default pests for products without their own `pest` list. Every product must have a nonempty effective pest list. ### user_email body parameter; string; optional. Optional applicator or grower email address; nullable. ### gpa body parameter; number; optional. Positive spray gallons per acre. Required to normalize rates expressed per `100 Gal` or `100 Cu Ft`; nullable. ### droplet_size body parameter; string; optional. ASABE category or code: `EF`, `VF`, `F`, `M`, `C`, `VC`, `EC`, or `UC`. Unsupported values return 422; nullable. ### boom_height body parameter; string; optional. `low` or `high` for ground applications; nullable. ### Product fields | Field | Required | Meaning | |---|---|---| | `product_name` | Yes | Product name. | | `rate` | Yes | Nonnegative application rate. | | `rate_unit` | Yes | Rate unit, for example `fl oz/ac` or `lb/ac`. | | `epa_number` | No | EPA registration number; may be omitted or null for an adjuvant. | | `rate_unit_state` | No | `L`, `S`, `D`, `liquid`, `solid`, or `dry`; resolves ambiguous ounce units. | | `row_spacing_inches` | No | Positive row spacing; required for row-length rate units. | | `pest` | No | Nonempty product pest list; overrides the application pest default. | ### Response options See [Understanding compliance determinations](https://docs.acreblitz.com/v2/compliance-determination) for runoff and drift scoring, setup violations, overall status, and when to refresh a result. ### include_geometry body parameter; boolean; optional; default: false. Include PULA field-boundary data when available. ### include_soil_analysis body parameter; boolean; optional; default: false. Include analysis under `compliance.soil.analysis` when soil is available. ### include_mitigations body parameter; boolean; optional; default: false. Include available options under `compliance.mitigation_options`. ### buffer_distance_miles body parameter; number; optional; default: 1. PULA search buffer distance, clamped to 0–10 miles. ## Response `success` describes request handling. Read `compliance.status`, `processing_complete`, `soil`, `runoff`, `drift`, and `issues` for the assessment. `compliance.scope` is `requirements_and_gaps`; its `version` is the assessment format version, independent of the API URL version. Product results include `esa_required`, registration status, effective pests, and PULA limitations. For ESA-required checks, the response also includes an opaque `application_event_id` and a `mitigation_portal_url` when available. `mitigation_portal_url_expires_at` is the signed-link expiration in signed-link mode and null in token mode. `expires_at` describes the field portal's availability, which can have a different lifetime. Use the returned link unchanged. ## Product PULA limitations `products[]` has one entry per submitted product, in request order. Each entry includes `pulas[]`: the PULAs intersecting the field that have active limitations for that product's EPA number and the submitted application method. A product without matching limitations returns `pulas: []`. When no product requires ESA, the check returns early and every `pulas` array is empty. | Field | Meaning | |---|---| | `products[].epa_number`, `product_name`, `pest` | Submitted product and its effective pests. | | `products[].product_status` | `Active`, `Inactive`, or null when the product could not be verified. | | `products[].esa_required` | Whether the product has ESA requirements; null when unknown. | | `products[].pulas[].pula_id`, `event_name`, `status`, `effective_date` | PULA reference and Bulletins Live! Two (BLT) event metadata. | | `products[].pulas[].codes` | Comma-separated limitation codes for this product in this PULA. | | `products[].pulas[].geometry` | Buffered PULA boundary; present only with `include_geometry: true`. | | `products[].pulas[].limitations[]` | `limitation_id`, `code`, `limitation` (the limitation text), and `mitigation_options` (string array, possibly empty). | `summary` counts `total_pulas` (all PULAs intersecting the field, with or without product limitations), `total_limitations`, `products_checked`, and `products_with_limitations`. Any matching limitation adds the `LIMITATIONS_REVIEW_REQUIRED` issue, which keeps `compliance.status` `indeterminate` unless something is `not_met`. Runoff and drift requirements derived from a limitation are scored automatically; other conditions in the limitation text are not. Show the limitation text to the applicator. Completed [bulk](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-results) items return the same `products` and `summary` under `result`. [Application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) and [group compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance) return the saved product limitations under `compliance.last_assessment.products`. ## Runoff requirements and portal exemptions When a product or PULA introduces an EPA runoff requirement, the API assumes runoff is required immediately. No portal questionnaire answer is needed to evaluate points: sufficient credits return `met`, a shortfall returns `not_met`, and missing scoring inputs return `indeterminate`. Each `compliance.runoff[]` entry includes `required`, `exempt`, `required_points`, `label_required_points`, `earned_points`, `gap`, `status`, `credited_measures`, `runoff_exemption_claimed_at`, and `runoff_exemption_reasons`. - With no exemption, `required: true`, `exempt: false`, and `required_points` equals the label/PULA point target in `label_required_points`. - When the user saves an EPA runoff exemption in the portal, that application's runoff returns `status: "met"`, `required: false`, `exempt: true`, `required_points: 0`, and `gap: 0`. `label_required_points` retains the original target (or null if unresolved); earned credits and the saved exemption timestamp/reasons remain visible. Missing soil or an unresolved point target does not block an exempt runoff obligation. - Choosing “None apply” in the portal restores the point requirement. Rechecking the same application preserves its portal selection. A new application starts required, even on the same field. - Older `required: false` records without an exemption evaluation timestamp are treated as required. Timestamped legacy exemption selections without reason codes are honored. Exemptions apply to EPA runoff only. Enlist, other runoff systems, drift, and PULA restrictions are still assessed separately, so a runoff exemption does not automatically make the entire application compliant. No request-body exemption flag is accepted; the portal records the user's selection. These rules also apply to [bulk checks](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit). After a portal edit, use [application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) or [group compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance) for current runoff results. Previously returned checks and completed bulk results remain snapshots; resubmit a check to refresh its saved assessment. ## Drift assessment Single and bulk ESA checks identify drift requirements and reductions. They do not calculate application-time buffer placement or accept wind inputs. When a drift requirement exists and no known violation is found, intake drift remains `indeterminate` until you call [compute application-time drift buffers](https://docs.acreblitz.com/v2/api-reference/endpoint/drift-buffer) with the application reference and current wind/setup. A known violation, such as droplets below the label minimum, returns drift and overall `not_met` immediately, even if other inputs remain unresolved. The application-time endpoint can return drift `met` with a remaining buffer: your supplied setup complies when spraying stays within the calculated treatable area. A 100% buffer reduction is not required. Its `application_time.drift_status` is separate from the overall `application_time.status`. Repeating an intake check produces a new intake assessment; recompute application-time drift afterward to assess placement for the new inputs. ## Repeat a check The provider/account/application identity is reused. Resubmitting updates the saved assessment when ESA processing is required. A no-ESA early return does not update an existing saved application. A changed field boundary refreshes its derived data. Background soil enrichment requires a new check to refresh the assessment. The example response below shows selected fields only; values depend on product, field, and review state. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/esa-check' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "provider_id": "your-provider", "account_id": "your-account", "provider_field_id": "north-field", "provider_group_id": "work-order-42", "field_name": "North field", "application_id": "north-application-2026-10-05", "application_method": "Broadcast-Ground", "application_date": "2026-10-05", "field_boundary": { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.404, 43.102 ], [ -95.392, 43.102 ], [ -95.392, 43.11 ], [ -95.404, 43.11 ], [ -95.404, 43.102 ] ] ] } }, "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "rate": 32, "rate_unit": "fl oz/ac", "rate_unit_state": "L" } ], "crop": [ "Corn" ], "pest": [ "Waterhemp" ], "gpa": 15, "droplet_size": "VC", "boom_height": "low", "include_soil_analysis": true, "include_mitigations": true }' ``` ```json 200 — selected response fields { "success": true, "esa_required": true, "account_id": "your-account", "provider_id": "your-provider", "application_event_id": "019953f8-8c00-7000-8000-000000000002", "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "pest": ["Waterhemp"], "product_status": "Active", "esa_required": true, "pulas": [ { "pula_id": 12345, "event_name": "Example PULA", "status": "effective", "effective_date": "2026-01-01", "codes": "EX1", "limitations": [ { "limitation_id": 67890, "code": "EX1", "limitation": "Illustrative limitation text. Read the returned text for the actual restriction.", "mitigation_options": [] } ] } ] } ], "summary": { "total_pulas": 1, "total_limitations": 1, "products_checked": 1, "products_with_limitations": 1 }, "compliance": { "version": 1, "scope": "requirements_and_gaps", "calculated_at": "2026-10-05T14:00:00.000Z", "processing_complete": true, "status": "indeterminate", "soil": { "status": "reused" }, "issues": [ { "code": "LIMITATIONS_REVIEW_REQUIRED", "message": "Review the returned PULA text for conditions not evaluated automatically" }, { "code": "DRIFT_CONDITIONS_UNVERIFIED", "message": "Buffer placement and application weather have not been verified" } ] } } ``` ## Errors Processing can return `409 DUPLICATE_FIELD`, `FIELD_OWNERSHIP_CONFLICT`, `DUPLICATE_APPLICATION`, `APPLICATION_FIELD_CONFLICT`, `PROCESSING_CONFLICT`, `FIELD_CHANGED`, or `APPLICATION_CHANGED`. Signed portal setup can return `503 PORTAL_SAS_UNCONFIGURED`. A workflow can also return `422 UNSUPPORTED_APPLICATION_METHOD`; HTTP input validation normally catches this first as `INVALID_REQUEST`. See [assessment issues](https://docs.acreblitz.com/v2/errors#assessment-issue-codes) for incomplete evidence returned with HTTP 200. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Submit bulk checks Source: https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-submit.md > Submit multiple applications with shared or per-field products and crops Endpoint: `POST https://esa.acreblitz.com/api/v2/esa-check/bulk` Submit one job containing 1–100 field applications. Put values shared by your fields at the top of the request. Inside `fields[]`, supply each field's identity and boundary, plus any values that differ for that field. **A field value replaces the matching top-level value for that field only.** Other fields still use the top-level default. Products and crops follow the same rule: arrays replace the entire array; they never merge. ## Request ### Idempotency-Key header parameter; string; optional. Optional, strongly recommended. One to 200 characters. Scoped to your provider/account; reuse it only with identical effective inputs. ### provider_id body parameter; string; required. Your assigned provider, matching the key. ### account_id body parameter; string; required. Your account identifier. ### provider_group_id body parameter; string; required. Required nonempty work-order/job identifier, up to 200 characters. Shared by every field. ### fields body parameter; object[]; required. One to 100 field entries. Each requires `application_id`, `field_name`, and `field_boundary`; `provider_field_id` is optional. ### products body parameter; object[]; optional. Default products; each field must have effective products. ### crop body parameter; string[]; optional. Default crops; each field must have an effective crop array. An explicit empty array is valid. ### pest body parameter; string[]; optional. Default pests, unless replaced by the field or product. ### application_date body parameter; string; optional. Default `YYYY-MM-DD` application date. ### application_method body parameter; string; optional. Default supported method. ### gpa body parameter; number; optional. Default positive spray gallons per acre; nullable. ### droplet_size body parameter; string; optional. Default supported droplet category/code; nullable. ### boom_height body parameter; string; optional. Default `low` or `high`; nullable. ### user_email body parameter; string; optional. Default valid email; nullable. ### include_geometry body parameter; boolean; optional; default: false. Top-level response option applied to every field. ### include_soil_analysis body parameter; boolean; optional; default: false. Top-level response option applied to every field. ### include_mitigations body parameter; boolean; optional; default: false. Top-level response option applied to every field. ### buffer_distance_miles body parameter; number; optional; default: 1. Top-level PULA search buffer, clamped to 0–10 miles. ## Where each value belongs | Location | Properties | Rule | |---|---|---| | Top level only | `provider_id`, `account_id`, `provider_group_id` | Required once; apply to every field. You cannot mix providers, accounts, or groups within one job. | | Top level only | `include_geometry`, `include_soil_analysis`, `include_mitigations`, `buffer_distance_miles` | Apply to every field. Defaults are `false`, `false`, `false`, and `1`. | | Inside each field only | `application_id`, `field_name`, `field_boundary` | Required in every field entry. | | Inside each field only | `provider_field_id` | Optional. Omitted or `null` uses that field's `application_id`. | | Top level and/or inside a field | `products`, `crop`, `application_date`, `application_method` | Each field needs a value, either inherited or supplied on that field. | | Top level and/or inside a field | `pest` | Default pests for products without their own `pest` list. | | Top level and/or inside a field | `gpa`, `droplet_size`, `boom_height`, `user_email` | Optional. A field can inherit, replace, or explicitly clear a default with `null`. | You may omit all shared application settings and specify them separately in every field. You may also mix shared defaults and overrides in the same request. See [single-check inputs](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check) for allowed methods, droplet sizes, product properties, and field boundary limits. ## How defaults and overrides resolve For each field, the API starts with the top-level defaults, replaces each property explicitly supplied by that field, then validates the resulting application independently. | What you send inside a field | Effective value for that field | |---|---| | Omit `products` | Use the complete top-level `products` array. | | Supply `products` | Use only that field's complete product array. Products are not matched or merged by EPA number or array position. | | Omit `crop` | Use the top-level crop array. | | Supply `crop: ["Soybeans"]` | Replace every top-level crop with `Soybeans`. | | Supply `crop: []` | Use an empty crop array; do not inherit. This is valid input. | | Omit `gpa` | Use the top-level GPA, if present. | | Supply `gpa: 20` | Use 20 for this field. | | Supply `gpa: null` | Clear this field's GPA even if the top level specifies one. The same rule applies to droplet size, boom height, and email. | | Supply `products: []`, `pest: []`, or `crop: null` | Reject the entire submission with `422 INVALID_REQUEST`. | **To change just one product's rate, send the full desired product array for that field**, including the other products you want retained. Each product needs its required properties (`product_name`, `rate`, and `rate_unit`); a partial product such as `{ "rate": 28 }` is invalid. ### Pest precedence Pests have one additional level of precedence: **product `pest` → field `pest` → top-level `pest`**. Product pest lists stay attached to their product even when the product array is inherited. A field pest override affects only products without their own pest list. Every product must end up with a nonempty pest list. ### Worked example The complete cURL request on this page submits two fields using Liberty Ultra with `Broadcast-Ground`: North supplies no application-setting overrides, so every shared default applies. South supplies a complete replacement product array, replaces `crop` and `gpa`, and clears `boom_height` with `null`. South still inherits the date, method, pests, and droplet size. | Setting | Shared default and North result | South result | |---|---|---| | Products | Liberty Ultra, 32 fl oz/ac | Liberty Ultra, 28 fl oz/ac (replaced) | | Crop | `Corn` | `Soybeans` (replaced) | | Pests | `Waterhemp` | `Waterhemp` (inherited) | | Method | `Broadcast-Ground` | `Broadcast-Ground` (inherited) | | GPA | `15` | `20` (replaced) | | Droplet size | `VC` | `VC` (inherited) | | Boom height | `low` | Unspecified (`null` clears the default) | Clearing an application setting does not establish that it is irrelevant to compliance. Missing information can leave the assessment `indeterminate`. ## Validation before acceptance All fields are validated before the API accepts a job. **One invalid field rejects the entire submission with `422 INVALID_REQUEST`; no job is created.** This differs from processing failures after acceptance, where some items can succeed and others fail. - Unknown top-level and field properties are rejected. For example, `fields[0].include_geometry` is invalid because that option belongs at the top level. - Supplied defaults must themselves be valid, even if every field overrides them. Omit an unused default instead of sending an invalid placeholder. - `application_id` values and effective `provider_field_id` values must be unique within the submission. - Each field boundary may contain at most 5,000 coordinate positions across all its rings. The total request body limit is 5 MB. For example, a duplicate application ID on the second field returns: ```json { "success": false, "error": { "code": "INVALID_REQUEST", "details": [{ "code": "custom", "path": ["fields", 1, "application_id"], "message": "Duplicate application_id in bulk submission" }] } } ``` Issue paths use zero-based array indexes, so `fields[1]` is the second field. Correct the indicated input and resubmit. See [validation examples](https://docs.acreblitz.com/v2/errors#validation-examples) for missing group IDs, pests, and unknown properties. ## Accepted response and polling The response is **202 Accepted**, including on an idempotent replay or immediate completion. It includes `Location` (the status path) and `Cache-Control: no-store`. Responses with `status: "queued"` or `"processing"` also include `Retry-After: 5`. Both URLs are relative to `https://esa.acreblitz.com`. When the returned status is `queued` or `processing`, poll [job status](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-status) and fetch [results](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-results). A job with some failed items can finish as `completed_with_errors`. A succeeded item can still contain an indeterminate or unmet compliance assessment. ### Immediate completion when no products require ESA Before enqueueing a new job, the API collects the unique products used across **all fields**, including inherited top-level products and field-specific replacements, and resolves them together using the existing product cache. Rates, crops, and pests remain specific to each field. A top-level product that every field replaces is unused and does not affect the check. When every product is resolved and none requires ESA, the job completes in the submission response: - `status` is `completed` and top-level `esa_required` is `false`. - `items` contains all per-field results in submission order, using the same item structure as the results endpoint. Each item has `status: "succeeded"`, `attempts: 0`, and `result.compliance.status: "not_applicable"`. - No processing is queued, and no soil, PULA, or drift calculations or field/application creation occur. Bulk job and result records remain available for the normal 30-day retention period. - Because no PULA lookup runs, every product's `pulas` is empty and `summary` counts are zero. Jobs that require ESA return each product's PULA limitations in the item `result`; see [bulk results](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-results). - You can consume `items` immediately without polling. The status/results URLs remain available, and an identical idempotent replay returns the same stored results. If any used product requires ESA, is unresolved, or has unknown ESA status, the request follows the queued workflow. A reference lookup failure returns an HTTP error without creating a new job. Unknown products are never treated as confirmed no-ESA products. Validation of every field still happens before acceptance. Example immediately completed response for a one-field submission: ```json { "success": true, "job_id": "019953f8-8c00-7000-8000-000000000001", "status": "completed", "total_items": 1, "replayed": false, "esa_required": false, "status_url": "/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001", "results_url": "/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001/results", "items": [ { "item_index": 0, "application_id": "north-application-2026-10-05", "provider_field_id": "north-field", "status": "succeeded", "attempts": 0, "error": null, "started_at": "2026-10-02T14:00:00.000Z", "completed_at": "2026-10-02T14:00:00.000Z", "result": { "success": true, "esa_required": false, "provider_id": "your-provider", "account_id": "your-account", "products": [{ "epa_number": "66222-36", "product_name": "Atrazine 4L", "pest": ["Waterhemp"], "product_status": "Active", "esa_required": false, "pulas": [] }], "summary": { "total_pulas": 0, "total_limitations": 0, "products_checked": 1, "products_with_limitations": 0 }, "compliance": { "version": 1, "scope": "requirements_and_gaps", "calculated_at": "2026-10-02T14:00:00.000Z", "processing_complete": true, "status": "not_applicable", "runoff": [], "drift": { "status": "not_applicable", "requirements": null, "reductions": [] }, "soil": { "status": "not_applicable" }, "issues": [] } } } ] } ``` ## Idempotency and retention The same key and effective input return the existing job with `replayed: true`. Changing inputs returns `409 IDEMPOTENCY_CONFLICT`. Without the header, each accepted submission creates a new job. Jobs and replay keys expire 30 days after completion; after expiration, the same key can create a new job. Split larger submissions into jobs of at most 100 fields. They may share `provider_group_id`, but each job needs its own idempotency key. A full processing backlog returns `429 BULK_BACKLOG_EXCEEDED` for jobs that need queue processing. Confirmed no-ESA jobs can still complete immediately. Request rate limits apply to both paths. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/esa-check/bulk' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Idempotency-Key: work-order-42-first-pass' \ --header 'Content-Type: application/json' \ --data '{ "provider_id": "your-provider", "account_id": "your-account", "provider_group_id": "work-order-42", "application_method": "Broadcast-Ground", "application_date": "2026-10-05", "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "rate": 32, "rate_unit": "fl oz/ac", "rate_unit_state": "L" } ], "crop": [ "Corn" ], "pest": [ "Waterhemp" ], "gpa": 15, "droplet_size": "VC", "boom_height": "low", "include_soil_analysis": true, "include_mitigations": true, "fields": [ { "application_id": "north-application-2026-10-05", "provider_field_id": "north-field", "field_name": "North field", "field_boundary": { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.404, 43.102 ], [ -95.392, 43.102 ], [ -95.392, 43.11 ], [ -95.404, 43.11 ], [ -95.404, 43.102 ] ] ] } } }, { "application_id": "south-application-2026-10-05", "provider_field_id": "south-field", "field_name": "South field", "field_boundary": { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.404, 43.092 ], [ -95.392, 43.092 ], [ -95.392, 43.1 ], [ -95.404, 43.1 ], [ -95.404, 43.092 ] ] ] } }, "crop": [ "Soybeans" ], "gpa": 20, "boom_height": null, "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "rate": 28, "rate_unit": "fl oz/ac", "rate_unit_state": "L" } ] } ] }' ``` ```json 202 { "success": true, "job_id": "019953f8-8c00-7000-8000-000000000001", "status": "queued", "total_items": 2, "replayed": false, "status_url": "/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001", "results_url": "/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001/results" } ``` ## Errors Submission-specific errors are `409 IDEMPOTENCY_CONFLICT` and `429 BULK_BACKLOG_EXCEEDED`. Invalid defaults, overrides, duplicate identities, group IDs, or idempotency headers return `422 INVALID_REQUEST`. No job is created for a validation error. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Get bulk job status Source: https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-status.md > Read processing progress and terminal counts Endpoint: `GET https://esa.acreblitz.com/api/v2/esa-check/bulk/{job_id}` Read processing progress and terminal counts. ### job_id path parameter; string; required. Opaque job identifier from the accepted response. ## Job lifecycle `status` is `queued`, `processing`, `completed`, `completed_with_errors`, or `failed`. The last three are terminal. `completed` means every item succeeded, `completed_with_errors` means some items succeeded and some failed, and `failed` means no item succeeded. A job whose products are all confirmed to have no ESA requirement starts as `completed` during submission. Its results are returned inline by the submission endpoint, so you do not need to poll it. `counts` reports queued, processing, succeeded, and failed items. `started_at`, `completed_at`, and `expires_at` can be null while work is pending. Results expire 30 days after terminal completion. Poll with backoff (for example, every five seconds). Responses use `Cache-Control: no-store`. A different provider or expired/unknown job receives `404 BULK_JOB_NOT_FOUND`. ```bash cURL curl --request GET 'https://esa.acreblitz.com/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001' \ --header "X-API-Key: $ACREBLITZ_API_KEY" ``` ```json 200 { "success": true, "job_id": "019953f8-8c00-7000-8000-000000000001", "provider_id": "your-provider", "account_id": "your-account", "provider_group_id": "work-order-42", "status": "queued", "total_items": 2, "counts": { "queued": 2, "processing": 0, "succeeded": 0, "failed": 0 }, "created_at": "2026-10-05T14:00:00.000Z", "started_at": null, "completed_at": null, "expires_at": null, "status_url": "/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001", "results_url": "/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001/results" } ``` ## Errors A malformed job UUID returns `422 INVALID_REQUEST`. An unknown, expired, or other-provider job returns `404 BULK_JOB_NOT_FOUND`. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Get bulk results Source: https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-results.md > Read paginated results in original submission order Endpoint: `GET https://esa.acreblitz.com/api/v2/esa-check/bulk/{job_id}/results` Read paginated results in original submission order. ### job_id path parameter; string; required. Job identifier returned by submission. ### offset query parameter; integer; optional; default: 0. Zero-based offset, 0–100. ### limit query parameter; integer; optional; default: 20. Page size, 1–50. ## Item results Jobs completed during the submission product check have succeeded items with `attempts: 0`. They never entered the processing queue. These results are also returned inline in the submission response and remain available here for the same retention period. Items remain in submission order (`item_index` starts at zero). Each has `application_id`, `provider_field_id`, `status`, `attempts`, `started_at`, `completed_at`, `result`, and `error`. New pending items have null result/error; queued items awaiting a retry may retain an error from an earlier attempt. Starting the next attempt clears that error. Treat `status` as authoritative. Succeeded items contain the same response structure as a single check. Failed items contain `{ code, message, retryable }` under `error`. Read `result.compliance` for succeeded checks; item success does not imply compliance. Product PULA limitations are under `result.products[].pulas[].limitations`, with counts in `result.summary`; see [product PULA limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#product-pula-limitations). Follow `next_offset` until it is null. You can read results before the job completes, but queued/processing items are not final. Save the results you need before the 30-day retention window ends. Responses use `Cache-Control: no-store`. The example below shows a processing job. The first item succeeded and its product has a PULA limitation; the second item is still queued. The succeeded `result` shows selected fields only. ```bash cURL curl --request GET 'https://esa.acreblitz.com/api/v2/esa-check/bulk/019953f8-8c00-7000-8000-000000000001/results?offset=0&limit=20' \ --header "X-API-Key: $ACREBLITZ_API_KEY" ``` ```json 200 { "success": true, "job_id": "019953f8-8c00-7000-8000-000000000001", "total_items": 2, "offset": 0, "limit": 20, "next_offset": null, "items": [ { "item_index": 0, "application_id": "north-application-2026-10-05", "provider_field_id": "north-field", "status": "succeeded", "attempts": 1, "error": null, "started_at": "2026-10-05T14:00:05.000Z", "completed_at": "2026-10-05T14:00:09.000Z", "result": { "success": true, "esa_required": true, "account_id": "your-account", "provider_id": "your-provider", "application_event_id": "019953f8-8c00-7000-8000-000000000002", "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "pest": ["Waterhemp"], "product_status": "Active", "esa_required": true, "pulas": [ { "pula_id": 12345, "event_name": "Example PULA", "status": "effective", "effective_date": "2026-01-01", "codes": "EX1", "limitations": [ { "limitation_id": 67890, "code": "EX1", "limitation": "Illustrative limitation text. Read the returned text for the actual restriction.", "mitigation_options": [] } ] } ] } ], "summary": { "total_pulas": 1, "total_limitations": 1, "products_checked": 1, "products_with_limitations": 1 }, "compliance": { "version": 1, "scope": "requirements_and_gaps", "calculated_at": "2026-10-05T14:00:09.000Z", "processing_complete": true, "status": "indeterminate", "issues": [ { "code": "LIMITATIONS_REVIEW_REQUIRED", "message": "Review the returned PULA text for conditions not evaluated automatically" }, { "code": "DRIFT_CONDITIONS_UNVERIFIED", "message": "Buffer placement and application weather have not been verified" } ] } } }, { "item_index": 1, "application_id": "south-application-2026-10-05", "provider_field_id": "south-field", "status": "queued", "attempts": 0, "result": null, "error": null, "started_at": null, "completed_at": null } ] } ``` ## Errors An invalid job UUID, offset, or limit returns `422 INVALID_REQUEST`. An unknown, expired, or other-provider job returns `404 BULK_JOB_NOT_FOUND`. HTTP 200 can contain failed items; see [bulk item failures and retry examples](https://docs.acreblitz.com/v2/errors#bulk-item-failures). All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. ## Runoff exemptions after processing See [Understanding compliance determinations](https://docs.acreblitz.com/v2/compliance-determination) for runoff and drift scoring, setup violations, overall status, and when to refresh a result. Each successful item follows the [ESA check runoff rules](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#runoff-requirements-and-portal-exemptions): EPA runoff is required by default, and a saved portal exemption satisfies that application's EPA runoff obligation. Completed item results are processing-time snapshots. To read later portal edits, use [application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) or [group compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance). --- # V2: Analyze soil Source: https://docs.acreblitz.com/v2/api-reference/endpoint/soil-process.md > Analyze hydrologic soil groups and slope for a field boundary Endpoint: `POST https://esa.acreblitz.com/api/v2/soil/process` Analyze hydrologic soil groups and slope for a field boundary. ### provider_id body parameter; string; required. Your assigned provider identifier, matching the API key. ### field_boundary body parameter; object; required. GeoJSON Feature with Polygon or MultiPolygon in EPSG:4326. The single-check field-boundary limits apply. ## Response The response contains `soil_data` (a GeoJSON FeatureCollection clipped to the field boundary), `dominant_hydgrpdcd`, `total_area_sqm`, `hydgrpdcd_analysis`, `weighted_avg_slopegradwta`, and `musym_analysis`. Missing hydrologic group or slope attributes can be null. This endpoint does not save a field/application. Soil may be reused across requests for the same area. The example shows summary fields; the complete response also includes field-boundary data and map-unit analysis. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/soil/process' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "provider_id": "your-provider", "field_boundary": { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.404, 43.102 ], [ -95.392, 43.102 ], [ -95.392, 43.11 ], [ -95.404, 43.11 ], [ -95.404, 43.102 ] ] ] } } }' ``` ```json 200 — selected response fields { "dominant_hydgrpdcd": "B", "total_area_sqm": 865700.0, "hydgrpdcd_analysis": { "B": { "area_sqm": 865700.0, "percentage": 100 } }, "weighted_avg_slopegradwta": 2.1 } ``` ## Errors Invalid field boundaries return `422 INVALID_REQUEST`. A dependency failure can return `503 REQUEST_FAILED`; capacity and deadline errors also apply. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Runoff baseline Source: https://docs.acreblitz.com/v2/api-reference/endpoint/runoff-baseline.md > Calculate automatic runoff mitigation credits without saving a field Endpoint: `POST https://esa.acreblitz.com/api/v2/field/runoff-baseline` Calculate automatic runoff mitigation credits without saving a field. ### field_boundary body parameter; object; required. A GeoJSON Feature or bare Polygon/MultiPolygon in EPSG:4326. A FeatureCollection with exactly one field is also accepted. A JSON string containing one supported value is accepted. ## Response `baseline_points` is the sum of `auto_credits`. Each credit includes `sub_option_id`, `label`, `points`, and `source` (`always`, `slope`, `soil`, or `county`). The response also includes `counties`, a `soil_data` summary, `processing_complete`, and `issues`. These are available automatic credits, not a product-specific compliance determination. The endpoint does not save a field/application. If soil is unavailable, it returns a partial baseline with `processing_complete: false` and `SOIL_UNAVAILABLE`; do not treat that partial sum as the full baseline. The example shows selected response fields when soil could not be processed. Available non-soil credits are still returned. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/field/runoff-baseline' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "field_boundary": { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.404, 43.102 ], [ -95.392, 43.102 ], [ -95.392, 43.11 ], [ -95.404, 43.11 ], [ -95.404, 43.102 ] ] ] } } }' ``` ```json 200 — selected response fields { "soil_data": null, "processing_complete": false, "issues": [ { "code": "SOIL_UNAVAILABLE", "message": "Baseline excludes soil-dependent credits; retry for a complete result" } ] } ``` ## Errors Invalid field boundaries return `422 INVALID_REQUEST`. Missing soil can instead return HTTP 200 with `processing_complete: false` and the `SOIL_UNAVAILABLE` issue. Inspect completeness before using the baseline. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Process a field Source: https://docs.acreblitz.com/v2/api-reference/endpoint/process-field.md > Save a field with soil analysis and automatic runoff credits Endpoint: `POST https://esa.acreblitz.com/api/v2/process-field` Save a field with soil analysis and automatic runoff credits. ## Request ### provider_id body parameter; string; required. Your assigned provider identifier. ### account_id body parameter; string; required. Your account identifier. ### provider_field_id body parameter; string; required. Required external field identifier. ### field_name body parameter; string; required. Field name displayed in the portal and compliance reports. ### field_boundary body parameter; object; required. GeoJSON Feature with Polygon/MultiPolygon in EPSG:4326; uses single-check boundary validation. ### year body parameter; integer; optional. Year for automatic runoff credits, 1900–2200; defaults to the current UTC year. ### include_mitigation_options body parameter; boolean; optional; default: false. Include the EPA runoff option tree with selected measures. ## Processing behavior This endpoint saves a field, its processed soil, and automatic annual runoff credits. It does not create an application or run a product-specific assessment. Soil must complete before this update is saved; soil failure leaves the existing field data intact. ## Response The response includes your `provider_field_id`, `year`, portal link fields, `soil_data`, `counties`, `pulas`, `mitigations_applied`, `steps`, and `summary`. `mitigation_options` is null unless requested. `steps.soil.data.status` distinguishes `reused` from `fetched`; `fetched` can still reuse soil source data for the area. The example shows selected fields only. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/process-field' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "provider_id": "your-provider", "account_id": "your-account", "provider_field_id": "north-field", "field_name": "North field", "field_boundary": { "type": "Feature", "properties": {}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -95.404, 43.102 ], [ -95.392, 43.102 ], [ -95.392, 43.11 ], [ -95.404, 43.11 ], [ -95.404, 43.102 ] ] ] } }, "year": 2026, "include_mitigation_options": true }' ``` ```json 200 — selected response fields { "success": true, "provider_field_id": "north-field", "year": 2026, "steps": { "spatial": { "success": true }, "soil": { "success": true, "data": { "status": "reused" } }, "mitigations": { "success": true } }, "summary": { "pula_count": 0, "soil_available": true, "mitigations_applied_count": 2, "total_points": 3 } } ``` ## Errors Field processing can return `409 DUPLICATE_FIELD`, `FIELD_OWNERSHIP_CONFLICT`, `PROCESSING_CONFLICT`, or `FIELD_CHANGED`, and `503 PORTAL_SAS_UNCONFIGURED` when signed portal links are unavailable. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Get runoff mitigation options Source: https://docs.acreblitz.com/v2/api-reference/endpoint/mitigations.md > Read the active EPA runoff mitigation option tree Endpoint: `GET https://esa.acreblitz.com/api/v2/mitigations/{mitigation_type}` Read the active EPA runoff mitigation option tree. ### mitigation_type path parameter; string; required. Only `epa_runoff` is supported. Other values return 422. ## Response `categories` contains active categories in display order. Each category has `options`; each option has `sub_options`. Options contain labels and available runoff points. Use the returned identifiers and definitions when presenting choices, rather than hardcoding a points catalog. A valid type with no active definitions returns an empty categories array. The example shows that empty-catalog response. ```bash cURL curl --request GET 'https://esa.acreblitz.com/api/v2/mitigations/epa_runoff' \ --header "X-API-Key: $ACREBLITZ_API_KEY" ``` ```json 200 { "mitigation_type": "epa_runoff", "categories": [] } ``` ## Errors A mitigation type other than `epa_runoff` returns `422 INVALID_REQUEST`. Dependency and capacity errors can also apply. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Get application compliance Source: https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance.md > Retrieve saved requirements, current runoff credits, and full drift configuration for an application Endpoint: `GET https://esa.acreblitz.com/api/v2/applications/{application_event_id}/compliance` Read compliance information after an ESA check or after an applicator changes selections in the portal. The response combines saved application requirements with current mitigation selections. Every request reads fresh data and returns `Cache-Control: no-store`. ### application_event_id path parameter; string; required. Application-event reference returned by an ESA check. Use this UUID, not your submitted `application_id`. ### include_geometry query parameter; boolean; optional; default: false. Use `true` to include saved `buffer_features` and any PULA boundaries included in the last assessment. Only literal `true` and `false` are accepted. This does not compute new buffer or treatable-area boundaries. ## Response fields The response contains `success`, `retrieved_at`, and `application`. Group retrieval returns this same application object for each member. | Field under `application` | Meaning | |---|---| | `application_event_id`, `application_id` | API application reference and your submitted application identifier. | | `account_id`, `provider_group_id`, `provider_field_id`, `field_name` | Account, group, and field context. Optional identifiers can be null. | | `application_date`, `application_method`, `products`, `crop`, `pest` | Current saved application inputs. | | `processing_status`, `updated_at`, `portal_locked_at` | Application processing state, last application update, and portal lock timestamp. Child selections can change independently of `updated_at`. | | `compliance.scope` | Always `saved_requirements_and_current_selections`. | | `compliance.requirements[]` | Every saved mitigation requirement, including `mitigation_type`, effective `required`, nullable `required_points`, `updated_at`, runoff exemption selections (plus `exempt` and `label_required_points` for EPA runoff), and any requirement-specific `drift_buffers`. | | `compliance.runoff[]` | Current runoff scoring for each saved runoff requirement. EPA runoff and Enlist remain separate. | | `compliance.drift` | Full saved drift configuration, current reductions and selections, setup, weather, and historical computation details. | | `compliance.last_assessment` | Last saved ESA assessment: `calculated_at`, `status`, `processing_complete`, `issues`, and `products[]` with their PULA limitations. Null when no assessment was saved. | ### Product PULA limitations `compliance.last_assessment.products[]` returns each product's saved `epa_number`, `product_name`, `pest`, `product_status`, `esa_required`, and `pulas[]`. Each PULA has `pula_id`, `event_name`, `status`, `effective_date`, `codes`, and `limitations[]` with `limitation_id`, `code`, `limitation` text, and `mitigation_options`. With `include_geometry=true`, a PULA also includes its saved `geometry` when the original check requested it. These fields match the [ESA check product limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#product-pula-limitations). Limitations come from the last ESA check; this GET does not search for new or changed PULAs. Resubmit the check to refresh them. An application without a saved assessment has `last_assessment: null`. ## Runoff points and applicability See [Understanding compliance determinations](https://docs.acreblitz.com/v2/compliance-determination) for runoff and drift scoring, setup violations, overall status, and when to refresh a result. Each runoff entry includes `mitigation_type`, `year`, `required`, `exempt`, `required_points`, `label_required_points`, `earned_points`, `gap`, `status`, `credited_measures`, `selected_measures`, exemption claims, and `issues`. - `required_points` is the effective requirement: zero for an accepted EPA runoff exemption, otherwise the saved target. `label_required_points` retains the saved label/PULA target, including for exempt applications. Null means unresolved; it does not mean zero. - `earned_points` is recalculated from current selections using active definitions, product restrictions, soil eligibility, selection limits, and aggregation caps. `credited_measures` explains the credits counted. `selected_measures` also includes selections that did not qualify for credit, with source, implementation date, and notes. - `gap` is the larger of zero and required minus earned points. It is null when required points are unresolved. - `year` comes from `application_date`. Applications on the same field in the same year share runoff selections, but their product restrictions and required points can differ. - `status` is `met`, `not_met`, or `indeterminate` for runoff within this scope. For non-exempt requirements, a missing soil result, unknown product, incomplete application processing, unresolved requirement, unsupported mitigation type, or unverified non-EPA applicability keeps it `indeterminate`. An accepted EPA exemption returns `met` without requiring runoff scoring inputs. Runoff `issues` contains code strings: `RUNOFF_APPLICABILITY_UNVERIFIED`, `RUNOFF_REQUIREMENT_UNRESOLVED`, `SOIL_UNAVAILABLE`, `UNKNOWN_PRODUCT`, `APPLICATION_PROCESSING_INCOMPLETE`, or `UNSUPPORTED_MITIGATION`. EPA runoff is required by default, including older unanswered records saved with `required: false`. An explicit portal exemption (`required: false` with an evaluation timestamp) returns `required: false`, `exempt: true`, `status: "met"`, `required_points: 0`, and `gap: 0`. `runoff_exemption_claimed_at` and `runoff_exemption_reasons` preserve the selection; timestamped legacy exemptions without reason codes are supported. Choosing “None apply” restores `required: true` and scoring against the saved target. The `requirements[]` and `runoff[]` entries use the same effective requirement. Portal selections appear on the next GET without resubmitting a check. EPA exemptions do not exempt Enlist, other runoff systems, or drift. `RUNOFF_APPLICABILITY_UNVERIFIED` is no longer emitted for EPA runoff; it can still describe an optional non-EPA runoff requirement. Historical `last_assessment` values and completed bulk results are unchanged until a new check is run. ## Drift configuration and details `compliance.drift.configuration` returns the complete saved configuration, or null when none exists. Inspect its `version`; current V2 checks produce version 4 with: - `computed_at` and `summary` for `wind_directional`, `omni_directional`, and `downslope` buffers. Summaries separate `mitigatable` and `non_mitigatable` distances. - `requirements[]` with source (`product` or `pula_limitation`), `product_epa`, `config_label`, `limitation_id` when available, matched method, and `raw_distance_ft`. - Complete `buffers_esa` for each requirement, including anchor, exclusion categories, mitigation eligibility, methods, distance units, droplet/boom tiers, wind-speed ranges, rate ranges, and mitigation types when configured. - Raw and normalized rates, rate resolution, active-ingredient information, and flags indicating conditional wind/rate tiers when available. `reductions[]` returns current saved totals and selected mitigations by drift type. Each selection includes its label, definition points and reduction percentage, custom value, and implementation notes. These totals are recorded selections; they are not newly verified buffer reductions. `setup` includes normalized application method, GPA, droplet size, and boom height. `weather` includes wind direction, wind speed, temperature, humidity, observation timestamp, and source. Wind direction is where wind comes **from**, clockwise from north; speed is mph, temperature is °F, and humidity is percent. `adjuvant_results` contains the saved adjuvant evaluation, or null. `last_computation` contains the last application-time computation's timestamp, overall `status`, separate `drift_status`, inputs, reductions, manual claims, feature counts/scope, per-edge details, and product breakdown, or null. It can predate current selections or weather. `drift_status: "met"` means the supplied setup satisfied the configured drift rules when applied within the calculated treatable area, even if a buffer remained. This is a saved result, not a fresh drift assessment. Older computations have a null `drift_status` until recomputed. With `include_geometry=true`, `buffer_features` contains saved portal features, or null; it is separate from that historical computation. ## Fresh reads and saved assessments This GET request does not rerun an ESA check, fetch new soil, refresh product/PULA requirements, or recompute drift placement. There is no new overall `compliance.status`; read current runoff status separately from `last_assessment.status`. A current runoff `met` result does not establish overall application compliance. Missing assessment/configuration data remains null or empty, including while processing is pending or failed. To refresh the saved requirements, resubmit the application to [ESA check](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check). To calculate buffers using application-time weather and receive buffer/treatable-area boundaries, use [compute drift buffers](https://docs.acreblitz.com/v2/api-reference/endpoint/drift-buffer). No-ESA checks that did not create an application-event reference cannot be retrieved here. An expired or locked portal does not prevent an authorized provider from reading an existing application; archived fields are excluded. ```bash cURL curl --request GET 'https://esa.acreblitz.com/api/v2/applications/019953f8-8c00-7000-8000-000000000002/compliance?include_geometry=false' \ --header "X-API-Key: $ACREBLITZ_API_KEY" ``` ```json 200 { "success": true, "retrieved_at": "2026-10-02T14:00:00.000Z", "application": { "application_event_id": "019953f8-8c00-7000-8000-000000000002", "application_id": "north-application-2026-10-05", "account_id": "your-account", "provider_group_id": "work-order-42", "provider_field_id": "north-field", "field_name": "North field", "application_date": "2026-10-05", "application_method": "Broadcast-Ground", "products": [{ "epa_number": "123-456", "product_name": "Example product", "rate": 16, "rate_unit": "fl oz/acre", "pest": ["weeds"] }], "crop": ["corn"], "pest": ["weeds"], "processing_status": "completed", "updated_at": "2026-10-02T13:00:00.000Z", "portal_locked_at": null, "compliance": { "scope": "saved_requirements_and_current_selections", "requirements": [ { "mitigation_type": "epa_runoff", "required": true, "required_points": 3, "updated_at": "2026-10-02T13:00:00.000Z", "runoff_exemption_claimed_at": "2026-10-02T13:00:00.000Z", "runoff_exemption_reasons": [], "drift_buffers": null }, { "mitigation_type": "epa_drift_ground", "required": true, "required_points": null, "updated_at": "2026-10-02T13:00:00.000Z", "runoff_exemption_claimed_at": null, "runoff_exemption_reasons": null, "drift_buffers": null } ], "runoff": [ { "mitigation_type": "epa_runoff", "year": 2026, "required": true, "required_points": 3, "earned_points": 0, "gap": 3, "status": "not_met", "credited_measures": [], "selected_measures": [], "runoff_exemption_claimed_at": "2026-10-02T13:00:00.000Z", "runoff_exemption_reasons": [], "issues": [] } ], "drift": { "configuration": { "version": 4, "computed_at": "2026-10-02T13:00:00.000Z", "summary": { "wind_directional": { "mitigatable": { "distance": 240, "unit": "feet", "mitigation_type": "epa_drift_ground" }, "non_mitigatable": null }, "omni_directional": null, "downslope": null }, "requirements": [ { "config_label": "product:123-456", "source": "product", "product_epa": "123-456", "limitation_id": null, "buffers_esa": { "anchor": "field_edge_inward", "can_mitigate": true, "exclusion_categories": [], "buffer_types": { "wind_directional": { "methods": [{ "type": "ground", "distance": 240, "unit": "feet", "mitigation_type": "epa_drift_ground" }] } } }, "method": "ground", "raw_distance_ft": 240, "has_wind_speed_ranges": false, "has_rate_ranges": false, "rate_normalized": { "value": 16, "unit": "fl_oz_per_acre" }, "rate_raw": { "rate": 16, "rate_unit": "fl oz/acre" }, "rate_resolution": "not_applicable", "ai_info": null } ] }, "reductions": [], "adjuvant_results": null, "setup": { "normalized_application_method": "ground", "gpa": 10, "droplet_size": "coarse", "boom_height": "low" }, "weather": { "wind_direction_deg": null, "wind_speed_mph": null, "temperature_f": null, "humidity_percent": null, "observed_at": null, "source": "forecast" }, "last_computation": null }, "last_assessment": { "calculated_at": "2026-10-02T13:00:00.000Z", "status": "not_met", "processing_complete": true, "issues": [ { "code": "LIMITATIONS_REVIEW_REQUIRED", "message": "Review the returned PULA text for conditions not evaluated automatically" }, { "code": "DRIFT_CONDITIONS_UNVERIFIED", "message": "Buffer placement and application weather have not been verified" } ], "products": [ { "epa_number": "123-456", "product_name": "Example product", "pest": ["weeds"], "product_status": "Active", "esa_required": true, "pulas": [ { "pula_id": 12345, "event_name": "Example PULA", "status": "effective", "effective_date": "2026-01-01", "codes": "EX1", "limitations": [ { "limitation_id": 67890, "code": "EX1", "limitation": "Illustrative limitation text. Read the returned text for the actual restriction.", "mitigation_options": [] } ] } ] } ] } } } } ``` The example uses illustrative product requirements. Use your returned configuration and labels for the actual application. ## Errors An absent or other-provider application, or one on an archived field, returns `404 APPLICATION_NOT_FOUND`. A malformed application UUID, invalid query value, or unknown query parameter returns `422 INVALID_REQUEST`. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Keep `X-Request-ID` when present. --- # V2: Get group compliance Source: https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance.md > Retrieve paginated compliance information for an account-scoped application group Endpoint: `GET https://esa.acreblitz.com/api/v2/groups/{provider_group_id}/compliance` Read saved requirements, current runoff points, and full drift configuration for applications in a group. Provider identity comes from your API key. You must also supply `account_id` because group identifiers can repeat across accounts. ### provider_group_id path parameter; string; required. Your job or work-order identifier, up to 200 characters. URL-encode the value. ### account_id query parameter; string; required. Account identifier supplied when creating the applications, up to 200 characters. ### offset query parameter; integer; optional; default: 0. Zero-based offset, from 0 to 1,000,000. Use the returned `next_offset` for the next page. ### limit query parameter; integer; optional; default: 50. Page size, from 1 to 100 applications. ### include_geometry query parameter; boolean; optional; default: false. Include saved buffer features and any saved PULA boundaries for each application. Accepts literal `true` or `false`. No new geometry is computed. ## Group scope and pagination See [Understanding compliance determinations](https://docs.acreblitz.com/v2/compliance-determination) for runoff and drift scoring, setup violations, overall status, and when to refresh a result. `applications[]` contains the same complete application objects returned by [get application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance), including requirements, runoff scoring and claims, full drift configuration, current reductions, setup/weather, and the last saved assessment with each product's [PULA limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance#product-pula-limitations) under `compliance.last_assessment.products[].pulas[].limitations`. That page defines every nested field and how to interpret current selections versus historical assessments. The response also includes `retrieved_at`, `account_id`, `provider_group_id`, `total`, `offset`, `limit`, and `next_offset`. `total` counts existing accessible applications in this group and account. Members are ordered by application-event reference. Continue until `next_offset` is null. An offset beyond the last member returns an empty array with the total preserved. An empty or unowned group returns 404. Each page reads one consistent database snapshot. Separate pages can reflect later changes. Wait for [bulk completion](https://docs.acreblitz.com/v2/api-reference/endpoint/bulk-status) before retrieving a complete job; pending bulk items may not have an application yet. If group membership changes while paging, start again at offset zero. EPA runoff is required by default. Each application’s saved portal exemption returns runoff `status: "met"`, `required: false`, `exempt: true`, and zero effective required points. Portal edits are reflected on the next GET; historical assessments remain separate. See [runoff applicability](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance#runoff-points-and-applicability) for details. There is no group-wide compliance verdict or sum of runoff points. Applications on the same field/year share selections, so adding their points would double-count credits. Inspect each application's runoff results and last assessment separately. A successful retrieval does not mean the applications are compliant. Requests are read-only and return `Cache-Control: no-store`. Portal locks or expiry do not block these provider reads; archived fields are excluded. Reading this endpoint does not refresh the saved requirements or compute drift placement. ```bash cURL curl --get 'https://esa.acreblitz.com/api/v2/groups/work-order-42/compliance' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --data-urlencode 'account_id=your-account' \ --data-urlencode 'offset=0' \ --data-urlencode 'limit=50' \ --data-urlencode 'include_geometry=false' ``` This response shows two applications. The first has a saved assessment with a product PULA limitation under `last_assessment.products`. Its drift details are trimmed; see [application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) for the complete object. The second is still waiting for processing. Empty requirement lists and null assessments do not establish that no mitigations are needed. ```json 200 { "success": true, "retrieved_at": "2026-10-02T14:00:00.000Z", "account_id": "your-account", "provider_group_id": "work-order-42", "total": 2, "offset": 0, "limit": 50, "next_offset": null, "applications": [ { "application_event_id": "019953f8-8c00-7000-8000-000000000002", "application_id": "north-application-2026-10-05", "account_id": "your-account", "provider_group_id": "work-order-42", "provider_field_id": "north-field", "field_name": "North field", "application_date": "2026-10-05", "application_method": "Broadcast-Ground", "products": [{ "epa_number": "123-456", "product_name": "Example product", "rate": 16, "rate_unit": "fl oz/acre", "pest": ["weeds"] }], "crop": ["corn"], "pest": ["weeds"], "processing_status": "completed", "updated_at": "2026-10-02T13:00:00.000Z", "portal_locked_at": null, "compliance": { "scope": "saved_requirements_and_current_selections", "requirements": [ { "mitigation_type": "epa_runoff", "required": true, "required_points": 3, "exempt": false, "label_required_points": 3, "updated_at": "2026-10-02T13:00:00.000Z", "runoff_exemption_claimed_at": null, "runoff_exemption_reasons": null, "drift_buffers": null } ], "runoff": [ { "mitigation_type": "epa_runoff", "year": 2026, "required": true, "exempt": false, "required_points": 3, "label_required_points": 3, "earned_points": 0, "gap": 3, "status": "not_met", "credited_measures": [], "selected_measures": [], "runoff_exemption_claimed_at": null, "runoff_exemption_reasons": null, "issues": [] } ], "drift": { "configuration": null, "reductions": [], "adjuvant_results": null, "setup": { "normalized_application_method": "ground", "gpa": 10, "droplet_size": "coarse", "boom_height": "low" }, "weather": { "wind_direction_deg": null, "wind_speed_mph": null, "temperature_f": null, "humidity_percent": null, "observed_at": null, "source": "forecast" }, "last_computation": null }, "last_assessment": { "calculated_at": "2026-10-02T13:00:00.000Z", "status": "not_met", "processing_complete": true, "issues": [ { "code": "LIMITATIONS_REVIEW_REQUIRED", "message": "Review the returned PULA text for conditions not evaluated automatically" } ], "products": [ { "epa_number": "123-456", "product_name": "Example product", "pest": ["weeds"], "product_status": "Active", "esa_required": true, "pulas": [ { "pula_id": 12345, "event_name": "Example PULA", "status": "effective", "effective_date": "2026-01-01", "codes": "EX1", "limitations": [ { "limitation_id": 67890, "code": "EX1", "limitation": "Illustrative limitation text. Read the returned text for the actual restriction.", "mitigation_options": [] } ] } ] } ] } } }, { "application_event_id": "019953f8-8c00-7000-8000-000000000003", "application_id": "south-application-2026-10-05", "account_id": "your-account", "provider_group_id": "work-order-42", "provider_field_id": "south-field", "field_name": "South field", "application_date": "2026-10-05", "application_method": "Broadcast-Ground", "products": [{ "epa_number": "123-456", "product_name": "Example product", "rate": 16, "rate_unit": "fl oz/acre", "pest": ["weeds"] }], "crop": ["corn"], "pest": ["weeds"], "processing_status": "pending", "updated_at": "2026-10-02T13:59:00.000Z", "portal_locked_at": null, "compliance": { "scope": "saved_requirements_and_current_selections", "requirements": [], "runoff": [], "drift": { "configuration": null, "reductions": [], "adjuvant_results": null, "setup": { "normalized_application_method": "ground", "gpa": null, "droplet_size": null, "boom_height": null }, "weather": { "wind_direction_deg": null, "wind_speed_mph": null, "temperature_f": null, "humidity_percent": null, "observed_at": null, "source": "forecast" }, "last_computation": null }, "last_assessment": null } } ] } ``` ## Errors No accessible applications for the group/account returns `404 GROUP_NOT_FOUND`. A missing account, malformed pagination, invalid geometry flag, or unknown query parameter returns `422 INVALID_REQUEST`. Arrays and repeated query values are not accepted. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Keep `X-Request-ID` when present. --- # V2: Enlist compliance report Source: https://docs.acreblitz.com/v2/api-reference/endpoint/enlist-report.md > Download the Enlist compliance report for a provider-owned field Endpoint: `GET https://esa.acreblitz.com/api/v2/fields/{provider_field_id}/reports/enlist` Download the Enlist compliance report for a provider-owned field. ### provider_field_id path parameter; string; required. Your field identifier from the single check, bulk field entry, or field-processing request. ### year query parameter; integer; optional. Optional report year, 1900–2200. ## Response A successful request returns **200** with `Content-Type: application/pdf` and an attachment filename. Save the response bytes as a `.pdf` file. ```http 200 Content-Type: application/pdf Content-Disposition: attachment; filename=mitigation-report.pdf ``` The field must belong to your provider and have an active, unexpired, unarchived portal. An unknown or unavailable field returns 404; an ambiguous field identifier returns 409. Dependent report failures can return 502. The report uses the field's current saved data; the download request does not rerun the ESA check. The example requests the 2026 report. ```bash cURL curl --request GET 'https://esa.acreblitz.com/api/v2/fields/north-field/reports/enlist?year=2026' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --output enlist-report.pdf ``` ## Errors Report errors are `404 FIELD_NOT_FOUND`, `409 DUPLICATE_FIELD`, `502 INVALID_REPORT`, `503 PORTAL_SERVICE_UNCONFIGURED` or `PORTAL_SAS_UNCONFIGURED`, and `PORTAL_REQUEST_FAILED` with HTTP 400, 403, 404, 422, or 502. Error bodies use JSON even though successful responses are PDFs. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Runoff compliance report Source: https://docs.acreblitz.com/v2/api-reference/endpoint/runoff-report.md > Download the Runoff compliance report for a provider-owned field Endpoint: `GET https://esa.acreblitz.com/api/v2/fields/{provider_field_id}/reports/runoff` Download the Runoff compliance report for a provider-owned field. ### provider_field_id path parameter; string; required. Your field identifier from the single check, bulk field entry, or field-processing request. ### year query parameter; integer; optional. Optional report year, 1900–2200. ### grower_name query parameter; string; optional. Optional grower name, up to 200 characters. It prints in the report's **Name** field in place of your provider name. ### farm_name query parameter; string; optional. Optional farm name, up to 200 characters. It prints before the field name, as `Farm / Field`. AcreBlitz does not store `grower_name` or `farm_name`. They apply only to the compliance report from that request. Send them on each download where you want them to appear. Blank values are ignored. A value over 200 characters or with control characters returns `422 INVALID_REQUEST`. URL-encode both values. ## Response A successful request returns **200** with `Content-Type: application/pdf` and an attachment filename. Save the response bytes as a `.pdf` file. ```http 200 Content-Type: application/pdf Content-Disposition: attachment; filename=mitigation-report.pdf ``` The field must belong to your provider and have an active, unexpired, unarchived portal. An unknown or unavailable field returns 404; an ambiguous field identifier returns 409. Dependent report failures can return 502. The report uses the field's current saved data; the download request does not rerun the ESA check. The example requests the 2026 report labeled with a grower and farm name. ```bash cURL curl --request GET 'https://esa.acreblitz.com/api/v2/fields/north-field/reports/runoff' \ --get \ --data-urlencode 'year=2026' \ --data-urlencode 'grower_name=Jane Smith' \ --data-urlencode 'farm_name=North Farm' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --output runoff-report.pdf ``` ## Errors Report errors are `404 FIELD_NOT_FOUND`, `409 DUPLICATE_FIELD`, `502 INVALID_REPORT`, `503 PORTAL_SERVICE_UNCONFIGURED` or `PORTAL_SAS_UNCONFIGURED`, and `PORTAL_REQUEST_FAILED` with HTTP 400, 403, 404, 422, or 502. Error bodies use JSON even though successful responses are PDFs. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Issue portal access Source: https://docs.acreblitz.com/v2/api-reference/endpoint/portal-access.md > Issue an expiring portal link for one application Endpoint: `POST https://esa.acreblitz.com/api/v2/applications/{application_event_id}/portal-access` Issue an expiring portal link for one application. ## Request ### application_event_id path parameter; string; required. Opaque application-event reference returned by an ESA check. ### ttl_seconds body parameter; integer; optional. Link lifetime, 60–86,400 seconds. Defaults to your configured lifetime (one hour by default). ### return_url body parameter; string; optional. Optional absolute HTTP(S) URL used to return the user when this link is rejected as expired; maximum 2,000 characters. ## Response and access Returns an expiring `portal_url`, `expires_at`, `application_event_id`, `provider_group_id`, and the provider's `portal_access_mode`. Treat the URL as an opaque credential and use it unchanged. Do not derive or parse its token format. This endpoint issues a signed expiring link in either access mode. In signed-link mode, the normal ESA-check response already provides an expiring `mitigation_portal_url`; an extra call is often unnecessary. In token mode, this endpoint lets you issue a short-lived link without changing your provider's default access mode. The application must belong to your provider and its portal must be available. A grouped application link also supports navigation between applications in its job group. A portal lock prevents mitigation writes but does not prevent reading the portal. The example shows selected response fields. Its placeholder URL represents the complete URL returned by the service. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/applications/019953f8-8c00-7000-8000-000000000002/portal-access' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "ttl_seconds": 3600, "return_url": "https://partner.example/applications/north" }' ``` ```json 200 — selected response fields { "success": true, "application_event_id": "019953f8-8c00-7000-8000-000000000002", "provider_group_id": "work-order-42", "portal_url": "https://acreblitz.com/esaportal/field?t=opaque-returned-credential", "expires_at": "2026-10-05T15:00:00.000Z", "portal_access_mode": "token" } ``` ## Errors Endpoint-specific errors are `404 APPLICATION_NOT_FOUND`, `403 INVALID_TOKEN`, `INACTIVE_TOKEN`, or `PORTAL_EXPIRED`, and `503 PORTAL_SAS_UNCONFIGURED`. Portal access denials refer to the field’s availability, not your API key. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Set application portal lock Source: https://docs.acreblitz.com/v2/api-reference/endpoint/portal-lock.md > Lock or unlock portal mitigation changes for one application Endpoint: `PUT https://esa.acreblitz.com/api/v2/applications/{application_event_id}/portal-lock` Lock or unlock portal mitigation changes for one application. ### application_event_id path parameter; string; required. Application-event reference returned by the check. ### locked body parameter; boolean; required. Use true to lock mitigation changes or false to unlock them. ## Lock behavior The lock covers this application's mitigation writes and its shared field-year runoff selections. Reads and compliance report downloads remain available. Repeating a lock preserves the original `portal_locked_at` timestamp; unlocking returns null for that timestamp. Applications sharing the same field/year share runoff selections. A lock on a sibling application can therefore keep those shared runoff writes locked even after this application is unlocked. ```bash cURL curl --request PUT 'https://esa.acreblitz.com/api/v2/applications/019953f8-8c00-7000-8000-000000000002/portal-lock' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "locked": true }' ``` ```json 200 { "success": true, "application_event_id": "019953f8-8c00-7000-8000-000000000002", "locked": true, "portal_locked_at": "2026-10-05T14:05:00.000Z" } ``` ## Errors An absent or other-provider application returns `404 APPLICATION_NOT_FOUND`. A missing/non-boolean `locked` value or malformed application UUID returns `422 INVALID_REQUEST`. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Set group portal lock Source: https://docs.acreblitz.com/v2/api-reference/endpoint/group-portal-lock.md > Lock or unlock all current applications in an account-scoped group Endpoint: `PUT https://esa.acreblitz.com/api/v2/groups/{provider_group_id}/portal-lock` Lock or unlock all current applications in an account-scoped group. ### provider_group_id path parameter; string; required. Your job/work-order identifier, up to 200 characters. ### account_id body parameter; string; required. Required account identifier. Group identifiers may repeat across accounts. ### locked body parameter; boolean; required. Use true to lock current applications or false to unlock them. ## Group scope The operation applies to existing applications owned by your provider with this account and group. It returns their application-event references. An empty or unowned group returns 404. New applications added afterward start unlocked. Wait for bulk completion before locking a complete job, and call again after adding applications. Group unlock also clears locks set individually on those applications. Shared runoff selections follow the same field/year lock rule as an individual application lock. ```bash cURL curl --request PUT 'https://esa.acreblitz.com/api/v2/groups/work-order-42/portal-lock' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "account_id": "your-account", "locked": true }' ``` ```json 200 { "success": true, "provider_group_id": "work-order-42", "account_id": "your-account", "locked": true, "application_event_ids": [ "019953f8-8c00-7000-8000-000000000002" ] } ``` ## Errors No applications for the supplied group/account returns `404 GROUP_NOT_FOUND`. Invalid or missing account, group, or lock values return `422 INVALID_REQUEST`. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present. --- # V2: Compute application-time drift buffers Source: https://docs.acreblitz.com/v2/api-reference/endpoint/drift-buffer.md > Refresh an application assessment with current wind and application setup Endpoint: `POST https://esa.acreblitz.com/api/v2/applications/{application_event_id}/drift-buffer/compute` Refresh an application assessment with current wind and application setup. ## Request ### application_event_id path parameter; string; required. Opaque application-event reference from a previous ESA check. ### wind_direction_deg body parameter; number; required. Wind direction in degrees, greater than or equal to 0 and less than 360. ### wind_speed_mph body parameter; number; required. Wind speed, 0–80 mph. ### temperature_f body parameter; number; optional. Optional observed temperature, -100–200 degrees Fahrenheit; nullable. ### humidity_percent body parameter; number; optional. Optional observed humidity, 0–100; nullable. ### application_method body parameter; string; optional. Optional supported method; otherwise use the saved method. ### droplet_size body parameter; string; optional. Optional supported category/code; nullable. An omitted value uses the saved value; explicit null clears it. ### boom_height body parameter; string; optional. Optional `low` or `high`; nullable. An omitted value uses the saved value; explicit null clears it. ### gpa body parameter; number; optional. Optional positive spray gallons per acre; nullable. An omitted value uses the saved value; explicit null clears it. ### rate_updates body parameter; object[]; optional. Up to 100 rate changes. Each requires `product_index` (zero-based), `epa_number`, nonnegative `rate`, and nonempty `rate_unit`; optional `rate_unit_state` and positive `row_spacing_inches`. The index and registration must match the saved product. ### geometry body parameter; string; optional. `none`, `buffer`, `treatable`, or `both`; defaults to `none`. ### include_non_managed_areas body parameter; boolean; optional. When `true`, returns the non-managed areas the drift buffer was measured from under `application_time.non_managed_areas`. Defaults to `false`. ## Assessment behavior See [Understanding compliance determinations](https://docs.acreblitz.com/v2/compliance-determination) for runoff and drift scoring, setup violations, overall status, and when to refresh a result. The endpoint resolves your saved application, applies current weather/setup inputs and rate changes, and returns a refreshed check plus `application_time`. Weather and the assessment are saved for that application. It checks the application revision; conflicting changes return 409. `application_time` includes submitted inputs, effective rates, reductions, manual mitigation claims, feature scope, feature counts, per-edge buffers, and product-specific buffer details. Requested field-boundary output is returned under `application_time.geometry` and is not retained in the saved assessment snapshot. Read `compliance.drift.status` for drift and `compliance.status` for the overall application assessment. `application_time.drift_status` repeats the drift result; `application_time.status` repeats the overall result. Runoff shortfalls and unresolved PULA restrictions can prevent an overall pass even when drift is `met`. | Drift status | Meaning | |---|---| | `met` | The supplied setup satisfies the configured drift rules and a treatable area has been calculated. Spray only within that area. A remaining buffer is a restriction to follow, not a failure. | | `not_met` | A known setup violation exists, such as droplets below the label minimum, a high boom where the rule requires low, a disallowed mitigation selection, or no treatable area remaining. Correct the setup and recompute. | | `indeterminate` | Required inputs or rules cannot be resolved, or a manual drift practice remains unverified. Read the issue codes. | | `not_applicable` | No drift requirement applies. | For an application-time assessment, `compliance.drift.scope` is `application_setup_and_treatable_area`. `requires_buffer` and `has_treatable_area` describe the calculated result; both are null when setup or rule resolution prevents calculation. A `met` result can have `requires_buffer: true`. It assesses your submitted setup and the calculated area; it does not certify where spraying actually occurred. Use `geometry: "both"` to receive the buffer and treatable area together. `geometry: "none"` only omits the field-boundary output; it still performs the calculation and returns the same status. If setup is invalid or required rules are unresolved, requested output conservatively marks the entire field as buffer with `treatable: null`. When the calculated buffer consumes the whole field, drift returns `not_met` with `NO_TREATABLE_AREA`. A successful calculation clears the generic `DRIFT_CONDITIONS_UNVERIFIED` issue. Specific issues remain: unknown products, missing required droplet/boom inputs, unresolved rate/wind tiers, unsupported omni-directional or downslope placement, and unverified manual practices prevent a drift pass. Rate-specific wind tiers take precedence over method-level tiers. Wind outside configured tiers returns `WIND_SPEED_UNRESOLVED`; the API does not infer an unconfigured wind limit. Temperature and humidity are recorded inputs, not currently evaluated label thresholds. ## Non-managed areas Some labels measure the drift buffer from a non-managed area, such as a wildlife area, wetland, or sensitive neighboring crop. For these rules, the field boundary always takes precedence. Any part of a non-managed area inside the field boundary is ignored, so an area that overlaps the field is treated as starting at the field edge. Each field edge facing the drift direction is then buffered inward by the buffer distance minus the gap to the area in front of it. Areas upwind of the field, beyond the buffer distance, or entirely inside the field boundary do not create a buffer. Set `include_non_managed_areas: true` to see which areas were considered. `application_time.non_managed_areas` is a GeoJSON `FeatureCollection` of the areas within about 1,000 ft (305 m) of the field that apply to a product with this kind of rule for your application method. Each area appears once, even when several products in the tank mix apply to it. The list shows every area evaluated, so an area can appear without changing the buffer. Like the field-boundary output, it is not retained in the saved assessment snapshot. | Property | Description | |---|---| | `feature_type` | Kind of area, such as `wetland` or `sensitive_crop` | | `source` | `protected_feature` for a mapped protected area, or `sensitive_field` for a nearby planted field with a sensitive crop | | `distance_m` | Shortest distance from the field boundary to the area, in meters; `0` when they touch or overlap | | `product_epas` | EPA registration numbers in the tank mix whose drift rules apply to this area | | `rules_matched` | Sensitivity rules matched for a `sensitive_field`; empty for protected features | `application_time.non_managed_feature_count` is always returned and counts the areas before they are combined across products. Protected features are read for each request so new nearby features can affect the result. Recompute after changing application conditions or mitigation selections. [Application compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/application-compliance) and [group compliance](https://docs.acreblitz.com/v2/api-reference/endpoint/group-compliance) expose the saved `drift.last_computation.drift_status`; those GETs do not run a new placement calculation. Older snapshots have a null `drift_status` until recomputed. The response also includes the refreshed `products[]` with each product's [PULA limitations](https://docs.acreblitz.com/v2/api-reference/endpoint/esa-check#product-pula-limitations) and the `summary` counts, in the same shape as an ESA check. Any matching limitation adds `LIMITATIONS_REVIEW_REQUIRED`, which keeps the overall `status` `indeterminate` even when drift is `met`. The first example shows selected response fields for an application with a remaining buffer, a treatable area, satisfied runoff, and no PULA limitations or other unresolved restrictions. The second shows `application_time.non_managed_areas` for an application near a wetland; the coordinates are shortened. ```bash cURL curl --request POST 'https://esa.acreblitz.com/api/v2/applications/019953f8-8c00-7000-8000-000000000002/drift-buffer/compute' \ --header "X-API-Key: $ACREBLITZ_API_KEY" \ --header 'Content-Type: application/json' \ --data '{ "wind_direction_deg": 180, "wind_speed_mph": 8, "temperature_f": 72, "humidity_percent": 55, "application_method": "Broadcast-Ground", "droplet_size": "VC", "boom_height": "low", "gpa": 15, "rate_updates": [ { "product_index": 0, "epa_number": "7969-500", "rate": 28, "rate_unit": "fl oz/ac", "rate_unit_state": "L" } ], "geometry": "both", "include_non_managed_areas": true }' ``` ```json 200 — selected response fields { "success": true, "application_event_id": "019953f8-8c00-7000-8000-000000000002", "application_time": { "checked_at": "2026-10-05T14:10:00.000Z", "status": "met", "drift_status": "met", "feature_scope": "global_only", "non_managed_feature_count": 0, "exclusion_feature_count": 0, "inputs": { "wind_direction_deg": 180, "wind_speed_mph": 8, "temperature_f": 72, "humidity_percent": 55, "application_method": "Broadcast-Ground", "droplet_size": "very_coarse", "boom_height": "low", "gpa": 15 } }, "products": [ { "epa_number": "7969-500", "product_name": "Liberty Ultra", "pest": ["Waterhemp"], "product_status": "Active", "esa_required": true, "pulas": [] } ], "summary": { "total_pulas": 0, "total_limitations": 0, "products_checked": 1, "products_with_limitations": 0 }, "compliance": { "version": 1, "scope": "requirements_and_gaps", "status": "met", "drift": { "status": "met", "scope": "application_setup_and_treatable_area", "requires_buffer": true, "has_treatable_area": true } } } ``` ```json 200 — non-managed areas { "application_time": { "non_managed_feature_count": 1, "non_managed_areas": { "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [[[-95.4041, 43.1018], [-95.3989, 43.1018], [-95.3989, 43.0991], [-95.4041, 43.0991], [-95.4041, 43.1018]]] }, "properties": { "feature_type": "wetland", "source": "protected_feature", "distance_m": 18.4, "product_epas": ["7969-500"], "rules_matched": [] } } ] } } } ``` ## Errors Endpoint-specific errors include `404 APPLICATION_NOT_FOUND`; `422 NO_FIELD_GEOMETRY`, `PRODUCT_MISMATCH`, `INVALID_APPLICATION`, or `UNSUPPORTED_APPLICATION_METHOD`; and `409 DUPLICATE_FIELD`, `FIELD_OWNERSHIP_CONFLICT`, `DUPLICATE_APPLICATION`, `APPLICATION_FIELD_CONFLICT`, `PROCESSING_CONFLICT`, `FIELD_CHANGED`, or `APPLICATION_CHANGED`. Signed portal setup can return `503 PORTAL_SAS_UNCONFIGURED`. See [assessment issues](https://docs.acreblitz.com/v2/errors#assessment-issue-codes) for unresolved conditions returned with HTTP 200. All routes can also return [authentication, validation, rate-limit, and dependency errors](https://docs.acreblitz.com/v2/errors#http-error-catalog). Use the [error catalog and examples](https://docs.acreblitz.com/v2/errors) to choose a retry or correction. Keep `X-Request-ID` when present.