GET
/
files
/
{id}
List file
curl --request GET \
  --url https://api.together.xyz/v1/files/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json

File retrieved successfully

id
string
required
object
string
required
Example:

"file"

created_at
integer
required
Example:

1715021438

filename
string
required
Example:

"my_file.jsonl"

bytes
integer
required
Example:

2664

purpose
enum<string>
required
Available options:
fine-tune
Example:

"fine-tune"

Processed
boolean
required
FileType
enum<string>
required
Available options:
jsonl,
parquet
Example:

"jsonl"

LineCount
integer
required