Skip to main content
PATCH
/
api
/
v1
/
admin
/
strategy-output-specs
/
{slug}
Admin Update Strategy Output Spec
curl --request PATCH \
  --url https://api.example.com/api/v1/admin/strategy-output-specs/{slug} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "format_template": "<string>",
  "note": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Body

application/json

Partial update of a shared strategy_output_specs row.

format_template is the only field operators are expected to edit routinely — it carries the formatting rules that propagate to every team referencing this spec. Slug is intentionally not editable here: teams FK by slug-resolved id and renaming a slug would silently orphan team configs that point at this row.

name
string | null
Maximum string length: 255
description
string | null
Maximum string length: 2000
format_template
string | null
Maximum string length: 50000
note
string | null
Maximum string length: 500

Response

Successful Response