Spectro Cloud audits API

The audits API from Spectro Cloud — 4 operation(s) for audits.

Operations 4

GET /v1/audits Retrieves the list of audit logs #
GET /v1/audits/{uid} Returns the specified audit log #
GET /v1/audits/{uid}/sysMsg Returns the specified system audit message #
PATCH /v1/audits/{uid}/userMsg Updates the specified user message for the specified audit #

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/spectro-cloud-audits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

spectro-cloud-audits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Local Management APIs activations Audits API
  version: v1
servers:
- url: https://edge-host-ip:5080
tags:
- name: audits
  x-displayName: Audits
paths:
  /v1/audits:
    get:
      operationId: v1AuditsList
      parameters:
      - description: Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.
        in: query
        name: startTime
        schema:
          type: string
          format: date-time
      - description: Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.
        in: query
        name: endTime
        schema:
          type: string
          format: date-time
      - description: Specify the user uid, to retrieve the specific user audit logs
        in: query
        name: userUid
        schema:
          type: string
      - description: Specify the project uid, to retrieve the specific project audit logs
        in: query
        name: projectUid
        schema:
          type: string
      - description: Specify the tenant uid, to retrieve the specific tenant audit logs
        in: query
        name: tenantUid
        schema:
          type: string
      - description: Specify the resource name, to retrieve the specific resource audit logs
        in: query
        name: resourceKind
        schema:
          type: string
      - description: Specify the resource uid, to retrieve the specific resource audit logs
        in: query
        name: resourceUid
        schema:
          type: string
      - in: query
        name: actionType
        schema:
          type: string
          enum:
          - create
          - update
          - delete
          - publish
          - deploy
          - activity
          - action
      - description: 'limit is a maximum number of responses to return for a list call. Default and maximum value of the limit is 50.

          If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results.'
        in: query
        name: limit
        schema:
          type: integer
          format: int64
          default: 50
      - description: offset is the next index number from which the response will start. The response offset value can be used along with continue token for the pagination.
        in: query
        name: offset
        schema:
          type: integer
          format: int64
      - description: continue token to paginate the subsequent data items
        in: query
        name: continue
        schema:
          type: string
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        schema:
          type: string
      responses:
        '200':
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1Audits'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Retrieves the list of audit logs
      tags:
      - audits
  /v1/audits/{uid}:
    parameters:
    - description: Specify the audit uid
      in: path
      name: uid
      required: true
      schema:
        type: string
    get:
      operationId: v1AuditsUidGet
      parameters:
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        schema:
          type: string
      responses:
        '200':
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1Audit'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the specified audit log
      tags:
      - audits
  /v1/audits/{uid}/sysMsg:
    parameters:
    - description: Specify the audit uid
      in: path
      name: uid
      required: true
      schema:
        type: string
    get:
      operationId: v1AuditsUidGetSysMsg
      parameters:
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        schema:
          type: string
      responses:
        '200':
          description: (empty)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1AuditSysMsg'
      security:
      - ApiKey: []
      - Authorization: []
      summary: Returns the specified system audit message
      tags:
      - audits
  /v1/audits/{uid}/userMsg:
    parameters:
    - description: Specify the audit uid
      in: path
      name: uid
      required: true
      schema:
        type: string
    patch:
      operationId: v1AuditsUidMsgUpdate
      parameters:
      - description: A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
        in: header
        name: ProjectUid
        schema:
          type: string
      responses:
        '204':
          description: The resource was updated successfully
      security:
      - ApiKey: []
      - Authorization: []
      summary: Updates the specified user message for the specified audit
      tags:
      - audits
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1AuditMsgUpdate'
components:
  schemas:
    v1AuditResourceReference:
      description: Audit resource reference object
      properties:
        kind:
          description: Audit resource type
          type: string
        label:
          description: Audit resource label
          type: string
        name:
          description: Audit resource name
          type: string
        uid:
          description: Audit resource uid
          type: string
      required:
      - uid
      type: object
    v1AuditMsgUpdate:
      description: Audit user message update request payload
      properties:
        userMsg:
          description: User message
          maxLength: 255
          minLength: 3
          type: string
      type: object
    v1Audits:
      properties:
        items:
          description: List of audit message
          items:
            $ref: '#/components/schemas/v1Audit'
          type: array
          uniqueItems: true
        listmeta:
          $ref: '#/components/schemas/v1ListMetaData'
      required:
      - items
      type: object
    v1ProjectMeta:
      properties:
        name:
          type: string
        uid:
          type: string
      type: object
    v1Audit:
      description: Audit response payload
      properties:
        metadata:
          $ref: '#/components/schemas/v1ObjectMeta'
        spec:
          $ref: '#/components/schemas/v1AuditSpec'
      type: object
    v1AuditSpec:
      description: Audit specifications
      properties:
        actionMsg:
          description: Audit action message
          type: string
        actionType:
          enum:
          - create
          - update
          - delete
          - publish
          - deploy
          - activity
          - action
          type: string
        actor:
          $ref: '#/components/schemas/v1AuditActor'
        contentMsg:
          description: Audit content message
          type: string
        resource:
          $ref: '#/components/schemas/v1AuditResourceReference'
        userMsg:
          description: Audit user message
          type: string
    v1ObjectMeta:
      description: ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
      properties:
        annotations:
          additionalProperties:
            type: string
          description: 'Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
          type: object
        creationTimestamp:
          $ref: '#/components/schemas/v1Time'
          description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.


            Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
        deletionTimestamp:
          $ref: '#/components/schemas/v1Time'
          description: 'DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.


            Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
        labels:
          additionalProperties:
            type: string
          description: 'Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels'
          type: object
        lastModifiedTimestamp:
          $ref: '#/components/schemas/v1Time'
          description: 'LastModifiedTimestamp is a timestamp representing the server time when this object was last modified. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.


            Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata'
        name:
          description: 'Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
          type: string
        uid:
          description: 'UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.


            Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids'
          type: string
      type: object
    v1ListMetaData:
      description: ListMeta describes metadata for the resource listing
      properties:
        continue:
          description: Next token for the pagination. Next token is equal to empty string indicates end of result set.
          type: string
          x-omitempty: false
        count:
          description: Total count of the resources which might change during pagination based on the resources addition or deletion
          type: integer
          x-omitempty: false
        limit:
          description: Number of records feteched
          type: integer
          x-omitempty: false
        offset:
          description: The next offset for the pagination. Starting index for which next request will be placed.
          type: integer
          x-omitempty: false
      type: object
    v1Time:
      description: Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.
      format: date-time
      type: string
    v1UserMeta:
      properties:
        emailId:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        org:
          type: string
        uid:
          type: string
      type: object
    v1AuditActor:
      description: Audit actor object
      properties:
        actorType:
          enum:
          - user
          - system
          - service
          type: string
        project:
          $ref: '#/components/schemas/v1ProjectMeta'
        serviceName:
          type: string
        user:
          $ref: '#/components/schemas/v1UserMeta'
    v1AuditSysMsg:
      description: Audit system message
      properties:
        actionMsg:
          description: Audit resource action message
          type: string
        contentMsg:
          description: Audit resource content message
          type: string
      type: object
  securitySchemes:
    Authorization:
      description: JWT authorization token obtained using /v1/users/default/login API
      type: apiKey
      name: Authorization
      in: header