Set the limits of one API key or connected AI app (dashboard session only)

kind = key (an API key) or app (a connected AI app, as listed by GET /api/connected-apps). monthly_cap counts each network a post is sent or queued to through it, per UTC month; a network that fails is given back. networks / brand_ids: what it may post to (null = all). require_approval: every post from it waits for approval, whatever the brand's rules. An empty body removes the limits. Paid plans.

put/api/guardrails/{kind}/{id}

Request

  • Base URL: https://postwire.io
  • URL: https://postwire.io/api/guardrails/{kind}/{id}
  • Auth: HTTP bearer

Path parameters

kind'key' | 'app' required
idstring uuid required

Request body

monthly_capinteger nullable
networksstring[] nullable
brand_idsstring[] nullable
require_approvalboolean

Response

{ ok, subject: key|app, id, guard }

Changes

No recorded changes to this operation across all 1 revision of this API.