Median

GET /logs/{id}

Updated Oct 1, 20261 minute read

Read one log entry

Owners and admins only. The entry, what it touched by name, and when it is about a conversation, everything else logged about that conversation in order, capped at 50.

Part of Billing.

Parameters

NameInTypeRequiredDescription
idpathstringYesThe entry's id from GET /logs.

Responses

StatusDescription
200The entry, what it touched, and its conversation's other entries.
400The request is malformed, and the message names the field.
401The bearer token is missing, revoked, or expired.
403The token's person does not hold the role this needs.
404Not one of yours, or not there at all.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
entryobjectYes
entry.idstringNo
entry.atnumberNo
entry.eventstringNo
entry.categorystringNo
entry.outcomestringNo
entry.messagestringNo
entry.summarystring | nullNo
entry.errorstring | nullNo
entry.actorKindstringNo
entry.actorIdstring | nullNo
entry.featurestring | nullNo
entry.durationMsnumber | nullNo
entry.detailsobjectNo
entry.conversationIdstring | nullNo
entry.docIdstring | nullNo
entry.signalIdstring | nullNo
entry.customerIdstring | nullNo
relatedobject[]Yes
related[].idstringNo
related[].atnumberNo
related[].eventstringNo
related[].categorystringNo
related[].outcomestringNo
related[].messagestringNo
related[].summarystring | nullNo
related[].errorstring | nullNo
related[].actorKindstringNo
related[].actorIdstring | nullNo
related[].featurestring | nullNo
related[].durationMsnumber | nullNo
related[].detailsobjectNo
related[].conversationIdstring | nullNo
related[].docIdstring | nullNo
related[].signalIdstring | nullNo
related[].customerIdstring | nullNo
relatedLimitedbooleanYes
aboutobject[]Yes
about[].kind"conversation" | "doc" | "signal" | "customer"Yes
about[].labelstringYes
about[].hrefstringYes

Example request

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

Still need help?

    Esc