GET
/
files
/
{file_id}
/
content
Python
from datagrid_ai import Datagrid

client = Datagrid(
    api_key="My API Key",
)
response = client.files.content(
    "file_id",
)
print(response)
content = response.read()
print(content)
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Path Parameters

file_id
string
required

Response

200 - application/octet-stream

File content

The response is of type file.