mcp

GET /v1/mcp/connections/{connectionId}

Get an MCP connection.

ყველა mcp ენდპოინტი

ავტორიზაცია

API გასაღები გაგზავნეთ როგორც bearer token. ეს ენდპოინტი სპეციფიკაციაში არ მიუთითებს კონკრეტულ ნებართვას, ამიტომ მიანიჭეთ თქვენს გასაღებს მინიმალური საჭირო უფლებები და ვარაუდის ნაცვლად შეამოწმეთ პასუხი.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/mcp/connections/{connectionId} \
  -H "Authorization: Bearer zdk_live_…"

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში

დეტალები

Returns one non-revoked connection's metadata (never the token). RBAC + RLS scoped.

პარამეტრები

სახელიტიპისავალდებულორა არის ეს
connectionId (path)UuidდიახThe MCP connection's id.

პასუხი

სახელიტიპისავალდებულორა არის ეს
idUuidდიახUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringდიახ
clientMcpClientდიახThe AI client a connection is for (informational).
prefixstringდიახThe token's public lookup prefix (not a secret).
scopesstring[]დიახThe RBAC permission keys this connection's token may exercise.
sandboxbooleanდიახ
spend_cap_minorinteger | nullარაOptional per-window budget (integer minor units, CLAUDE.md §2.8) for AI-triggered paid actions. Null = no cap.
spend_currencyCurrencyCodeარაISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
spend_window_secondsintegerდიახThe rolling window the spend cap applies over.
last_used_atstring | nullარა
revoked_atstring | nullარა
created_atstringდიახ

შეცდომები, რომლებიც ამ ენდპოინტს შეუძლია დააბრუნოს

401 · 403 · 404 · 429