Developer centerv1.0.0
Documentation menu
Data models

SearchLogResponse

Fields, types and constraints for the SearchLogResponse public API model.

One tenant-scoped search audit record.

Fields

FieldTypeConstraintExampleVisibility
status

Whether the operation completed successfully.

booleanfalsePublic contract
_id

Audit record id.

string"example"Public contract
institutionId

Authenticated tenant institution id.

string"example"Public contract
apiKeyId

API key that made the request or is used as a filter.

stringnullable"example"Public contract
userId

Tenant user that made the request.

stringnullable"example"Public contract
searchType

API-key public search or JWT tenant search.

stringenum: public | private"public"Public contract
query

Value of the `query` field.

SearchQuery{}Public contract
success

Whether the request completed successfully.

booleanfalsePublic contract
httpStatus

Recorded HTTP response status.

integer0Public contract
errorCode

Machine-readable failure code.

stringnullable"example"Public contract
errorMessage

Safe failure summary.

stringnullable"example"Public contract
actorType

API key or user actor type.

stringenum: apiKey | user"apiKey"Audit data
actorSnapshot

Limited actor snapshot without secrets.

objectnullable{}Audit data
resultSummary

Limited audit summary of a search result.

object{}Public contract
resultCount

Number of results returned by the search.

integer0Public contract
hasMatch

Whether the search returned at least one candidate.

booleanfalsePublic contract
responseSnapshot

Search response snapshot returned only by the detail endpoint.

objectnullable{}Audit data
userAgent

Safely stored request user-agent.

stringnullable"example"Audit data
ip

Request IP shown in the tenant report.

stringnullable"example"Personal context
responseTime

Request duration in milliseconds.

number0Public contract
expiresAt

Time when the audit record expires.

stringformat: date-time · nullable"2026-07-14T12:00:00Z"Public contract
createdAt

Record creation time.

stringformat: date-time"2026-07-14T12:00:00Z"Public contract
updatedAt

Record update time.

stringformat: date-time"2026-07-14T12:00:00Z"Public contract

Machine-readable schema

The model is published under the same name in the JSON Schema bundle.

JSON Schema

Decision boundary

An API result is a candidate match. A final sanctions or compliance decision requires official-source verification and human review.