> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # FileDeleteResponse Confirmation that a file was deleted, in the negotiated shape. ## Supported Types ### AnthropicFileDeleted ```go theme={null} fileDeleteResponse := components.CreateFileDeleteResponseAnthropic(components.AnthropicFileDeleted{/* values here */}) ``` ### OpenAIFileDeleted ```go theme={null} fileDeleteResponse := components.CreateFileDeleteResponseOpenai(components.OpenAIFileDeleted{/* values here */}) ``` ### OpenRouterFileDeleted ```go theme={null} fileDeleteResponse := components.CreateFileDeleteResponseOpenrouter(components.OpenRouterFileDeleted{/* values here */}) ``` ## Union Discrimination Use the `Type` field to determine which variant is active, then access the corresponding field: ```go theme={null} switch fileDeleteResponse.Type { case components.FileDeleteResponseTypeAnthropic: // fileDeleteResponse.AnthropicFileDeleted is populated case components.FileDeleteResponseTypeOpenai: // fileDeleteResponse.OpenAIFileDeleted is populated case components.FileDeleteResponseTypeOpenrouter: // fileDeleteResponse.OpenRouterFileDeleted is populated default: // Unknown type - use fileDeleteResponse.GetUnknownRaw() for raw JSON } ```