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

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

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

result = client.agents.publish("agent_id_value", body=body)
print(result)
{
  "id": "<string>",
  "agent_definition_urn": "<string>",
  "agent_name": "<string>",
  "version": "<string>",
  "display_name": "<string>",
  "commit_message": "<string>",
  "published_at": "2023-11-07T05:31:56Z",
  "published_by": "<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

Query Parameters

override_draft
boolean
default:false

Bypass draft head validation and publish any version directly

Body

application/json

Request model for publishing the current draft of an agent.

commit_message
string
required

User-provided description of what changed in this version

Response

Successful Response

Response model for a publish event.

id
string
required

Registry entry ID

agent_definition_urn
string
required

Catalog URN of the published AgentDefinition version

agent_name
string
required

Agent name

version
string
required

Published version slug

display_name
string
required

Display name of the published version

commit_message
string
required

User-provided description of what changed in this version

published_at
string<date-time>
required

Timestamp of the publish event

published_by
string | null

User who published