Modify Strategy
Kick off strategy modification (Pillar 5 PR D — queue-offloaded).
Persists a StrategyBriefHistory row synchronously (brief + the
modification instructions, strategy_snapshot.status='generating')
so a Railway restart between enqueue and the LLM call cannot lose
the user’s instructions. The Strategy Briefs page reads this table;
the worker UPDATEs the same row when the LLM completes (filling in
strategy_file_id and a completion snapshot). Dedup on
brief_history_id mirrors strategy_generation so a re-click
while the worker is mid-run is suppressed.
Returns {job_id, status:"queued"}; client polls
GET /api/v1/jobs/{job_id} for completion.
Documentation Index
Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
Response
Successful Response