Skip to main content
GET
/
api
/
files
List files
curl --request GET \
  --url https://api.mymarky.ai/api/files \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "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"
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

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.

Query Parameters

business_id
string
required

Business ID

folder_id
string | null

Filter by folder (null for root)

cursor
string | null

Cursor from previous page

limit
integer
default:20
Required range: 1 <= x <= 100

Response

Successful Response

data
FileResponse · object[]
required

Page of results

has_more
boolean
required

Whether more results exist after this page

next_cursor
string | null

Cursor for the next page (pass as ?cursor= parameter)