Autenticazione
Invia una chiave API come token di tipo bearer. La chiave deve disporre dell'autorizzazione mcp.manage; una chiave sprovvista di tale autorizzazione viene rifiutata con 403 anziché 404.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X GET https://api.zinndigital.com/v1/mcp/scopes \
-H "Authorization: Bearer zdk_live_…"Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
The RBAC permissions an MCP connection can usefully be granted, **derived from the registered tool set** rather than listed by hand, with the number of tools each one unlocks and how many of those are destructive. `held` says whether the caller can actually grant it — a connection can never out-scope its creator, so an unheld scope would be refused with a `403` at create time. Read-only scopes are returned first. Requires `mcp.manage`.
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
items | McpGrantableScope[] | Sì | — |
Errori che questo endpoint può restituire
401 · 403 · 429