Execution log
Returns an execution’s log, with the same content shown in the execution details on the platform. It’s useful for storing the result in your system or investigating an error without opening Sinfonia.
The id is the execution number. In integrations, it arrives in the exec_id field of the completion webhook.
GET
/v1/execlog/{id}Base URL:
https://sinfonia.live/apiHeaders
token
stringrequiredAPI type token, generated in Administration → Tokens.Example:
YOUR_TOKENPath parameters
id
integerrequiredExecution number (the
exec_id received in the webhook).Example:
4512Request example
curl -X GET "https://sinfonia.live/api/v1/execlog/4512" \
-H "token: YOUR_TOKEN"Responses
The execution log, as a JSON string with line breaks.
"[2026-11-03 10:00:01] Iniciando bot-notas-fiscais\n[2026-11-03 10:00:42] 12 notas processadas\n[2026-11-03 10:00:43] Finalizado com sucesso"Notes
- The log comes as a single JSON string, with lines separated by
\n. Parse it as JSON to get the text. - Fetch the log after the execution has finished. While it’s running, the content is still incomplete.
Last updated on