Skip to main content
PUT
/
agents
/
{agent_id}
Python
from meibel import MeibelClient

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

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

result = client.agents.update("agent_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

agent_id
string
required

Body

application/json

Request model for updating an agent definition. Name is intentionally excluded as it serves as the stable identifier for a version chain and cannot be changed.

display_name
string | null

Human-readable name of the agent

instructions
string | null

System prompt/instructions

type
string | null

Agent type

description
string | null

Description of the agent

llm_model
string | null

LLM model to use

fallback_models
string[] | null

List of fallback models

datasources
string[] | null

Datasource IDs the agent has access to

tools
AgentToolDefinition · object[] | null

Tools configuration

artifacts
string[] | null

Catalog URNs of artifacts the agent produces

confidence_configs
string[] | null

Confidence scoring module names to apply during execution

temperature

LLM temperature

Required range: 0 <= x <= 2
max_tokens
integer | null

Maximum tokens in response

tags
string[] | null

Tags for categorization

icon
string | null

UI icon identifier

Response

Successful Response

Response model for updating an agent definition.

id
string
required

New agent definition ID

catalog_urn
string
required

Catalog URN for the new version

version
string
required

New version number