MCP Tools
get_auth
Reads the auth a request, folder, collection or workspace sets.
Overview
get_auth returns the auth one level sets, as Relay stores it, and the auth that applies there after inheritance. Give requestId, folderId or collectionId, global, or none of them for the workspace's own auth.
Credentials appear only when they're {{variable}} references. Any other credential appears as [secret].
{
"requestId": "5B2C8E41-9D3A-4F67-B0E8-1A4C7D2F6E95"
}Parameters
Prop
Type
Return Value
{
"level": "request",
"id": "5B2C8E41-9D3A-4F67-B0E8-1A4C7D2F6E95",
"name": "Create Order",
"auth": "inherit",
"effective": "Bearer Token",
"effectiveFrom": "collection"
}auth is "inherit", "none" or an object with one key, the auth type, as set_auth takes it. effective names the auth that applies, and effectiveFrom the level it comes from when this one inherits.
See Also
- set_auth: Sets the auth of a request, folder, collection or workspace.
- list_variables: Lists variables by scope, with secret values hidden.