Skip to content

Add public file URLs and list filtering to the files client#161

Merged
Omar-V2 merged 1 commit into
mainfrom
feat/files-public-url
Jun 8, 2026
Merged

Add public file URLs and list filtering to the files client#161
Omar-V2 merged 1 commit into
mainfrom
feat/files-public-url

Conversation

@Omar-V2

@Omar-V2 Omar-V2 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator
  • Add files.create_public_url() / files.revoke_public_url() (sync + async) to create and revoke publicly shareable, unauthenticated URLs for stored files
  • Add an optional filter parameter to files.list() (sync + async) for server-side filtering (e.g. content_type, size_bytes, created_at, public_url)
  • Add unit tests covering create/revoke and the filter param across sync and aio

- Add files.create_public_url() / files.revoke_public_url() (sync + async) to create and revoke publicly shareable, unauthenticated URLs for stored files
- Add an optional filter parameter to files.list() (sync + async) for server-side filtering (e.g. content_type, size_bytes, created_at, public_url)
- Add unit tests covering create/revoke and the filter param across sync and aio
@Omar-V2 Omar-V2 requested a review from a team as a code owner June 8, 2026 23:37
@Omar-V2 Omar-V2 merged commit da6cfa4 into main Jun 8, 2026
7 checks passed
@Omar-V2 Omar-V2 deleted the feat/files-public-url branch June 8, 2026 23:52
Omar-V2 added a commit that referenced this pull request Jun 10, 2026
Prepare to release `v1.1.6.0` of the xAI Python SDK following the
addition of #160 #161 and #162
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants