---
title: "Discover Env"
method: POST
path: "/model/{env}/discover"
---

# Discover Env

`POST /model/{env}/discover`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/model/{env}/discover`
- Auth: none declared

Phase 3 rung 1 — mine the env's OWN events over a window into a friction-
ranked automation backlog (recurring high-friction processes worth automating
first). Read-only; the register side already exists (POST .../processes).

## Path parameters

- `env` string, required

## Request body

- DiscoverRequest: Phase 3 rung 1 — mine an env's own events into a friction-ranked automation backlog. Read-only; window-bounded.
  - `since_days` integer
  - `max_events` integer
  - `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
