Skip to navigation

Attach an action

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
model_idstringRequired
The ID of the agent you want to attach an action to.
actionslist of stringsOptional
To find an action's ID, go to its page in your Synthflow dashboard.
itemslist of objectsOptional

Actions to attach, each with its own configuration. An agent holds one attachment per action and attachment_type, and sending the same pair again updates that attachment.

Response

200
statusstringOptional
responseobjectOptional

Errors

400
Bad Request Error