curl --request POST \
--url https://api-lr.agent.ai/v1/action/convert_file_options \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"extension": "txt"
}
'{
"status": 200,
"response": [
"doc",
"docx",
"html",
"md",
"odt",
"pdf",
"rtf",
"tex",
"azw3",
"epub",
"lrf",
"mobi",
"oeb",
"pdb",
"jpg",
"png"
]
}Gets the full set of options that a file extension can be converted to.
curl --request POST \
--url https://api-lr.agent.ai/v1/action/convert_file_options \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"extension": "txt"
}
'{
"status": 200,
"response": [
"doc",
"docx",
"html",
"md",
"odt",
"pdf",
"rtf",
"tex",
"azw3",
"epub",
"lrf",
"mobi",
"oeb",
"pdb",
"jpg",
"png"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.agent.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token from your account (https://agent.ai/user/integrations#api)
File extension
"txt"