Files changedapi/beta/files
Nearest release: v2.1.238, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+87added
Lines−77removed
From line
19
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits19to this page, all time
### Beta Deleted File ### Beta File Metadata ### Deleted File ### File Metadata
The whole hunk
from line 19, old and new numbered
/
from line 19
1919
2020 - `string`
2121
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
2323
2424 - `"message-batches-2024-09-24"`
2525
from line 65
6565
6666 - `"user-profiles-2026-03-24"`
6767
68 - `"user-profiles-2026-08-18"`
69
6870 - `"advisor-tool-2026-03-01"`
6971
7072 - `"managed-agents-2026-04-01"`
from line 91
8991
9092### Returns
9193
92- `FileMetadata object { id, created_at, filename, 5 more }`
94- `BetaFileMetadata object { id, created_at, filename, 5 more }`
9395
9496 - `id: string`
9597
from line 204
202204
203205 - `string`
204206
205 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
207 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
206208
207209 - `"message-batches-2024-09-24"`
208210
from line 250
248250
249251 - `"user-profiles-2026-03-24"`
250252
253 - `"user-profiles-2026-08-18"`
254
251255 - `"advisor-tool-2026-03-01"`
252256
253257 - `"managed-agents-2026-04-01"`
from line 276
272276
273277### Returns
274278
275- `data: array of FileMetadata`
279- `data: array of BetaFileMetadata`
276280
277281 List of file metadata objects.
278282
from line 394
390394
391395 - `string`
392396
393 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
397 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
394398
395399 - `"message-batches-2024-09-24"`
396400
from line 440
436440
437441 - `"user-profiles-2026-03-24"`
438442
443 - `"user-profiles-2026-08-18"`
444
439445 - `"advisor-tool-2026-03-01"`
440446
441447 - `"managed-agents-2026-04-01"`
from line 493
487493
488494 - `string`
489495
490 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
496 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
491497
492498 - `"message-batches-2024-09-24"`
493499
from line 539
533539
534540 - `"user-profiles-2026-03-24"`
535541
542 - `"user-profiles-2026-08-18"`
543
536544 - `"advisor-tool-2026-03-01"`
537545
538546 - `"managed-agents-2026-04-01"`
from line 565
557565
558566### Returns
559567
560- `FileMetadata object { id, created_at, filename, 5 more }`
568- `BetaFileMetadata object { id, created_at, filename, 5 more }`
561569
562570 - `id: string`
563571
from line 662
654662
655663 - `string`
656664
657 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 30 more`
665 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 31 more`
658666
659667 - `"message-batches-2024-09-24"`
660668
from line 708
700708
701709 - `"user-profiles-2026-03-24"`
702710
711 - `"user-profiles-2026-08-18"`
712
703713 - `"advisor-tool-2026-03-01"`
704714
705715 - `"managed-agents-2026-04-01"`
from line 734
724734
725735### Returns
726736
727- `DeletedFile object { id, type }`
737- `BetaDeletedFile object { id, type }`
728738
729739 - `id: string`
730740
from line 769
759769
760770## Domain Types
761771
762### Beta File Scope
772### Beta Deleted File
763773
764- `BetaFileScope object { id, type }`
774- `BetaDeletedFile object { id, type }`
765775
766776 - `id: string`
767777
768 The ID of the scoping resource (e.g., the session ID).
769
770 - `type: "session"`
771
772 The type of scope (e.g., `"session"`).
773
774 - `"session"`
775
776### Deleted File
777
778- `DeletedFile object { id, type }`
779
780 - `id: string`
781
782778 ID of the deleted file.
783779
784780 - `type: optional "file_deleted"`
from line 785
789785
790786 - `"file_deleted"`
791787
792### File Metadata
788### Beta File Metadata
793789
794- `FileMetadata object { id, created_at, filename, 5 more }`
790- `BetaFileMetadata object { id, created_at, filename, 5 more }`
795791
796792 - `id: string`
797793
from line 836
840836 The type of scope (e.g., `"session"`).
841837
842838 - `"session"`
839
840### Beta File Scope
841
842- `BetaFileScope object { id, type }`
843
844 - `id: string`
845
846 The ID of the scoping resource (e.g., the session ID).
847
848 - `type: "session"`
849
850 The type of scope (e.g., `"session"`).
851
852 - `"session"`
843853
No line in this hunk matches that.