Lassare Logs API
The Logs API from Lassare — 1 operation(s) for logs.
The Logs API from Lassare — 1 operation(s) for logs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/lassare-com:lassare-com-logs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Lassare Gateway Logs API
description: Human-in-the-Loop (HITL) middleware for AI agents
version: 1.0.0
tags:
- name: Logs
paths:
/v1/v1/logs:
get:
tags:
- Logs
summary: Get Logs
description: 'Query audit logs with filters and pagination (T093).
Requires admin role. Returns PII-redacted logs for non-privileged users.
Args:
start: Start time filter (ISO 8601)
end: End time filter (ISO 8601)
actorId: Filter by actor
eventType: Filter by event type
requestId: Filter by specific request
limit: Results per page
cursor: Pagination cursor
current_user: Authenticated admin user
audit_service: AuditService instance
Returns:
Dict with:
- items: List of audit entries
- nextCursor: Pagination cursor for next page (null if no more results)
Raises:
400: Invalid query parameters
403: User not admin'
operationId: get_logs_v1_v1_logs_get
parameters:
- name: start
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Start time in ISO 8601 format (e.g., 2025-10-28T00:00:00Z)
title: Start
description: Start time in ISO 8601 format (e.g., 2025-10-28T00:00:00Z)
- name: end
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: End time in ISO 8601 format
title: End
description: End time in ISO 8601 format
- name: actorId
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by actor (user ID or email)
title: Actorid
description: Filter by actor (user ID or email)
- name: eventType
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by event type (created, decision, notification_sent, expired, etc.)
title: Eventtype
description: Filter by event type (created, decision, notification_sent, expired, etc.)
- name: requestId
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by request ID
title: Requestid
description: Filter by request ID
- name: limit
in: query
required: false
schema:
type: integer
maximum: 1000
minimum: 1
description: 'Maximum number of results per page (default: 100, max: 1000)'
default: 100
title: Limit
description: 'Maximum number of results per page (default: 100, max: 1000)'
- name: cursor
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Pagination cursor from previous response
title: Cursor
description: Pagination cursor from previous response
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
title: Response Get Logs V1 V1 Logs Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError