Skip to content

docs: require control data in create examples#32

Open
lan17 wants to merge 1 commit intomainfrom
fix/control-create-docs
Open

docs: require control data in create examples#32
lan17 wants to merge 1 commit intomainfrom
fix/control-create-docs

Conversation

@lan17
Copy link
Contributor

@lan17 lan17 commented Mar 20, 2026

Summary

  • update control creation examples to send name and data in the initial PUT /api/v1/controls
  • fix the server API reference and testing snippet to reflect that data is required on create
  • update the TypeScript SDK quickstart to show atomic control creation

Context

PUT /api/v1/controls now requires data, so the old docs that taught a shell-create followed by PUT /api/v1/controls/{control_id}/data were stale.

PUT /api/v1/controls/{control_id}/data is still documented, but now as an update path for existing controls rather than the primary create flow.

Validation

  • npm run build

@mintlify
Copy link

mintlify bot commented Mar 20, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
agentcontrol 🟢 Ready View Preview Mar 20, 2026, 10:24 PM

@github-actions
Copy link

Card links check

✅ No broken Card links found. Checked external links in 0.4s

@github-actions
Copy link

✅ Markdown Lint Passed

All markdown files meet the linting standards! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant