Storyden
Robots

Get a robot

Retrieve a specific Robot by its ID. Does not include any messages or sessions associated with the Robot, just provides metadata about it.

GET
/robots/{robot_id}

Retrieve a specific Robot by its ID. Does not include any messages or sessions associated with the Robot, just provides metadata about it.

Authorization

cookiestoryden-session<token>

Path Parameters

robot_id*string

Robot ID

Formatxid

Response Body

Robot retrieved.

application/json
  1. response
id*Identifier

A unique identifier for this resource.

Formatxid
createdAt*string

The time the resource was created.

Formatdate-time
updatedAt*string

The time the resource was updated.

Formatdate-time
deletedAt?string

The time the resource was soft-deleted.

Formatdate-time
misc?

Arbitrary extra data stored with the resource.

name*string

The name of the robot

description*string

Human-readable description of the robot's purpose

playbook*string

The directive/system prompt that defines the robot's behavior

model*RobotModelRef

Fully-qualified Robot model reference in provider/model format.

Match^[^/]+/.+$
workspace_id?|

Optional default workspace template for this robot.

Formatxid
author*

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.

Example Request
curl -X GET 'https://example.com/api/robots/string'
Example Response
{  "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": {}}