Gatana logoGatana Docs
RoutesMcp serversServerslugCredentialsProfileProfileidApikeys

/mcp-servers/{serverSlug}/credentials/profile/{profileId}/apikeys

Get the plaintext API keys of the profile-scoped credentials of an MCP server. Only usable if the server uses API key authorization

GET
/mcp-servers/{serverSlug}/credentials/profile/{profileId}/apikeys
AuthorizationBearer <token>

In: header

Path Parameters

serverSlug*string
Length1 <= length
profileId*string
Length1 <= length

Response Body

application/json

curl -X GET "https://YOUR_ORG_ID.gatana.ai/api/v1/mcp-servers/string/credentials/profile/string/apikeys"
{
  "apikeys": [
    [
      "string",
      "string"
    ]
  ]
}