cQnce Logs API

Request audit logs (requires tenant JWT)

GitHub OpenAPI

Operations 3

GET /v1/logs Get audit logs #
GET /v1/api-logs Get API logs #
GET /v1/api-logs/{id} Get API log entry #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cqnce-app:cqnce-app-logs-api"
All apis
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.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cqnce-app-logs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: cQnce Logs API
  description: 'Authorization-request routing and agent-management API for the cQnce platform.


    ## Authentication


    | Scheme | Header | Used by |

    |---|---|---|

    | Bearer JWT (tenant) | `Authorization: Bearer ` | Dashboard / admin routes |

    | Bearer JWT (agent) | `Authorization: Bearer ` | Agent mobile app routes |

    | API Key | `x-api-key: ` | Server-to-server request submission |'
  version: 1.0.0
  contact:
    name: cQnce Support
servers:
- url: https://api.cqnce.app
  description: Production
tags:
- name: Logs
  description: Request audit logs (requires tenant JWT)
paths:
  /v1/logs:
    get:
      tags:
      - Logs
      summary: Get audit logs
      description: Returns request audit log entries for the authenticated tenant. Supports filtering by request, project, and date range.
      operationId: getLogs
      security:
      - tenantJWT: []
      parameters:
      - name: requestId
        in: query
        schema:
          type: string
          format: uuid
        description: Filter by exact request ID (use `search` for partial matching)
      - name: search
        in: query
        schema:
          type: string
        description: Full-text search across request ID (partial match) and details content
      - name: event
        in: query
        schema:
          type: string
          enum:
          - REQUEST_CREATED
          - NO_RULE_MATCH
          - REQUEST_ROUTED_TO_PROJECT
          - ROUTING_STARTED
          - AGENTS_NOTIFIED
          - AGENT_NOTIFIED
          - SERIAL_PARALLEL_STEP_NOTIFIED
          - AGENT_SKIPPED
          - AGENT_RESPONDED
          - AGENT_TIMEOUT
          - CHAIN_STEP_APPROVED
          - REQUEST_RESOLVED
          - CALLBACK_DELIVERED
          - CALLBACK_FAILED
        description: Filter by event type
      - name: projectId
        in: query
        schema:
          type: string
          format: uuid
        description: Filter by project ID
      - name: startDate
        in: query
        schema:
          type: string
          format: date-time
        description: Filter by request creation date (from)
      - name: endDate
        in: query
        schema:
          type: string
          format: date-time
        description: Filter by request creation date (to)
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
          maximum: 200
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Paginated list of log entries
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PaginationMeta'
                - type: object
                  properties:
                    logs:
                      type: array
                      items:
                        $ref: '#/components/schemas/RequestLog'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/api-logs:
    get:
      tags:
      - Logs
      summary: Get API logs
      description: Returns HTTP API call log entries for the authenticated tenant. Supports filtering by source (APP, ADMIN, AGENT, PUBLIC, CALLBACK), project, auth request ID, and date range.
      operationId: getApiLogs
      security:
      - tenantJWT: []
      parameters:
      - name: source
        in: query
        schema:
          type: string
          enum:
          - APP
          - ADMIN
          - AGENT
          - PUBLIC
          - CALLBACK
        description: Filter by request source
      - name: projectId
        in: query
        schema:
          type: string
          format: uuid
        description: Filter by project ID
      - name: authRequestId
        in: query
        schema:
          type: string
          format: uuid
        description: Filter by the auth request ID that triggered the callback (useful for CALLBACK source logs)
      - name: startDate
        in: query
        schema:
          type: string
          format: date-time
        description: Filter by timestamp (from)
      - name: endDate
        in: query
        schema:
          type: string
          format: date-time
        description: Filter by timestamp (to)
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
          maximum: 200
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Paginated list of API log entries
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PaginationMeta'
                - type: object
                  properties:
                    logs:
                      type: array
                      items:
                        $ref: '#/components/schemas/ApiLog'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/api-logs/{id}:
    get:
      tags:
      - Logs
      summary: Get API log entry
      description: Returns a single API log entry by its UUID.
      operationId: getApiLogById
      security:
      - tenantJWT: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: API log entry ID
      responses:
        '200':
          description: API log entry
          content:
            application/json:
              schema:
                type: object
                properties:
                  log:
                    $ref: '#/components/schemas/ApiLog'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Log entry not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PaginationMeta:
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
    RequestLog:
      type: object
      properties:
        id:
          type: string
          format: uuid
        requestId:
          type: string
          format: uuid
        event:
          type: string
        details:
          type:
          - object
          - 'null'
        timestamp:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          example: Validation failed
        details:
          type: array
          items:
            type: object
    ApiLog:
      type: object
      properties:
        id:
          type: string
          format: uuid
        method:
          type: string
          example: POST
        path:
          type: string
          example: /requests
        statusCode:
          type: integer
          example: 200
        durationMs:
          type: integer
          example: 42
        source:
          type: string
          enum:
          - APP
          - ADMIN
          - AGENT
          - PUBLIC
          - CALLBACK
        tenantId:
          type:
          - string
          - 'null'
          format: uuid
        projectId:
          type:
          - string
          - 'null'
          format: uuid
        userId:
          type:
          - string
          - 'null'
          format: uuid
        agentId:
          type:
          - string
          - 'null'
          format: uuid
        agent:
          type:
          - object
          - 'null'
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
            surname:
              type:
              - string
              - 'null'
            phone:
              type: string
        authRequestId:
          type:
          - string
          - 'null'
          format: uuid
          description: The auth request that triggered this log entry (set for CALLBACK source logs)
        ip:
          type:
          - string
          - 'null'
        timestamp:
          type: string
          format: date-time
  securitySchemes:
    tenantJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued on tenant login (`POST /v1/auth/login`)
    agentJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued on agent login/register (`POST /v1/auth/agent/login` or `/register`)
    projectApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Per-project API key used for server-to-server request submission