Get log

Returns one log for your workspace, including redacted request and response payloads. A log id that belongs to another workspace returns 404 NOT_FOUND.
https://api.unipost.dev
GET/v1/logs/:id
Authorization
In header ยท Bearer <token>
Path
integer

Authorization

AuthorizationBearer <token>In header
Workspace API key, or a dashboard Clerk session.

Path Params

idinteger
Numeric log id, for example 110966.

Response Body

200
data.idinteger
Numeric log id.
data.workspace_idstring
Owning workspace. Always your authenticated workspace.
data.tsstring
RFC3339 event timestamp.
data.levelstring
Severity level.
data.statusstring
Outcome status.
data.categorystring
Log category.
data.actionstring
Specific log action.
data.sourcestring
Origin of the log.
data.messagestring
Human-readable summary.
data.metadataobject
Structured, log-specific context.
data.request_payloadobject | null
Redacted captured request. Sensitive keys are replaced with [REDACTED].
data.response_payloadobject | null
Redacted captured response.
request_idstring
Request identifier for this API call.
401
error.codestring
Usually "UNAUTHORIZED" or "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
404
error.codestring
Usually "UNAUTHORIZED" or "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
500
error.codestring
Usually "UNAUTHORIZED" or "NOT_FOUND".
error.normalized_codestring
Lowercase alias such as "not_found".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.