Update a robot
Update a Robot's name, description, playbook, direct tools, or assigned Toolsets.
Update a Robot's name, description, playbook, direct tools, or assigned Toolsets.
storyden-session<token>robot_id*stringRobot ID
xidapplication/json- body
name?stringThe name of the robot
description?stringHuman-readable description of the robot's purpose
playbook?stringThe directive/system prompt that defines the robot's behavior
model?RobotModelRefFully-qualified Robot model reference in provider/model format.
^[^/]+/.+$workspace_id?|A unique identifier for this resource.
xidtools?array<string>A list of raw tool names contained by a Toolset.
toolsets?array<string>Reusable Toolset IDs assigned to a Robot.
meta?Arbitrary metadata for the resource.
Robot retrieved.
application/json- response
id*IdentifierA unique identifier for this resource.
xidcreatedAt*stringThe time the resource was created.
date-timeupdatedAt*stringThe time the resource was updated.
date-timedeletedAt?stringThe time the resource was soft-deleted.
date-timemisc?Arbitrary extra data stored with the resource.
name*stringThe name of the robot
description*stringHuman-readable description of the robot's purpose
playbook*stringThe directive/system prompt that defines the robot's behavior
model*RobotModelRefFully-qualified Robot model reference in provider/model format.
^[^/]+/.+$workspace_id?|Optional default workspace template for this robot.
xidauthor*A minimal reference to an account.
tools*array<string>A list of raw tool names contained by a Toolset.
toolsets*array<string>Reusable Toolset IDs assigned to a Robot.
meta?Arbitrary metadata for the resource.
curl -X PATCH 'https://example.com/api/robots/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "misc": {}, "name": "string", "description": "string", "playbook": "string", "model": "string", "workspace_id": null, "author": { "id": "string", "joined": "2019-08-24T14:15:22Z", "suspended": "2019-08-24T14:15:22Z", "handle": "string", "name": "string", "signature": "string", "roles": [ { "badge": true, "default": true, "id": "string", "name": "string", "colour": "string", "meta": {} } ] }, "tools": [ "string" ], "toolsets": [ "string" ], "meta": {}}