UploadFile

UploadFile

Certified

Upload a file to Anthropic

yaml
type: io.kestra.plugin.anthropic.UploadFile
yaml
    id: anthropic_upload_file
    namespace: company.team

    tasks:
      - id: upload
        type: io.kestra.plugin.anthropic.UploadFile
        apiKey: "{{ secret('ANTHROPIC_API_KEY') }}"
        filePath: "{{ outputs.create_file.uri }}"
        mimeType: "text/plain"
Properties
Default1024
Default1.0