Skip to main content

Overview

Retrieves the status of required and optional credentials for a specific server in your stack. This helps you understand which credentials are already configured and which are missing.

Endpoint

Authentication

This endpoint requires an API key. Include it in the Authorization header:

Path Parameters

stack_id
string
required
The unique identifier of the stack containing the server
server_id
string
required
The unique identifier of the server to check credentials for

Response

required_credentials
object
Status of required credentials for this server
optional_credentials
object
Status of optional credentials for this server
all_credentials_added
boolean
Whether all required and optional credentials have been added
required_credentials_added
boolean
Whether all required credentials have been added

Example Request

Example Response

All Credentials Configured

Some Credentials Missing

No Credentials Configured

Understanding the Response

Status Values

  • “added”: The credential has been configured and is available for use
  • “missing”: The credential has not been configured yet

Boolean Flags

  • required_credentials_added: true if all required credentials are configured. Tools may not work properly if this is false.
  • all_credentials_added: true if both required and optional credentials are configured. This indicates full functionality is available.

Use Cases

Before Tool Usage

Check credential status before using tools to ensure they will work:

Configuration Validation

Verify credential setup after adding a server to a stack:

Monitoring and Alerts

Use this endpoint to monitor credential health across your stacks:

Error Responses

401 Unauthorized
Invalid or missing API key
404 Not Found
Stack, server, or server not found in stack
429 Too Many Requests
Rate limit exceeded
500 Internal Server Error
Server error occurred

Next Steps

After checking credentials status:
  1. Configure missing credentials: Use Update Credentials to add missing credentials
  2. Test functionality: Try invoking tools to ensure credentials work properly
  3. Monitor regularly: Check credentials status periodically to ensure they remain valid