Skip to main content
POST
/
batch-executions
/
id
/
{execution_id}
/
retry-failed
Python
from meibel import MeibelClient

client = MeibelClient(api_key="your-api-key")

result = client.batches.executions.retry_failed_items("execution_id_value")
print(result)
{
  "id": "<string>",
  "batch_definition_id": "<string>",
  "customer_id": "<string>",
  "project_id": "<string>",
  "start_time": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "agent_urn": "<string>",
  "batch_spec_json": {},
  "agent_spec_json": {},
  "input_datasource_id": "<string>",
  "output_datasource_id": "<string>",
  "input_overrides": {},
  "total_items": 123,
  "succeeded": 123,
  "failed": 123,
  "end_time": "2023-11-07T05:31:56Z",
  "error": "<string>",
  "items": [
    {
      "input_data_element_id": "<string>",
      "filename": "<string>",
      "status": "<string>",
      "error": "<string>",
      "output_artifacts": [
        {}
      ],
      "attempts": 1
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.meibel.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Meibel-API-Key
string
header
required

Path Parameters

execution_id
string
required

Response

Successful Response

Response shape for a single batch execution. The legacy batch_spec_json / agent_spec_json / agent_urn / input_datasource_id fields are kept for client compatibility (DEL-1376 §5.5) — they are reconstructed from the linked BatchDefinition by the router, not stored on the execution row.

id
string
required

Execution ID — also the Temporal workflow ID for direct queries

batch_definition_id
string
required

FK to the BatchDefinition this execution ran against

customer_id
string
required
project_id
string
required
start_time
string<date-time>
required
status
string
required
agent_urn
string | null
batch_spec_json
Batch Spec Json · object

Optional override for the tool's parameters schema

agent_spec_json
Agent Spec Json · object
input_datasource_id
string | null
output_datasource_id
string | null
input_overrides
Input Overrides · object

Optional override for the tool's parameters schema

total_items
integer | null
succeeded
integer | null
failed
integer | null
end_time
string<date-time> | null
error
string | null

Overall error message

items
BatchItemResult · object[] | null

Per-item results (populated on completion by status callback)