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.

Request

This endpoint expects an object.
pathstringRequired

Path of the File to retrieve.

Response

Successful Response

Prompt Responseobject
OR
Tool Responseobject
OR
Dataset Responseobject
OR
Evaluator Responseobject
OR
Flow Responseobject

Errors