Skip to content

Read a provider

GET
/providers/{id}
curl --request GET \
--url https://api.canopyhq.dev/providers/example \
--header 'Authorization: Bearer <token>'
id
required

A provider’s name within its tenant.

string

The provider, by the name the tenant gave it.

The provider, without its secret.

Media typeapplication/json

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
Allowed values: simulated openrouter
Example
{
"kind": "simulated"
}

No console token, or one that did not verify.

The tenant keeps no provider by that name.