get-executions
Skill4 starsChanged 34 days agoMITView on GitHub
Fetch and analyze Bolna call execution data, raw logs, transcripts, recordings, costs, statuses, hangup details, extracted data, agent history, and batch executions. Use for debugging failed calls, analytics export, CRM sync, webhook reconciliation, and call monitoring.
- Reads credentials
In this repository20 other files it gives its agents.
- add-providerSkill
- bolna-extraction-designerSkill
- bolna-graph-agentsSkill
- create-agentSkill
- create-batchSkill
- create-dispositionSkill
- create-knowledgebaseSkill
- debug-bolna-callsSkill
- make-callSkill
- manage-agentsSkill
- manage-phone-numbersSkill
- manage-subaccountsSkill
- manage-violationsSkill
- migrate-call-to-workflowSkill
- prompt-writingSkill
- setup-api-keySkill
- setup-inboundSkill
- setup-sip-trunkSkill
- setup-toolsSkill
- setup-webhookSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 44
Treat completed as the post-processing finished state, not merely the end of audio.
- Distinctive: line 62
Use raw logs for latency debugging, prompt inspection, provider request/response issues, tool call failures, or unexpected model output.
- Very specific: line 72
Use has_more to fetch the next page.
- Very specific: line 79
No webhook received: pull execution status here, then check setup-webhook configuration.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Get Bolna Executions
Endpoints
- Get execution:
GET https://api.bolna.ai/executions/{execution_id} - Get raw logs:
GET https://api.bolna.ai/executions/{execution_id}/log - List agent executions:
GET https://api.bolna.ai/v2/agent/{agent_id}/executions - List batch executions:
GET https://api.bolna.ai/batches/{batch_id}/executions
Use Authorization: Bearer $BOLNA_API_KEY.
Execution object
Expect fields such as:
id,agent_id,batch_idconversation_time,total_cost,cost_breakdownstatus,error_message,answered_by_voice_mailtranscript,recording_urlcreated_at,updated_attelephony_data: provider, to/from numbers, call type, provider call ID, hangup reason/code, ring duration, post-dial delay, carrier details.transfer_call_data: details for transferred calls.batch_run_details: retry and batch metadata.extracted_data: structured data from dispositions or extraction prompts.context_details: context variables and related metadata.
Statuses to handle
Common statuses include scheduled, queued, rescheduled, initiated, ringing, in-progress, call-disconnected, completed, balance-low, busy, no-answer, canceled, failed, stopped, and error.
Treat completed as the post-processing finished state, not merely the end of audio.
Single execution
curl --request GET \
--url "https://api.bolna.ai/executions/$EXECUTION_ID" \
--header "Authorization: Bearer $BOLNA_API_KEY"Raw logs
curl --request GET \
--url "https://api.bolna.ai/executions/$EXECUTION_ID/log" \
--header "Authorization: Bearer $BOLNA_API_KEY"Use raw logs for latency debugging, prompt inspection, provider request/response issues, tool call failures, or unexpected model output.
Paginated agent history
curl --request GET \
--url "https://api.bolna.ai/v2/agent/$AGENT_ID/executions?page_number=1&page_size=50" \
--header "Authorization: Bearer $BOLNA_API_KEY"Use has_more to fetch the next page. page_size max is 50.
Debug map
- Long pauses: check transcriber endpointing, LLM latency, synthesizer latency, and
incremental_delay. - Users cut off: increase
number_of_words_for_interruptionor adjust endpointing. - Silent hangups: check
hangup_after_silence,call_terminate, and hangup code. - No webhook received: pull execution status here, then check
setup-webhookconfiguration. - Cost spike: inspect
conversation_time, retry history, andcost_breakdown.
For the full triage runbook, see debug-bolna-calls/SKILL.md and debug-bolna-calls/references/latency-metrics.md.
Script
# Paginate through all executions for an agent
python3 get-executions/scripts/fetch_executions_paginated.py --agent-id $AGENT_IDSee also
https://raw.githubusercontent.com/bolna-ai/skills/main/references/execution-payload.md— every field on the execution object, in one place.https://raw.githubusercontent.com/bolna-ai/skills/main/references/call-statuses.md— full lifecycle and terminal-status patterns.https://raw.githubusercontent.com/bolna-ai/skills/main/references/hangup-codes.md—hangup_by+hangup_code+hangup_reasoninterpretation.setup-webhook— same payload shape, pushed in real time.debug-bolna-calls— symptom-to-fix table built on top of execution + raw logs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

