# Get a single query log by ID Retrieves a specific query log record by its unique identifier. Useful for examining the details of a particular API operation that was logged. Endpoint: GET /query-logs/{queryLogId} Version: 1.0.0 Security: bearerAuth ## Path parameters: - `queryLogId` (string, required) The unique UUID of the query log to retrieve Example: "01234567-89ab-cdef-0123-456789abcdef" ## Response 200 fields (application/json): - `id` (string, required) Unique query log ID Example: "01234567-89ab-cdef-0123-456789abcdef" - `operationType` (string, required) Type of operation performed Enum: "GET", "OPEN", "CREATE", "UPDATE", "ANALYZE", "GET_MANY", "OPEN_MANY", "CREATE_MANY", "UPDATE_MANY", "ANALYZE_MANY", "DELETE" - `operationScope` (string) Scope of the operation - content or dataspace level Enum: "content", "dataspace" - `userId` (string, required) ID of the user who performed the query Example: "scd-dev00001" - `userEmail` (string) Email of the user who performed the query Example: "user@syncdocs.com" - `contentName` (string) Name of the content that was operated on Example: "Sidewalk Permit" - `contentId` (string,null, required) ID of the content operated on, null for LIST operations Example: "98765432-1abc-def0-1234-56789abcdef0" - `dataspaceId` (string, required) Short dataspace ID with sds- prefix Example: "sds-dev00001" - `operationSource` (string, required) Whether the operation was explicit or implicit Enum: "explicit", "implicit" - `query` (object, required) JSONB format information to reconstruct the API call Example: {"method":"POST","path":"/api/content/sds-dev00001","params":{"dataspaceId":"sds-dev00001"},"query":{},"body":{"categoryId":"12345678-90ab-cdef-1234-567890abcdef","metadata":{"permitType":"sidewalk","applicantName":"John Doe"},"fileFormat":"application/pdf","fileName":"sidewalk_permit_001.pdf"},"headers":{"content-type":"multipart/form-data","user-agent":"axios/1.6.0"},"timestamp":"2025-06-10T20:28:42.113Z"} - `parentId` (string,null, required) ID of the parent query log, used for LIST/Inferred logging type Example: "02345678-9abc-def0-1234-56789abcdef1" - `queriedAt` (string, required) Timestamp of when the query was performed Example: "2025-06-10T20:28:42.113Z" ## Response 401 fields (application/json): - `error` (string) Example: "Unauthorized - No credentials provided" ## Response 404 fields (application/json): - `error` (string) Example: "Query log with ID 01234567-89ab-cdef-0123-456789abcdef not found" ## Response 500 fields (application/json): - `error` (string) Example: "Internal server error"