{
  "service": "anthropic_admin",
  "displayName": "Anthropic Admin",
  "categories": [
    "AI"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "Admin API Key",
      "placeholder": "ANTHROPIC_ADMIN_KEY",
      "description": "Anthropic Admin API key sent with the x-api-key header. Create or manage Admin keys in the Anthropic Console: https://console.anthropic.com/settings/admin-keys.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://www.anthropic.com",
  "actions": [
    {
      "id": "anthropic_admin.get_organization",
      "service": "anthropic_admin",
      "name": "get_organization",
      "description": "Retrieve the Anthropic organization associated with the Admin API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for retrieving the Anthropic organization."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The Anthropic organization identifier."
          },
          "type": {
            "type": "string",
            "description": "The object type returned by Anthropic."
          },
          "name": {
            "type": "string",
            "description": "The organization display name."
          }
        },
        "additionalProperties": true,
        "description": "An Anthropic organization object."
      }
    },
    {
      "id": "anthropic_admin.list_api_keys",
      "service": "anthropic_admin",
      "name": "list_api_keys",
      "description": "List Anthropic API keys in the organization, optionally filtered by workspace.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "minLength": 1,
            "description": "Only return API keys belonging to this workspace."
          },
          "before_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return API keys before this API key identifier."
          },
          "after_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return API keys after this API key identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The maximum number of API keys to return."
          }
        },
        "additionalProperties": false,
        "description": "The filters and pagination parameters for listing Anthropic API keys."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Anthropic API key identifier."
                },
                "type": {
                  "type": "string",
                  "description": "The object type returned by Anthropic."
                },
                "name": {
                  "type": "string",
                  "description": "The API key display name."
                },
                "partial_key_hint": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Anthropic."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string",
                  "description": "The date and time when the API key was created.",
                  "format": "date-time"
                },
                "created_by": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The actor identifier."
                    },
                    "type": {
                      "type": "string",
                      "description": "The actor object type."
                    }
                  },
                  "additionalProperties": true,
                  "description": "The Anthropic actor that created a resource."
                },
                "workspace_id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Anthropic."
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "An Anthropic Admin API key object."
            },
            "description": "The Anthropic API keys returned in this page."
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether more results are available after this page."
          },
          "first_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The first object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          },
          "last_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The last object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The response payload for listing Anthropic API keys."
      }
    },
    {
      "id": "anthropic_admin.list_invites",
      "service": "anthropic_admin",
      "name": "list_invites",
      "description": "List pending or historical Anthropic organization invites.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "before_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return objects before this object identifier."
          },
          "after_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return objects after this object identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The maximum number of objects to return."
          }
        },
        "additionalProperties": false,
        "description": "Cursor pagination parameters for Anthropic Admin API list endpoints."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Anthropic invite identifier."
                },
                "type": {
                  "type": "string",
                  "description": "The object type returned by Anthropic."
                },
                "email": {
                  "type": "string",
                  "description": "The invited email address."
                },
                "role": {
                  "type": "string",
                  "description": "The organization role assigned by the invite."
                },
                "status": {
                  "type": "string",
                  "description": "The invite status."
                },
                "expires_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The RFC 3339 timestamp returned by Anthropic when available.",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": true,
              "description": "An Anthropic organization invite object."
            },
            "description": "The Anthropic invites returned in this page."
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether more results are available after this page."
          },
          "first_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The first object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          },
          "last_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The last object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The response payload for listing Anthropic invites."
      }
    },
    {
      "id": "anthropic_admin.list_users",
      "service": "anthropic_admin",
      "name": "list_users",
      "description": "List users in the Anthropic organization with cursor pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "before_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return objects before this object identifier."
          },
          "after_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return objects after this object identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The maximum number of objects to return."
          }
        },
        "additionalProperties": false,
        "description": "Cursor pagination parameters for Anthropic Admin API list endpoints."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Anthropic user identifier."
                },
                "type": {
                  "type": "string",
                  "description": "The object type returned by Anthropic."
                },
                "email": {
                  "type": "string",
                  "description": "The user's email address."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Anthropic."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "role": {
                  "type": "string",
                  "description": "The user's organization role."
                }
              },
              "additionalProperties": true,
              "description": "An Anthropic organization user object."
            },
            "description": "The Anthropic users returned in this page."
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether more results are available after this page."
          },
          "first_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The first object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          },
          "last_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The last object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The response payload for listing Anthropic users."
      }
    },
    {
      "id": "anthropic_admin.list_workspace_members",
      "service": "anthropic_admin",
      "name": "list_workspace_members",
      "description": "List members of one Anthropic workspace with cursor pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Anthropic workspace identifier."
          },
          "before_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return members before this member identifier."
          },
          "after_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return members after this member identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The maximum number of members to return."
          }
        },
        "additionalProperties": false,
        "required": [
          "workspace_id"
        ],
        "description": "The input payload for listing Anthropic workspace members."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Anthropic user identifier."
                },
                "type": {
                  "type": "string",
                  "description": "The object type returned by Anthropic."
                },
                "email": {
                  "type": "string",
                  "description": "The member email address."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The string value returned by Anthropic."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "workspace_role": {
                  "type": "string",
                  "description": "The user's role in the workspace."
                }
              },
              "additionalProperties": true,
              "description": "An Anthropic workspace member object."
            },
            "description": "The Anthropic workspace members returned in this page."
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether more results are available after this page."
          },
          "first_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The first object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          },
          "last_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The last object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The response payload for listing Anthropic workspace members."
      }
    },
    {
      "id": "anthropic_admin.list_workspaces",
      "service": "anthropic_admin",
      "name": "list_workspaces",
      "description": "List Anthropic workspaces in the organization with cursor pagination.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "before_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return objects before this object identifier."
          },
          "after_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return objects after this object identifier."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "description": "The maximum number of objects to return."
          }
        },
        "additionalProperties": false,
        "description": "Cursor pagination parameters for Anthropic Admin API list endpoints."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Anthropic workspace identifier."
                },
                "type": {
                  "type": "string",
                  "description": "The object type returned by Anthropic."
                },
                "name": {
                  "type": "string",
                  "description": "The workspace display name."
                },
                "archived_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The RFC 3339 timestamp returned by Anthropic when available.",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "created_at": {
                  "type": "string",
                  "description": "The date and time when the workspace was created.",
                  "format": "date-time"
                }
              },
              "additionalProperties": true,
              "description": "An Anthropic workspace object."
            },
            "description": "The Anthropic workspaces returned in this page."
          },
          "has_more": {
            "type": "boolean",
            "description": "Whether more results are available after this page."
          },
          "first_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The first object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          },
          "last_id": {
            "anyOf": [
              {
                "type": "string",
                "description": "The last object identifier in this page."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The response payload for listing Anthropic workspaces."
      }
    }
  ]
}
