curl --request GET \
--url https://api.getcargo.io/v1/context/files/content \
--header 'Authorization: Bearer <token>'{
"fileContent": {
"path": "<string>",
"name": "<string>",
"content": "<string>",
"sha": "<string>",
"encoding": "utf-8"
}
}Read the content of a specific file in the context repository.
curl --request GET \
--url https://api.getcargo.io/v1/context/files/content \
--header 'Authorization: Bearer <token>'{
"fileContent": {
"path": "<string>",
"name": "<string>",
"content": "<string>",
"sha": "<string>",
"encoding": "utf-8"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Full path to the file to read in the repository.
Successful response
The content of the requested file.
Show child attributes
Was this page helpful?