Skip to main content
PUT
/
prompts
/
{prompt_id}
Python
from meibel import MeibelClient

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

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

result = client.prompts.update("prompt_id_value", body=body)
print(result)
{
  "id": "<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

prompt_id
string
required

Body

application/json

Request model for updating an agent prompt. 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 prompt

prompt
string | null

Prompt text

Response

Successful Response

id
string
required
version
string
required