Codevisor Docs
Api reference

GET Harnesses Opencode Accounts AccountId Providers

GET/v1/harnesses/opencode/accounts/{accountId}/providers

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

accountId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/harnesses/opencode/accounts/string/providers"
[  {    "id": "string",    "name": "string",    "methods": [      {        "id": "string",        "type": "api",        "label": "string",        "prompts": [          {            "type": "text",            "key": "string",            "message": "string",            "placeholder": "string",            "options": [              {                "value": "string",                "label": "string",                "hint": "string"              }            ],            "when": {              "key": "string",              "op": "eq",              "value": "string"            }          }        ]      }    ],    "credentialType": "api"  }]
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}