# DatHost Documentation > Documentation for DatHost ## Guides: API - [CS2 Platform onboarding](https://dathost.com/docs/cs2-platform-onboarding.md) - [Ping Server Locations via WebSocket](https://dathost.com/docs/ping-server-locations-via-websocket.md) ## Guides: CS2 Match-API - [Introduction](https://dathost.com/docs/cs2-match-api-introduction.md) - [Roadmap](https://dathost.com/docs/cs2-match-api-roadmap.md): Below is our roadmap, detailing our current features and what's to come. We'll update it regularly to keep everyone in the loop. - [Webhooks](https://dathost.com/docs/cs2-match-api-webhooks.md) - [Cancel Reasons](https://dathost.com/docs/cs2-match-api-cancel-reasons.md): Below are all the possible reasons a match may be canceled, along with brief explanations. - Custom Configs - [Tactical Timeout Settings](https://dathost.com/docs/cs2-tactical-timeout-settings.md) - [Votekick Settings](https://dathost.com/docs/cs2-votekick-settings.md) - [Overtime Settings](https://dathost.com/docs/cs2-overtime-settings.md) - [Warmup & Custom Settings](https://dathost.com/docs/warmup-custom-settings.md) ## API Reference: The DatHost api - [CS2 Servers REST API](https://dathost.com/reference/cs2-servers-rest-api.md) - [Server Locations Mapping](https://dathost.com/reference/server-locations-mapping.md) ## API Reference: API - Game Servers > General - [List game servers](https://dathost.com/reference/get_game_servers.md): The booting state is not updated using this method, so a server might show true when booting is finished. Use single item get to check booting state. - [Create a game server](https://dathost.com/reference/post_game_servers.md): On success this returns the new server in the same format as game-servers. - [Delete a game server](https://dathost.com/reference/delete_game_server_item.md) - [Get a game server](https://dathost.com/reference/get_game_server_item.md): If the server is currently in the booting state it will also check if the server is still booting and update the value before returning - [Update a game server](https://dathost.com/reference/put_game_server_item.md): If the server is on this will restart the server to reflect the changes. - [Get game server metrics](https://dathost.com/reference/get_game_server_metrics.md) - [Purchase subscription / Cancel subscription / Switch to Pay as you Go](https://dathost.com/reference/post_api-0-1-game-servers-server-id-subscription.md) - Game Servers > Actions - [Duplicate a game server](https://dathost.com/reference/post_game_server_duplicate.md): Copies settings and files to a new server. Settings that identify the source server itself, such as its Steam game server login token, cluster membership or join and invite codes, are not copied. For… - [Reset a game server](https://dathost.com/reference/post_game_server_reset.md): This will reset settings and all changed files to the default files, settings to the default values and void any changes you have made. It's not possible to revert this change. - [Start a game server](https://dathost.com/reference/post_game_server_start.md): This will reboot the server if the server is already on. - [Stop a game server](https://dathost.com/reference/post_game_server_stop.md) - [Sync the files between the API cache and a game server](https://dathost.com/reference/post_game_server_sync_files.md): This manually triggers a sync between a game server and the local cache which is used for duplicating servers. This is done automatically approximately once per hour while the server is on, and once… - [Reassign server to a new host](https://dathost.com/reference/post_game_server_reassign_host.md): Reassigns the server to a host, getting a new IP address and ports. If the server is running, it will be stopped, reassigned, and restarted automatically. - Game Servers > File Management - [List files on gameserver](https://dathost.com/reference/get_game_server_files.md) - [Delete a file/directory from a game server](https://dathost.com/reference/delete_game_server_files_item.md): The path is counted from the root node as seen in the file manager in the control panel, i.e. to delete csgo/cfg/server.cfg the path would be cfg/server.cfg. - [Download a file from a game server](https://dathost.com/reference/get_game_server_files_item.md): The path is counted from the root node as seen in the file manager in the control panel,i.e. to retrieve csgo/cfg/server.cfg the path would be cfg/server.cfg If the path is a directory you will… - [Upload a file to a game server](https://dathost.com/reference/post_game_server_files_item.md): The path is counted from the root node as seen in the file manager in the control panel,i.e. to write csgo/cfg/server.cfg the path would be cfg/server.cfg, if the path ends with / a directory will be… - [Move a file/directory on a game server](https://dathost.com/reference/put_game_server_files_item.md): Moves path to destination, the paths are counted from the root node as seen in the file manager in the control panel, i.e. to delete csgo/cfg/server.cfg the path would be cfg/server.cfg. - [Regenerate FTP password for a game server](https://dathost.com/reference/post_game_server_regenerate_ftp_password.md): Sets a new random FTP password for the server - [Extract a .zip, .rar or .tar.gz file on a game server](https://dathost.com/reference/post_game_server_unzip.md): The .zip, .rar or .tar.gz file at path will be extracted to destination - Game Servers > Console - [Get the last lines of backlog from a game server console](https://dathost.com/reference/get_game_server_console.md) - [Send a line of text to a game server console](https://dathost.com/reference/post_game_server_console.md) - CS2 Matches - [Start a CS2 match](https://dathost.com/reference/post_api-0-1-cs2-matches.md): Start a CS2 match - [Get a CS2 match](https://dathost.com/reference/get_api-0-1-cs2-matches-match-id.md): Get a CS2 match - [Cancel a CS2 match in progress](https://dathost.com/reference/post_api-0-1-cs2-matches-match-id-cancel.md): Cancel a CS2 match in progress - [Add a player to a CS2 match](https://dathost.com/reference/post_api-0-1-cs2-matches-match-id-players.md): Add a player to a CS2 match - Account - [Get the current account](https://dathost.com/reference/get_account.md) - [List all invoices/receipts](https://dathost.com/reference/get_invoices.md) - [Get an invoice as HTML](https://dathost.com/reference/get_invoice_html.md) - System - [Get all available custom domains](https://dathost.com/reference/get_custom_domains.md) - [List scheduled maintenance windows](https://dathost.com/reference/get_maintenance_windows.md): Upcoming and in-progress maintenance windows in which a host that takes new servers of the given games restarts. Avoid starting servers of those games in a listed location from shortly before… - CS Monitoring - [Get CS server monitoring overview](https://dathost.com/reference/get_cs_monitoring_server_overview.md): Returns a 30-day activity overview for a CS game server, including unique player counts per 5-minute interval and server metadata. - [Get CS server monitoring metrics](https://dathost.com/reference/get_cs_monitoring_server_metrics.md): Returns detailed server metrics for a CS game server within a specified time window. **Important:** The maximum time window between start_time and end_time is 3 hours. Requests exceeding this limit… - [Get CS player investigation](https://dathost.com/reference/get_cs_monitoring_player.md): Returns a 30-day investigation report for a CS player identified by their Steam 64-bit ID. Includes summary statistics, server history, known nicknames/IPs, and ping/loss time series across all of… ## Changelog - [CS2 Match-API Update: Event-Driven Webhooks](https://dathost.com/changelog/cs2-match-api-update-event-driven-webhooks.md) - [CS2 Match-API Update: Team Locks via SteamID](https://dathost.com/changelog/cs2-match-api-update-team-locks-via-steamid.md) - [CS2 Match-API: Tech/Tac Pauses and Custom Nicknames](https://dathost.com/changelog/cs2-match-api-tech-tac-pauses-and-custom-nicknames.md) - [CS2 Match-API: Added Workshop Support](https://dathost.com/changelog/cs2-match-api-added-workshop-support.md) - [API: Added CS2 Workshop Support](https://dathost.com/changelog/api-added-cs2-workshop-support.md) - [API: Added Guide for Latency Measurement to DatHost Servers](https://dathost.com/changelog/api-added-websocket-guide-for-latency-measurement-to-dathost-servers.md) - [API: Added CS2 Game Server Login Tokens](https://dathost.com/changelog/api-added-cs2-game-server-login-tokens.md) - [CS2 Match-API: Added Cancel Endpoint](https://dathost.com/changelog/cs2-match-api-added-cancel-endpoint.md) - [CS2 Match-API: Week 42 Updates](https://dathost.com/changelog/cs2-match-api-week-42-updates.md) - [CS2 Match-API: GOTV Fixes](https://dathost.com/changelog/cs2-match-api-gotv-fixes.md)