One file of a project.
GET
/api/projects/{id}/files/{path}
const url = 'https://app.agentic.figentra.com/api/projects/example/files/example';const options = {method: 'GET', headers: {cookie: 'session=<session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.agentic.figentra.com/api/projects/example/files/example \ --cookie session=<session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
path
required
string
Query Parameters
Section titled “Query Parameters”versionId
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
path
required
string
encoding
required
string
content
required
string
size
required
integer
Example
{ "encoding": "utf8"}default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
Example generated
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" } }}