Skip to main content
GET
/
files
/
{id}
/
content
Get file contents
curl --request GET \
  --url https://api.together.xyz/v1/files/{id}/content \
  --header 'Authorization: <api-key>'
{
  "object": "<string>",
  "id": "<string>",
  "filename": "<string>",
  "size": 123
}

Documentation Index

Fetch the complete documentation index at: https://together-ai-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
default:default
required

Path Parameters

id
string
required

Response

200 - application/json

File content retrieved successfully

object
string
id
string
filename
string
size
integer