{"type":"api","title":"List connections","meta":{"id":"/apps/pubhub/media/ai-defense-management-api/d3b44314f7a602e72dc489ab8b85a2f53f459453/d7b93e25-efa7-33ab-9da9-f5d2f6c07535","info":{"title":"API for Cisco AI Defense platform services","description":"API for Cisco AI Defense platform services","version":"1.4.0","contact":{"name":"API Support","url":"https://www.cisco.com/site/us/en/products/security/ai-defense/index.html"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"Policies","description":"API endpoints for AI Defense policy management"},{"name":"Applications","description":"API endpoints for AI Defense application management"},{"name":"Connections","description":"API endpoints for AI Defense connection management"},{"name":"Events","description":"API endpoints for AI Defense runtime events management"},{"name":"Runtime Profiles","description":"API endpoints for managing AI Defense profiles"},{"name":"AI Validation"},{"name":"AWS Credentials"},{"name":"Red Team"},{"name":"Scans"},{"name":"MCP Registry (Beta)"},{"name":"Resource Connections (Beta)","description":"API endpoints for AI Defense resource connection management"},{"name":"IdP Configs","description":"IdP configuration for JWT validation against an identity provider"},{"name":"OAuth Clients","description":"Reusable OAuth clients referenced by MCP servers for scanner and gateway authentication"},{"name":"Connectors","description":"API endpoints for AI Defense connector management"},{"name":"Skills (Beta)"}],"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"openapi":"3.0.0","servers":[{"url":"https://api.security.cisco.com/api/ai-defense/v1"}],"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","description":"API key for tenant authentication","name":"X-Cisco-AI-Defense-Tenant-API-Key","in":"header"}}},"spec":{"summary":"List connections","description":"Returns a paginated list of connections","operationId":"ConnectionsService_ListConnections","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","example":{"connections":{"items":[{"connection_id":"323e4567-e89b-12d3-a456-426614174333","connection_name":"OpenAI GPT-4 Connection","application_id":"123e4567-e89b-12d3-a456-426614174000","endpoint_id":"ee567-e89b-12d3-a456-426614174111","connection_status":"active","created_at":"2025-05-01T00:00:00Z","updated_at":"2025-05-10T00:00:00Z"},{"connection_id":"323e4567-e89b-12d3-a456-426614174334","connection_name":"Anthropic Claude Connection","application_id":"223e4567-e89b-12d3-a456-426614174001","endpoint_id":"ee567-e89b-12d3-a456-426614174222","connection_status":"active","created_at":"2025-05-02T00:00:00Z","updated_at":"2025-05-12T00:00:00Z"}],"paging":{"offset":0,"count":2,"total":8}}},"properties":{"connections":{"type":"object","example":{"items":[{"connection_id":"323e4567-e89b-12d3-a456-426614174333","connection_name":"OpenAI GPT-4 Connection"},{"connection_id":"323e4567-e89b-12d3-a456-426614174334","connection_name":"Anthropic Claude Connection"}],"paging":{"offset":0,"count":2,"total":15}},"properties":{"items":{"type":"array","items":{"type":"object","example":{"connection_id":"323e4567-e89b-12d3-a456-426614174333","connection_name":"OpenAI GPT-4 Connection","application_id":"123e4567-e89b-12d3-a456-426614174000","endpoint_id":"ee567-e89b-12d3-a456-426614174111","connection_status":"Connected","created_at":"2025-05-01T00:00:00Z","updated_at":"2025-05-10T00:00:00Z"},"properties":{"connection_id":{"type":"string","title":"Connection ID","description":"Connection ID"},"connection_name":{"type":"string","title":"Connection name","description":"Connection name"},"application_id":{"type":"string","title":"Application ID","description":"Application ID"},"endpoint_id":{"type":"string","title":"Endpoint ID","description":"Endpoint ID"},"connection_status":{"type":"string","enum":["ConnectionStatusUnspecified","Connected","Disconnected","Pending"],"default":"ConnectionStatusUnspecified","title":"ConnectionStatus","description":"Schema for ConnectionStatus","$$ref":"#/components/schemas/ConnectionStatus"},"created_at":{"type":"string","format":"date-time","title":"Created timestamp","description":"Created timestamp"},"last_active":{"type":"string","format":"date-time","title":"Last active timestamp","description":"Last active timestamp"},"updated_at":{"type":"string","format":"date-time","title":"Updated timestamp","description":"Updated timestamp"},"updated_by":{"type":"string","title":"Backward compatibility field containing user's full name","description":"Backward compatibility field containing user's full name"},"application":{"$ref":"#/components/schemas/Application","$$ref":"#/components/schemas/Application"},"policies":{"type":"object","example":{"items":[{"policy_id":"550e8400-e29b-41d4-a716-446655440000","policy_name":"Secure Access Policy"},{"policy_id":"660e8400-e29b-41d4-a716-446655440001","policy_name":"Data Privacy Policy"}],"paging":{"offset":0,"count":2,"total":10}},"properties":{"items":{"type":"array","items":{"type":"object","example":{"policy_id":"550e8400-e29b-41d4-a716-446655440000","policy_name":"Secure Access Policy","description":"Policy for securing GenAI access","status":"active","connection_type":"CONNECTION_TYPE_API","language_type":"English","created_at":"2025-04-01T00:00:00Z","updated_at":"2025-05-05T00:00:00Z"},"properties":{"policy_id":{"type":"string","description":"The policy_id string"},"policy_name":{"type":"string","description":"The policy_name string"},"description":{"type":"string","description":"The description string"},"status":{"type":"string","description":"The status string"},"connection_type":{"type":"string","default":"Unspecified","title":"ConnectionType","x-extensible-enum":["Unspecified","API","Gateway","MCPGateway","MCPAPI","DefenseClaw","GCP_AGENT_GATEWAY","AnthropicClaudeEnterprise"],"description":"ConnectionType"},"updated_at":{"type":"string","format":"date-time","description":"The updated_at string"},"created_at":{"type":"string","format":"date-time","description":"The created_at string"},"language_type":{"type":"string","description":"The language_type string"},"updated_by":{"type":"string","title":"Backward compatibility field containing user's full name","description":"Backward compatibility field containing user's full name"},"guardrails":{"type":"object","example":{"items":[{"guardrails_type":"Security","items":[{"ruleset_type":"Prompt Injection","status":"Enabled","direction":"Prompt","action":"Block","entity":{"name":"Email Address","desc":"Email address of the user"}}]}],"paging":{"offset":0,"count":3,"total":3}},"properties":{"items":{"type":"array","items":{"type":"object","example":{"guardrails_type":"Security","items":[{"ruleset_type":"Prompt Injection","status":"Enabled","direction":"Prompt","action":"Block","entity":{"name":"Email Address","desc":"Email address of the user"}}],"paging":{"offset":0,"count":3,"total":3}},"properties":{"guardrails_type":{"type":"string","enum":["GuardrailTypeUnspecified","Security","Privacy","Safety"],"default":"GuardrailTypeUnspecified","title":"GuardrailType","description":"Schema for GuardrailType","$$ref":"#/components/schemas/GuardrailType"},"items":{"type":"array","items":{"type":"object","example":{"ruleset_type":"Prompt Injection","status":"Enabled","direction":"Prompt","action":"Block","entity":{"name":"Email Address","desc":"Email address of the user"}},"properties":{"ruleset_type":{"type":"string","title":"e.g., \"Prompt Injection\", \"PII\"","description":"e.g., \"Prompt Injection\", \"PII\""},"status":{"type":"string","enum":["RuleStatusUnspecified","Enabled","Disabled"],"default":"RuleStatusUnspecified","title":"RuleStatus","description":"Schema for RuleStatus","$$ref":"#/components/schemas/RuleStatus"},"direction":{"type":"string","enum":["DirectionUnspecified","Prompt","Response","Both"],"default":"DirectionUnspecified","title":"Direction","description":"Schema for Direction","$$ref":"#/components/schemas/Direction"},"action":{"type":"string","enum":["ActionUnspecified","Block","Allow","Redact"],"default":"ActionUnspecified","title":"Action","description":"Schema for Action","$$ref":"#/components/schemas/Action"},"entity":{"type":"object","example":{"name":"Email Address","desc":"Email address of the user"},"properties":{"name":{"type":"string","title":"e.g., \"Email Address\"","description":"e.g., \"Email Address\""},"desc":{"type":"string","title":"e.g., \"Email address of the user\"","description":"e.g., \"Email address of the user\""}},"description":"Entity information","title":"Entity","$$ref":"#/components/schemas/Entity"}},"description":"Guardrail rule information","title":"GuardrailRule","$$ref":"#/components/schemas/GuardrailRule"},"title":"Nested entity associations","description":"Nested entity associations"},"paging":{"type":"object","example":{"offset":0,"count":10,"total":50},"properties":{"offset":{"type":"integer","format":"int64","title":"the offset from which the list starts","description":"the offset from which the list starts"},"count":{"type":"integer","format":"int64","title":"the number of items in the list","description":"the number of items in the list"},"total":{"type":"integer","format":"int64","title":"the total number of items in the backend","description":"the total number of items in the backend"}},"description":"Pagination details","title":"Paging","$$ref":"#/components/schemas/Paging"}},"description":"Guardrail information","title":"Guardrail","$$ref":"#/components/schemas/Guardrail"},"title":"Nested entity associations","description":"Nested entity associations"},"paging":{"type":"object","example":{"offset":0,"count":10,"total":50},"properties":{"offset":{"type":"integer","format":"int64","title":"the offset from which the list starts","description":"the offset from which the list starts"},"count":{"type":"integer","format":"int64","title":"the number of items in the list","description":"the number of items in the list"},"total":{"type":"integer","format":"int64","title":"the total number of items in the backend","description":"the total number of items in the backend"}},"description":"Pagination details","title":"Paging","$$ref":"#/components/schemas/Paging"}},"description":"List of guardrails","title":"Guardrails","$$ref":"#/components/schemas/Guardrails"}},"description":"Policy information","title":"Policy","$$ref":"#/components/schemas/Policy"},"title":"List of policies","description":"List of policies"},"paging":{"type":"object","example":{"offset":0,"count":10,"total":50},"properties":{"offset":{"type":"integer","format":"int64","title":"the offset from which the list starts","description":"the offset from which the list starts"},"count":{"type":"integer","format":"int64","title":"the number of items in the list","description":"the number of items in the list"},"total":{"type":"integer","format":"int64","title":"the total number of items in the backend","description":"the total number of items in the backend"}},"description":"Pagination details","title":"Paging","$$ref":"#/components/schemas/Paging"}},"description":"List of policies","title":"Policies","$$ref":"#/components/schemas/Policies"},"endpoint":{"type":"object","example":{"endpoint_id":"ee567-e89b-12d3-a456-426614174111","model_endpoint_type":"openai","model_endpoint_url":"https://api.openai.com/v1","model_provider_name":"OpenAI"},"properties":{"endpoint_id":{"type":"string","description":"The endpoint_id string"},"model_endpoint_type":{"type":"string","description":"The model_endpoint_type string"},"model_endpoint_url":{"type":"string","description":"The model_endpoint_url string"},"model_provider_name":{"type":"string","description":"The model_provider_name string"}},"description":"Endpoint details","title":"Endpoint","$$ref":"#/components/schemas/Endpoint"},"models":{"type":"object","example":{"model_name":["gpt-4","claude-3-sonnet","llama-3-8b"]},"properties":{"model_name":{"type":"array","items":{"type":"string"},"title":"List of models","description":"List of models"}},"description":"Model names","title":"Models","$$ref":"#/components/schemas/Models"},"connector_details":{"type":"object","properties":{"connector_id":{"type":"string","title":"Connector ID","description":"Connector ID"},"connector_name":{"type":"string","title":"Connector name","description":"Connector name"},"connector_version":{"type":"string","title":"Connector version","description":"Connector version"}},"description":"Schema for ConnectorDetails","title":"ConnectorDetails","$$ref":"#/components/schemas/ConnectorDetails"},"connection_subtype":{"type":"string","enum":["CONNECTION_SUBTYPE_UNSPECIFIED","ONE_SHOT","EVENT_STREAM"],"default":"CONNECTION_SUBTYPE_UNSPECIFIED","description":"ConnectionSubtype selects the API integration mode. It applies to API connections.","title":"ConnectionSubtype","$$ref":"#/components/schemas/ConnectionSubtype"}},"description":"Connection details","title":"Connection","$$ref":"#/components/schemas/Connection"},"title":"List of connections","description":"List of connections"},"paging":{"type":"object","example":{"offset":0,"count":10,"total":50},"properties":{"offset":{"type":"integer","format":"int64","title":"the offset from which the list starts","description":"the offset from which the list starts"},"count":{"type":"integer","format":"int64","title":"the number of items in the list","description":"the number of items in the list"},"total":{"type":"integer","format":"int64","title":"the total number of items in the backend","description":"the total number of items in the backend"}},"description":"Pagination details","title":"Paging","$$ref":"#/components/schemas/Paging"}},"description":"List of connections","title":"Connections","$$ref":"#/components/schemas/Connections"}},"description":"Response message for listing connections","title":"ListConnectionsResponse","$$ref":"#/components/schemas/ListConnectionsResponse"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","description":"The code integer"},"message":{"type":"string","description":"The message string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","description":"The @type string"}},"additionalProperties":true,"description":"Contains additional error details specific to the operation","title":"AdditionalErrorDetails","$$ref":"#/components/schemas/AdditionalErrorDetails"},"description":"The details array"}},"description":"Details about API errors including code, message, and additional details","example":{"code":13,"message":"Internal","details":[]},"title":"ErrorDetails","$$ref":"#/components/schemas/ErrorDetails"}}}}},"parameters":[{"name":"limit","description":"Number of records to retrieve, default and max value is 100 (optional)","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"offset","description":"Offset for pagination (optional)","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"expanded","description":"Whether to expand connections (optional)","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"sort_by","description":"Field name to sort the connections returned by","in":"query","required":false,"schema":{"type":"string","enum":["ConnectionSortBy_Unspecified","connection_name","status","last_active","created_at"],"default":"ConnectionSortBy_Unspecified"}},{"name":"order","description":"Sort order of the connections returned","in":"query","required":false,"schema":{"type":"string","enum":["SortOrder_Unspecified","asc","desc"],"default":"SortOrder_Unspecified"}},{"name":"connection_type","description":"Filter by connection type","in":"query","required":false,"schema":{"type":"string","enum":["Unspecified","API","Gateway","MCPGateway","MCPAPI","DefenseClaw","GCP_AGENT_GATEWAY","AnthropicClaudeEnterprise"],"default":"Unspecified"}},{"name":"connection_status","description":"Filter by connection status","in":"query","required":false,"schema":{"type":"string","enum":["ConnectionStatusUnspecified","Connected","Disconnected","Pending"],"default":"ConnectionStatusUnspecified"}},{"name":"policy_applied","description":"Filter by policy assignment status","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"connection_name","description":"search by connection name","in":"query","required":false,"schema":{"type":"string"}}],"tags":["Connections"],"__originalOperationId":"ConnectionsService_ListConnections","security":[{"ApiKeyAuth":[]}],"method":"get","path":"/connections"}}