GET
/
files
/
{id}
List file
curl --request GET \
  --url https://api.together.xyz/v1/files/{id} \
  --header 'Authorization: <api-key>'
{
  "id": "<string>",
  "object": "file",
  "created_at": 1715021438,
  "filename": "my_file.jsonl",
  "bytes": 2664,
  "purpose": "fine-tune",
  "Processed": true,
  "FileType": "jsonl",
  "LineCount": 123
}

Authorizations

Authorization
string
header
default:default
required

Path Parameters

id
string
required

Response

200 - application/json

File retrieved successfully

The response is of type object.