List the tenant's providers
GET
/providers
const url = 'https://api.canopyhq.dev/providers';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.canopyhq.dev/providers \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Every provider the tenant keeps, without secrets.
Media typeapplication/json
Array<object>
A provider as the console reads it: never its secret.
object
base_url
string | null
id
required
A provider’s name within its tenant.
string
kind
required
Which kind of provider, without where it is or what it dials with.
string
Example
[ { "kind": "simulated" }]No console token, or one that did not verify.