Get File
GET/api/v1/workspaces/:workspace_name/files/:file_id
Retrieves the file contents.
Request
Responses
- 200
- 404
- 422
- 500
Successful Response
There's no file with the ID '<file_id>' in the workspace. Check if the ID is correct. You can use the list_files endpoint to check file IDs.
Validation Error
File with the ID '{file_id}' doesn't have a type.
Was this page helpful?