API para agentes
Muse, Grok Bot u otro agente pueden ejecutar tus workflows con una clave creada en tu cuenta.
Autenticación
Crea una clave en Cuenta → Claves de API y envíala en la cabecera Authorization. La API rechaza email y contraseña.
Authorization: Bearer fdia_...
Endpoints
GET https://flowdeia.com/api/v1/me
GET https://flowdeia.com/api/v1/workflows
POST https://flowdeia.com/api/v1/workflows/{id}/runs {"input_text": "...", "file_ids": ["..."]} (or multipart: input_text, files)
GET https://flowdeia.com/api/v1/runs/{id}
GET https://flowdeia.com/api/v1/files
POST https://flowdeia.com/api/v1/files multipart: file
GET https://flowdeia.com/api/v1/files/{id}/contentEjemplo
curl -X POST https://flowdeia.com/api/v1/workflows/WORKFLOW_ID/runs \
-H "Authorization: Bearer $FLOWDEIA_KEY" \
-H "content-type: application/json" \
-d '{"input_text": "..."}'