File Operations¶
Space-Track provides several file-based endpoints beyond the standard query API. These operations are direct client methods -- they do not use the SpaceTrackQuery builder. The three subsystems are FileShare (authenticated file storage), SP Ephemeris (special perturbations ephemeris files), and Public Files (unauthenticated downloads).
For the complete API reference, see the SpaceTrackClient Reference.
FileShare¶
The FileShare subsystem provides authenticated file storage on Space-Track.org. Users can upload, download, list, and delete files organized into folders.
Listing Files and Folders¶
Retrieve metadata for all files or folders in your file share. Results are returned as typed records (FileShareFileRecord and FolderRecord).
Uploading Files¶
Upload a file to a specific folder. The file_data parameter accepts raw bytes.
Downloading Files¶
Download a single file by its ID, or download an entire folder as a zip archive.
Deleting Files¶
Delete a file by its ID.
SP Ephemeris¶
The SP Ephemeris subsystem provides access to Special Perturbations ephemeris files. These are higher-fidelity orbital predictions than the standard GP (General Perturbations) data. All SP Ephemeris operations require authentication.
Listing Ephemeris Files¶
List available SP ephemeris files. Each record includes the associated NORAD catalog ID and the epoch coverage interval.
Downloading Ephemeris Files¶
Download an SP ephemeris file by its file ID.
File History¶
Retrieve the version history for SP ephemeris files. The response is returned as generic JSON since the schema is not fixed.
Public Files¶
The Public Files subsystem provides access to publicly available files on Space-Track.org. These operations do not require authentication, though the client must still be instantiated (credentials are not sent for these requests).
Listing Directories¶
List available public file directories. The response is returned as generic JSON.
Downloading Public Files¶
Download a public file by name.
See Also¶
- Space-Track API Overview -- Module architecture and type catalog
- Client -- Authentication, query execution, and response handling
- SpaceTrackClient Reference -- Complete method documentation
- Response Types Reference -- All response type field definitions