Agents

Update Agent By Slug

Edit existing agent details using slug.

put/agents/by-slug/{agent_slug}

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/agents/by-slug/{agent_slug}
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Path parameters

agent_slugstring required

Query parameters

team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

namestring nullable
descriptionstring nullable
system_promptstring nullable
icon_urlstring nullable
skill_idsstring[] nullable
welcome_messagestring nullable
initial_suggestionsobject[] nullable
themeunknown
is_publishedboolean nullable
is_templateboolean nullable
is_vadooboolean nullable

Response

Successful Response

idstring required
namestring required
agent_idstring required
descriptionstring nullable
system_promptstring required
icon_urlstring nullable
daily_credit_limitnumber required
welcome_messagestring nullable
initial_suggestionsobject[] nullable
themestring nullable
like_countinteger
has_likedboolean
created_atstring date-time required
is_publishedboolean
is_templateboolean
is_vadooboolean
user_idinteger nullable
owner_emailstring nullable
owner_usernamestring nullable
is_ownerboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.