GET
/
v1
/
beta
/
files
/
{file_id}
/
cURL
curl --request GET \
  --url https://trytako.com/api/v1/beta/files/{file_id}/ \
  --header 'X-API-Key: <api-key>'
{
  "file_id": "<string>",
  "last_updated_at": "2023-11-07T05:31:56Z",
  "key": "<string>",
  "schema": {
    "schema_id": "<string>",
    "display_name": "<string>"
  },
  "file_url": "<string>",
  "file_context": "<string>",
  "segment_id": "<string>",
  "source": "<string>",
  "cleaned_files": [
    {
      "key": "<string>",
      "cleaned_file_id": "<string>",
      "cleaned_context": "<string>",
      "file_url": "<string>",
      "file_context": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "connected_private_index": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

file_id
string
required

ID of the file

Response

Dataset file object

file_id
string
required
cleaned_files
object[]
required
last_updated_at
string<date-time> | null
key
string | null
schema
object | null
file_url
string<uri> | null
file_context
string | null
segment_id
string | null
source
string | null
connected_private_index
string | null