Files
Get a file with lineage
Changed onReturns one file with its full lineage, including the cost breakdown of the job tree when the job spawned sub-generations.
get/resources/files/{id}
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/resources/files/{id}
- Auth: HTTP bearer
Path parameters
idstring required
Response
The file
Example response
{
"created_by_api_key": {
"key_preview": "varg_a1b2...c3d4"
},
"lineage": {
"tool": "image"
}
}Changes
- info
endpoint added
- info