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

Response

200 - application/json

List of files

data
object[]
required