Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Shashank-H/gaiter-gaurd/llms.txt
Use this file to discover all available pages before exploring further.
All service endpoints require authentication via Bearer token.
List services
Retrieve all API services configured for the authenticated user.Headers
Bearer token for authentication. Format:
Bearer <jwt>Response
Returns an array of service objects.Status codes
200- Services retrieved successfully401- Unauthorized (missing or invalid token)500- Internal server error
Create service
Create a new service with encrypted credentials.Headers
Bearer token for authentication. Format:
Bearer <jwt>Request body
Service name (1-255 characters).
Base URL for the service API. Must be a valid URL (max 512 characters).
Authentication type. Must be one of:
api_key, bearer, basic, oauth2.Key-value pairs of credential names and values. At least one credential is required. Values are encrypted before storage.
Response
Unique service identifier.
Owner user ID.
Service name.
Base URL for the service API.
Authentication type.
Object containing credential keys (values are masked).
ISO 8601 timestamp of service creation.
ISO 8601 timestamp of last update.
Status codes
201- Service created successfully400- Validation error (invalid request body)401- Unauthorized (missing or invalid token)500- Internal server error
Get service
Retrieve a single service by ID. Ownership is verified.Headers
Bearer token for authentication. Format:
Bearer <jwt>Path parameters
Service ID.
Response
Unique service identifier.
Owner user ID.
Service name.
Base URL for the service API.
Authentication type.
Object containing credential keys (values are masked).
ISO 8601 timestamp of service creation.
ISO 8601 timestamp of last update.
Status codes
200- Service retrieved successfully400- Invalid service ID401- Unauthorized (missing or invalid token)404- Service not found500- Internal server error
Update service
Update service details (name, baseUrl, or authType). To update credentials, use the credentials endpoint.Headers
Bearer token for authentication. Format:
Bearer <jwt>Path parameters
Service ID.
Request body
Service name (1-255 characters). Optional.
Base URL for the service API. Must be a valid URL (max 512 characters). Optional.
Authentication type. Must be one of:
api_key, bearer, basic, oauth2. Optional.At least one field must be provided for update.
Response
Returns the updated service object.Status codes
200- Service updated successfully400- Validation error (invalid service ID or request body)401- Unauthorized (missing or invalid token)404- Service not found500- Internal server error
Delete service
Delete a service. This cascades to delete all associated credentials and documentation.Headers
Bearer token for authentication. Format:
Bearer <jwt>Path parameters
Service ID.
Response
Success message confirming deletion.
Status codes
200- Service deleted successfully400- Invalid service ID401- Unauthorized (missing or invalid token)404- Service not found500- Internal server error
Update credentials
Replace all credentials for a service. Existing credentials are deleted and replaced with the new ones.Headers
Bearer token for authentication. Format:
Bearer <jwt>Path parameters
Service ID.
Request body
Key-value pairs of credential names and values. At least one credential is required. All values are encrypted before storage.
Response
Success message confirming credential update.
Array of credential key names that were stored.
Status codes
200- Credentials updated successfully400- Validation error (invalid service ID or request body)401- Unauthorized (missing or invalid token)404- Service not found500- Internal server error