Edit an agent
POST/rest/api/v1/agents/:agent_id
beta
This endpoint is in Beta. Expect changes and instability.
Creates a draft or publishes an agent. Use isDraft=true to save a draft, or isDraft=false (or omit) to publish immediately. Only draft and publish modes are supported.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Success
Bad request
Not Authorized
Forbidden
Not Found
Internal server error