Skip to main content
GET
/
files
/
{id}
/
content
# Docs for v1 can be found by changing the above selector ^ from together import Together import os client = Together( api_key=os.environ.get("TOGETHER_API_KEY"), ) with client.files.with_streaming_response.content(id="file-id") as response: for line in response.iter_lines(): print(line)
"<string>"

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

The ID of the file to get the content of

Response

File content retrieved successfully

The response is of type file.