Skip to main content
GET
/
fs
/
{source_id}
/
read
Read file
curl --request GET \
  --url https://apigcp.trynia.ai/v2/fs/{source_id}/read \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

source_id
string
required

Query Parameters

path
string
required

File path to read

line_start
integer | null
Required range: x >= 1
line_end
integer | null
Required range: x >= 1

Response

Successful Response