Download File
beta().files().download(FileDownloadParamsparams = FileDownloadParams.none(), RequestOptionsrequestOptions = RequestOptions.none()) : HttpResponse
/v1/files/{file_id}/content?beta=true
Download File
Parameters
Download File
Kotlin
package com.anthropic.example
import com.anthropic.client.AnthropicClient
import com.anthropic.client.okhttp.AnthropicOkHttpClient
import com.anthropic.core.http.HttpResponse
import com.anthropic.models.beta.files.FileDownloadParams
fun main() {
val client: AnthropicClient = AnthropicOkHttpClient.fromEnv()
val response: HttpResponse = client.beta().files().download("file_id")
}