Admin Update Team Strategy Config
Update a team’s strategy generation template + output spec FK.
Both fields are independently clearable (empty string → NULL). Spec is referenced by slug from the UI; the route resolves it to an id. Unknown slugs return 400 — fail fast rather than silently setting NULL on a typo.
Invalidates the team_type_service cache so the next strategy run picks up the change without a process restart.
Audit-logged with action team.strategy_config_update.
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
Partial update of a team's strategy-generation config.
Both fields are optional (partial update) and clearable:
- Empty string on
strategy_generation_templateclears it (NULL), letting the loader fall back to the on-disk file or generic spec. - Empty string on
strategy_output_spec_slugclears the FK.
The spec is referenced by slug rather than UUID so the admin UI can use a stable, human-readable handle. The route resolves the slug to an id on the way in.
Response
Successful Response