Codevisor Docs
Api reference

POST Bots

POST/v1/bots

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

id?string|null
name*string
symbolName*string
mascot?|null
harnessId*string
configSelections?|null
projectIds*array<string>

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/bots" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "symbolName": "string",    "harnessId": "string",    "projectIds": [      "string"    ]  }'
{  "id": "string",  "serverId": "string",  "name": "string",  "symbolName": "string",  "mascot": {    "color": "string",    "hat": "string",    "hatColor": "string",    "eyewear": "string",    "eyewearColor": "string"  },  "harnessId": "string",  "configSelections": {    "property1": "string",    "property2": "string"  },  "projectId": "string",  "sessionId": "string",  "workspaceId": "string",  "rootPath": "string",  "projects": [    {      "projectId": "string",      "folderName": "string",      "branch": "string",      "path": "string"    }  ],  "isArchived": true,  "archivedAt": "string",  "createdAt": "string",  "updatedAt": "string",  "about": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}