curl --request GET \
--url https://apigcp.trynia.ai/v2/fs/{source_id}/read \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Read a file from an indexed source with optional line range.
curl --request GET \
--url https://apigcp.trynia.ai/v2/fs/{source_id}/read \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API key must be provided in the Authorization header
File path to read
x >= 1x >= 1Successful Response
Was this page helpful?