naftiko: 1.0.0-alpha2 info: label: Escape Public API — Audit description: 'Escape Public API — Audit. 1 operations. Lead operation: List audit logs. Self-contained Naftiko capability covering one Escape business surface.' tags: - Escape - Audit created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ESCAPE_API_KEY: ESCAPE_API_KEY capability: consumes: - type: http namespace: escape-audit baseUri: https://public.escape.tech/v3 description: Escape Public API — Audit business capability. Self-contained, no shared references. resources: - name: audit-logs path: /audit/logs operations: - name: listauditlogs method: GET description: List audit logs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cursor in: query type: string description: The cursor to start the pagination from. Returned by the previous page response. If not provided, the first page will be returned. - name: size in: query type: integer description: The number of items to return per page - name: sortType in: query type: string description: The type to sort by - name: sortDirection in: query type: string description: The direction to sort by - name: startTime in: query type: string description: An ISO 8601 timestamp to filter audit logs after - name: endTime in: query type: string description: An ISO 8601 timestamp to filter audit logs before - name: action in: query type: string description: Filter by action type - name: actor in: query type: string description: Filter by actor - name: search in: query type: string description: Filter by search term authentication: type: apikey key: X-ESCAPE-API-KEY value: '{{env.ESCAPE_API_KEY}}' placement: header exposes: - type: rest namespace: escape-audit-rest port: 8080 description: REST adapter for Escape Public API — Audit. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/audit/logs name: audit-logs description: REST surface for audit-logs. operations: - method: GET name: listauditlogs description: List audit logs call: escape-audit.listauditlogs with: cursor: rest.cursor size: rest.size sortType: rest.sortType sortDirection: rest.sortDirection startTime: rest.startTime endTime: rest.endTime action: rest.action actor: rest.actor search: rest.search outputParameters: - type: object mapping: $. - type: mcp namespace: escape-audit-mcp port: 9090 transport: http description: MCP adapter for Escape Public API — Audit. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-audit-logs description: List audit logs hints: readOnly: true destructive: false idempotent: true call: escape-audit.listauditlogs with: cursor: tools.cursor size: tools.size sortType: tools.sortType sortDirection: tools.sortDirection startTime: tools.startTime endTime: tools.endTime action: tools.action actor: tools.actor search: tools.search outputParameters: - type: object mapping: $.