{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-auth-config-item-dto-paginated-response-schema.json",
  "title": "AuthConfigItemDtoPaginatedResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-auth-configs-api-openapi.yml#/components/schemas/AuthConfigItemDtoPaginatedResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Success status"
    },
    "message": {
      "type": "string",
      "description": "Response message"
    },
    "data": {
      "description": "Array of items",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Auth config ID"
          },
          "uuid": {
            "type": "string",
            "description": "Auth config UUID"
          },
          "type": {
            "enum": [
              "default",
              "custom"
            ],
            "type": "string",
            "description": "Auth config type"
          },
          "toolkit": {
            "type": "object",
            "properties": {
              "slug": {
                "type": "string",
                "description": "Toolkit slug"
              },
              "logo": {
                "type": "string",
                "description": "Toolkit logo URL"
              }
            },
            "required": [
              "slug",
              "logo"
            ]
          },
          "name": {
            "type": "string",
            "description": "Internal AuthConfig name (Composio sync id)"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional UI display label"
          },
          "authScheme": {
            "enum": [
              "OAUTH1",
              "OAUTH2",
              "S2S_OAUTH2",
              "API_KEY",
              "BASIC",
              "BEARER_TOKEN",
              "BILLCOM_AUTH",
              "GOOGLE_SERVICE_ACCOUNT",
              "NO_AUTH",
              "BASIC_WITH_JWT",
              "CALCOM_AUTH",
              "SERVICE_ACCOUNT",
              "SAML",
              "DCR_OAUTH",
              "COOKIE",
              "WHATSAPP_QR"
            ],
            "type": "string",
            "description": "Authentication scheme"
          },
          "provider": {
            "enum": [
              "COMPOSIO",
              "LOCAL"
            ],
            "type": "string",
            "description": "Provider (COMPOSIO or LOCAL)"
          },
          "externalId": {
            "type": "string",
            "description": "External ID from the provider"
          },
          "isProviderManaged": {
            "type": "boolean",
            "description": "Whether this auth is provider-managed (by Local or Composio)"
          },
          "credentials": {
            "type": "object",
            "description": "Credentials object",
            "additionalProperties": true
          },
          "proxyConfig": {
            "type": "object",
            "properties": {
              "proxyUrl": {
                "type": "string",
                "description": "Proxy URL"
              },
              "proxyAuthKey": {
                "type": "string",
                "description": "Proxy authentication key"
              }
            },
            "required": [
              "proxyUrl",
              "proxyAuthKey"
            ]
          },
          "status": {
            "enum": [
              "ENABLED",
              "DISABLED"
            ],
            "type": "string",
            "description": "Auth config status"
          },
          "createdBy": {
            "type": "string",
            "description": "Created by user"
          },
          "createdAt": {
            "type": "string",
            "description": "Creation timestamp"
          },
          "lastUpdatedAt": {
            "type": "string",
            "description": "Last updated timestamp"
          },
          "noOfConnections": {
            "type": "number",
            "description": "Number of connections"
          },
          "expectedInputFields": {
            "type": "array",
            "description": "Expected input fields",
            "items": {
              "type": "object"
            }
          },
          "restrictToFollowingTools": {
            "description": "Restricted tools",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "toolAccessConfig": {
            "type": "object",
            "properties": {
              "toolsForConnectedAccountCreation": {
                "description": "Tools for connected account creation",
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "toolsAvailableForExecution": {
                "description": "Tools available for execution",
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "deprecatedParams": {
            "type": "object",
            "properties": {
              "defaultConnectorId": {
                "type": "string",
                "description": "Default connector ID"
              },
              "memberUuid": {
                "type": "string",
                "description": "Member UUID"
              },
              "toolkitId": {
                "type": "string",
                "description": "Toolkit ID"
              },
              "expectedInputFields": {
                "type": "object",
                "description": "Expected input fields",
                "additionalProperties": true
              }
            }
          }
        },
        "required": [
          "id",
          "uuid",
          "type",
          "toolkit",
          "name",
          "authScheme",
          "provider",
          "isProviderManaged",
          "credentials",
          "proxyConfig",
          "status",
          "createdBy",
          "createdAt",
          "lastUpdatedAt",
          "noOfConnections",
          "expectedInputFields",
          "restrictToFollowingTools",
          "toolAccessConfig",
          "deprecatedParams"
        ]
      }
    },
    "total": {
      "type": "number",
      "description": "Total number of items across all pages"
    },
    "totalTools": {
      "type": "number",
      "description": "Optional secondary total (e.g. nested tools across all matching toolkits)"
    },
    "page": {
      "type": "number",
      "description": "Current page number (1-based)"
    },
    "limit": {
      "type": "number",
      "description": "Number of items per page"
    },
    "totalPages": {
      "type": "number",
      "description": "Total number of pages"
    },
    "hasNextPage": {
      "type": "boolean",
      "description": "Whether there is a next page"
    },
    "hasPreviousPage": {
      "type": "boolean",
      "description": "Whether there is a previous page"
    }
  },
  "required": [
    "success",
    "message",
    "data",
    "total"
  ]
}