Median

GET /agent

Updated Oct 1, 20261 minute read

Get the agent

The agent's name, personality, and autonomy switches. Defaults until somebody has edited anything.

Part of Agent.

Responses

StatusDescription
200The agent.
401The bearer token is missing, revoked, or expired.
403The token's person does not hold the role this needs.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
namestringNo
personalitystringNo
autoResolvebooleanNoWhether it may end conversations it finished on its own.
learnFromThreadsbooleanNoWhether resolved threads get read for knowledge suggestions.
suggestKnowledgebooleanNoWhether it may file knowledge and tool suggestions mid-conversation.
nightlySweepbooleanNoWhether the nightly sweep may resolve finished threads.
fileSignalsbooleanNoWhether it may file bugs and suggestions mid-conversation.
requireEmailbooleanNoWhether the widget asks for an email before a first message.
messagePreviewbooleanNoWhether the closed widget previews an unread reply on its button.

Example request

curl https://api.median.sh/v1/agent \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc