Skip to content

Files list API does not support listing files from managed agent API #334

@kzwang

Description

@kzwang

When using Managed Agent API, we need to pass scope_id and managed-agents-2026-04-01 beta header

In https://github.com/anthropics/anthropic-sdk-java/blob/main/anthropic-java-core/src/main/kotlin/com/anthropic/services/blocking/beta/FileServiceImpl.kt#L102, it always add the default beta headers without managed-agents-2026-04-01, so it cannot list those files, and we don't have a way to override the header

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedsdk

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions