cURL
curl --request GET \ --url https://apigcp.trynia.ai/v2/local-folders/{local_folder_id}/read \ --header 'Authorization: Bearer <token>'
{ "content": "<string>", "path": "<string>", "total_lines": 123 }
Read the content of a file within the local folder.
API key must be provided in the Authorization header
Local folder ID
File path to read
Start line (1-indexed)
End line (1-indexed)
File content
File path
Total lines in file
Was this page helpful?