Skip to main content
PUT
/
batch-definitions
/
id
/
{definition_id}
Python
from meibel import MeibelClient

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

# Create request body
body = UpdateBatchDefinitionRequest(name="Example")

result = client.batches.update_by_id("definition_id_value", body=body)
print(result)
{
  "id": "<string>",
  "catalog_urn": "<string>",
  "version": "<string>"
}

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

definition_id
string
required

Body

application/json

Patch a BatchDefinition; the service forks a new version row.

name
string | null
agent_id
string | null

If set, re-resolves and re-pins the agent spec

input_datasource_id
string | null
filters
BatchDefinitionFilters · object

Recipe-level filters. element_ids belongs here; per-execution overrides use BatchInputOverrides on the execution row.

output_datasource_id
string | null
user_message
string | null
concurrency
integer | null
Required range: 1 <= x <= 999
retry_limit
integer | null
Required range: 0 <= x <= 999
recurrence_cron
string | null
description
string | null

Response

Successful Response

New version metadata returned after a successful update fork.

id
string
required
catalog_urn
string
required
version
string
required