files

Retrieve by path

Retrieve a File by path.

post/files/retrieve-by-path

Request

  • Base URL: https://api.humanloop.com/v5
  • URL: https://api.humanloop.com/v5/files/retrieve-by-path
  • Auth: API key in header X-API-KEY

Query parameters

environmentstring

Name of the Environment to retrieve a deployed Version from.

include_raw_file_contentboolean

Whether to include the raw file content in the response. Currently only supported for Agents and Prompts.

Request body

pathstring required

Path of the File to retrieve.

Response

Successful Response

OR
OR
OR
OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.