--- layout: "http" page_title: "HTTP API: /v1/client/fs/cat" sidebar_current: "docs-http-client-fs-cat" description: |- The '/1/client/fs/cat` endpoint is used to read the contents of a file in an allocation directory. --- # /v1/client/fs/cat The `/fs/cat` endpoint is used to read the contents of a file in an allocation directory. This API endpoint is hosted by the Nomad client and requests have to be made to the Nomad client where the particular allocation was placed. ## GET
Description
Read contents of a file in an allocation directory.
Method
GET
URL
`/v1/client/fs/cat/`
Parameters
Returns
``` 2016/03/15 15:40:56 [DEBUG] sylog-server: launching syslog server on addr: /tmp/plugin096499590 ```