> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atomscale.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get All OES Results

> Retrieve all OES spectra for a data entry

Returns every processed OES result associated with a data entry. Use this for multi-spectrum captures (for example, NetCDF files that hold several spectra), where `GET /oes/{data_id}` returns only the latest result.

<ParamField path="data_id" type="string" required>
  The data entry UUID for the OES measurement
</ParamField>

<ParamField query="limit" type="integer" default="100">
  Maximum number of results to return (1–1000)
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Number of results to skip for pagination
</ParamField>

## Response

Returns an array of OES result objects, ordered oldest to newest. Each object has the same shape as the [Get OES Data](/api-reference/oes/get) response.

<RequestExample>
  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.atomscale.ai/oes/d290f1ee-6c54-4b01-90e6-d701748f0851/all",
      headers={"X-API-KEY": "YOUR_API_KEY"},
      params={"limit": 100, "offset": 0}
  )
  oes_results = response.json()
  ```

  ```bash cURL theme={null}
  curl "https://api.atomscale.ai/oes/d290f1ee-6c54-4b01-90e6-d701748f0851/all?limit=100" \
    -H "X-API-KEY: YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "data_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "id": "oes_001",
      "wavelengths": [400.0, 400.5, 401.0, 401.5],
      "wavelength_unit": "nm",
      "sample": [1200, 1350, 4100, 1280],
      "reference": [1100, 1150, 1180, 1120],
      "dark": [50, 52, 51, 49],
      "scope_corrected": [1150, 1298, 4049, 1231],
      "spectrum_type": "sample",
      "detected_peaks": [
        {"peak_id": "p1", "wavelength_nm": 401.0, "element": "Ga"}
      ],
      "constraint_mode": "auto",
      "constrained_elements": null,
      "spectral_metadata": {},
      "last_updated": "2024-01-15T10:35:00Z"
    }
  ]
  ```
</ResponseExample>
