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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The entry's id from GET /logs. |
Responses
| Status | Description |
|---|---|
200 | The entry, what it touched, and its conversation's other entries. |
400 | The request is malformed, and the message names the field. |
401 | The bearer token is missing, revoked, or expired. |
403 | The token's person does not hold the role this needs. |
404 | Not one of yours, or not there at all. |
429 | Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits. |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
entry | object | Yes | |
entry.id | string | No | |
entry.at | number | No | |
entry.event | string | No | |
entry.category | string | No | |
entry.outcome | string | No | |
entry.message | string | No | |
entry.summary | string | null | No | |
entry.error | string | null | No | |
entry.actorKind | string | No | |
entry.actorId | string | null | No | |
entry.feature | string | null | No | |
entry.durationMs | number | null | No | |
entry.details | object | No | |
entry.conversationId | string | null | No | |
entry.docId | string | null | No | |
entry.signalId | string | null | No | |
entry.customerId | string | null | No | |
related | object[] | Yes | |
related[].id | string | No | |
related[].at | number | No | |
related[].event | string | No | |
related[].category | string | No | |
related[].outcome | string | No | |
related[].message | string | No | |
related[].summary | string | null | No | |
related[].error | string | null | No | |
related[].actorKind | string | No | |
related[].actorId | string | null | No | |
related[].feature | string | null | No | |
related[].durationMs | number | null | No | |
related[].details | object | No | |
related[].conversationId | string | null | No | |
related[].docId | string | null | No | |
related[].signalId | string | null | No | |
related[].customerId | string | null | No | |
relatedLimited | boolean | Yes | |
about | object[] | Yes | |
about[].kind | "conversation" | "doc" | "signal" | "customer" | Yes | |
about[].label | string | Yes | |
about[].href | string | Yes |
Example request
curl https://api.median.sh/v1/logs/id \
-H "Authorization: Bearer $BEARER_AUTH"