Skip to main content
GET
/
api
/
files
/
{file_id}
Get file
curl --request GET \
  --url https://api.mymarky.ai/api/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "business_id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "body_text": "<string>",
  "parent_id": "<string>",
  "media": [
    {
      "id": "<string>",
      "business_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "alt_text": "<string>",
      "original_url": "<string>",
      "type": "<string>",
      "width": 123,
      "height": 123,
      "source": "<string>"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mymarky.ai/llms.txt

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

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

Successful Response

id
string
required

File ID

business_id
string
required

Business this file belongs to

name
string
required

File name

path
string
required

Full file path

created_at
string<date-time>
required

When the file was created

body_text
string | null

Markdown content

parent_id
string | null

Parent folder ID

media
MediaResponse · object[]

Attached media

updated_at
string<date-time> | null

Last update time