Codevisor Docs
Api reference

GET Agents Id

GET/v1/agents/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agents/string"
{  "agentId": "string",  "title": "string",  "state": "working",  "lastReply": "string",  "pendingQuestion": {    "sessionUpdate": "question",    "questionId": "string",    "message": "string",    "questions": [      {        "id": "string",        "header": "string",        "question": "string",        "options": [          {            "id": "string",            "label": "string",            "description": "string"          }        ],        "multiSelect": true,        "allowsOther": true,        "isSecret": true,        "isApproval": true,        "backOptionLabel": "string",        "presentation": "browserExtensionSetup",        "pluginSetup": {          "plugin": "string",          "catalogId": "string",          "serverId": "string",          "name": "string",          "publisher": "string",          "description": "string",          "reason": "string",          "auth": "none",          "capabilities": {            "tools": [              {                "name": "string",                "description": "string",                "effects": "read",                "app": true              }            ],            "events": [              {                "name": "string",                "description": "string"              }            ],            "skills": [              {                "name": "string",                "description": "string"              }            ],            "panes": [              {                "type": "string",                "title": "string",                "resourceUri": "string"              }            ],            "ingress": [              {                "name": "string",                "title": "string",                "route": "string"              }            ]          },          "machine": {            "id": "string",            "name": "string"          }        }      }    ],    "autoResolutionMs": 0  }}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}