v5
latestOpenAPI 3.1.02026-08-081,0211,3082.1 MBAI_PLAYGROUND
Create Or Update Agent
Create or update an agent definition in Langfuse.
Service user only (public tenant): this rewrites the system prompt driving the Copilot for every tenant.
Note: We use create_prompt for both create and update because:
- create_prompt automatically creates a new version if the name exists
- update_prompt only modifies labels on existing versions, not content
post/playground/agents
Request body
Response
Successful Response