Documentation
GET /api/fix/mine
The state of a Fix run, or this account's Fix subscriptions.
| Request | GET /api/fix/mine |
|---|---|
| Authentication | Session cookie optional |
| Handler | backend/fixtool.py |
What it does
Serves the run's state, step and note while it is running, and the account's subscription list once one exists. `source` names the query behind the answer, so the reader can see where it came from.
Authentication
Session cookie optional. The endpoint answers with or without ff_session, but the body is scoped to the session when one is present.
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
ff_session | cookie | string | Optional | The session identifier. Omit it on the first call and store the value the response sets; every later call must send the same one or the engine treats the caller as a new visitor with no holds and no claims. |
Request
The cookie jar carries the session between calls. Angle-bracketed values are the parameter types from the table above.
curl -s -b cookies.txt -c cookies.txt \
"https://flowfinds.ai/api/fix/mine"const res = await fetch("https://flowfinds.ai/api/fix/mine", {
method: "GET",
credentials: "include",
});
const data = await res.json();import requests
s = requests.Session()
r = s.get("https://flowfinds.ai/api/fix/mine")
data = r.json()Recorded example
curl -s -b cookies.txt -c cookies.txt \
"$FLOWFINDS_ORIGIN/api/fix/mine"Responses
200 — A run is in progress.
| Field | Type | Description |
|---|---|---|
state | string | `running` by default. |
step | string | What the run is doing. |
note | string | Any note the run has emitted. |
url | string | `/fix/<token>`. |
200 — Subscriptions were read.
| Field | Type | Description |
|---|---|---|
status | string | `ok`. |
account | string | null | The account, or null. |
subscriptions | array | The account's Fix subscriptions. |
every_days | number | The recheck period. |
source | string | `GET /api/fix/mine → fix_subs`. |
Errors
| Status | Reason | When |
|---|---|---|
404 | not_found | No run or subscription matches. |
Related
POST /api/fix— Submit a store URL for repair.POST /api/fix/adopt— Attach a Fix run to this session.POST /api/fix/event— Record an event or a piece of feedback against a Fix run.
Back to the API reference index, or read the cookbook for recipes that compose this endpoint with others.