Retrieve by path

Retrieve a File by path.

Headers

X-API-KEYstringRequired

Query parameters

environmentstringOptional
Name of the Environment to retrieve a deployed Version from.
include_raw_file_contentbooleanOptionalDefaults to false
Whether to include the raw file content in the response. Currently only supported for Agents and Prompts.

Request

This endpoint expects an object.
pathstringRequired
Path of the File to retrieve.

Response

Successful Response
object
OR
object
OR
object
OR
object
OR
object
OR
object

Errors