Skip to main content
POST
/
prompts
Python
from meibel import MeibelClient

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

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

result = client.prompts.create(body=body)
print(result)
{
  "id": "<string>",
  "name": "<string>",
  "display_name": "<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

Body

application/json

Request model for creating a new agent prompt.

display_name
string
required

Human-readable name of the prompt (letters, numbers, and spaces only). Converted to kebab-case internally.

prompt
string
required

Prompt text

Response

Successful Response

id
string
required
name
string
required
display_name
string
required
version
string
required