Skip to main content

tomarkdown

Creates, updates, deletes, gets or lists a tomarkdown resource.

Overview

Nametomarkdown
TypeResource
Idcloudflare.ai.tomarkdown

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
workers_ai_post_to_markdowninsertaccount_id, filesConverts uploaded files into Markdown format using Workers AI.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

INSERT examples

Converts uploaded files into Markdown format using Workers AI.

INSERT INTO cloudflare.ai.tomarkdown (
files,
account_id
)
SELECT
'{{ files }}' /* required */,
'{{ account_id }}'
RETURNING
result,
success
;