cURL
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.
Bearer token from your account (https://agent.ai/user/settings#credits)
Convert file options
The response is of type object.
object