v1
protected
agents
Create Agent
Changed onCreate a new agent, and the triggers that start it, in one request.
Every trigger is checked before anything is written. If creating one still fails, the triggers already made and the agent are removed again, so the caller never ends up with an agent that silently lacks a schedule or channel.
post/v1/workspaces/{workspace}/agents/
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Slug of the workspace the request acts in
Request body
Response
Successful Response
Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
///// - info
added the optional property
//////to the response with the status
- info