Cloudsmith audit-log API

The audit-log API from Cloudsmith — 2 operation(s) for audit-log.

Operations 2

GET /audit-log/{owner}/ Lists audit log entries for a specific namespace. #
GET /audit-log/{owner}/{repo}/ Lists audit log entries for a specific repository. #

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/cloudsmith-audit-log-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

cloudsmith-audit-log-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudsmith API (v1) Audit Log API
  description: The API to the Cloudsmith Service
  termsOfService: https://help.cloudsmith.io
  contact:
    name: Cloudsmith Support
    url: https://help.cloudsmith.io
    email: support@cloudsmith.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  version: v1
servers:
- url: https://api.cloudsmith.io/
security:
- apikey: []
- basic: []
tags:
- name: audit-log
paths:
  /audit-log/{owner}/:
    parameters:
    - name: owner
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: audit_log_namespace_list
      summary: Lists audit log entries for a specific namespace.
      description: Lists audit log entries for a specific namespace.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      - name: query
        in: query
        description: A search term for querying events, actors, or timestamps of log records.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Retrieved the list of audit log entries
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NamespaceAuditLog'
        '402':
          description: Audit logs are not active; upgrade your account!
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - audit-log
  /audit-log/{owner}/{repo}/:
    parameters:
    - name: owner
      in: path
      required: true
      schema:
        type: string
    - name: repo
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: audit_log_repo_list
      summary: Lists audit log entries for a specific repository.
      description: Lists audit log entries for a specific repository.
      parameters:
      - name: page
        in: query
        description: A page number within the paginated result set.
        required: false
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of results to return per page.
        required: false
        schema:
          type: integer
      - name: query
        in: query
        description: A search term for querying events, actors, or timestamps of log records.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Retrieved the list of audit log entries
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RepositoryAuditLog'
        '402':
          description: Audit logs are not active; upgrade your account!
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '400':
          description: Request could not be processed (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
        '422':
          description: Missing or invalid parameters (see detail).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDetail'
      tags:
      - audit-log
components:
  schemas:
    RepositoryAuditLog:
      required:
      - actor
      - actor_ip_address
      - actor_location
      - actor_slug_perm
      - context
      - event
      - event_at
      - object
      - object_kind
      - object_slug_perm
      type: object
      properties:
        actor:
          title: Actor
          type:
          - string
          - 'null'
          minLength: 1
        actor_ip_address:
          title: Actor ip address
          type:
          - string
          - 'null'
          minLength: 1
        actor_kind:
          title: Actor kind
          type: string
          readOnly: true
        actor_location:
          $ref: '#/components/schemas/GeoIpLocation'
        actor_slug_perm:
          title: Actor slug perm
          type:
          - string
          - 'null'
          minLength: 1
        actor_url:
          title: Actor url
          type:
          - string
          - 'null'
          format: uri
          readOnly: true
        context:
          title: Context
          type: string
          minLength: 1
        event:
          title: Event
          type: string
          minLength: 1
        event_at:
          title: Event at
          type: string
          format: date-time
        object:
          title: Object
          type: string
          minLength: 1
        object_kind:
          title: Object kind
          type: string
          minLength: 1
        object_slug_perm:
          title: Object slug perm
          type: string
          minLength: 1
        uuid:
          title: Uuid
          type: string
          format: uuid
          readOnly: true
    ErrorDetail:
      required:
      - detail
      type: object
      properties:
        detail:
          title: Detail
          description: An extended message for the response.
          type: string
          minLength: 1
        fields:
          title: Fields
          description: 'A Dictionary of related errors where key: Field and value: Array of Errors related to that field'
          type: object
          additionalProperties:
            type: array
            items:
              type: string
              minLength: 1
    NamespaceAuditLog:
      required:
      - actor
      - actor_ip_address
      - actor_location
      - actor_slug_perm
      - context
      - event
      - event_at
      - object
      - object_kind
      - object_slug_perm
      - target
      - target_kind
      type: object
      properties:
        actor:
          title: Actor
          type:
          - string
          - 'null'
          minLength: 1
        actor_ip_address:
          title: Actor ip address
          type:
          - string
          - 'null'
          minLength: 1
        actor_kind:
          title: Actor kind
          type: string
          readOnly: true
        actor_location:
          $ref: '#/components/schemas/GeoIpLocation'
        actor_slug_perm:
          title: Actor slug perm
          type:
          - string
          - 'null'
          minLength: 1
        actor_url:
          title: Actor url
          type:
          - string
          - 'null'
          format: uri
          readOnly: true
        context:
          title: Context
          type: string
          minLength: 1
        event:
          title: Event
          type: string
          minLength: 1
        event_at:
          title: Event at
          type: string
          format: date-time
        object:
          title: Object
          type: string
          minLength: 1
        object_kind:
          title: Object kind
          type: string
          minLength: 1
        object_slug_perm:
          title: Object slug perm
          type: string
          minLength: 1
        target:
          title: Target
          type: string
          minLength: 1
        target_kind:
          title: Target kind
          type: string
          minLength: 1
        target_slug_perm:
          title: Target slug perm
          type:
          - string
          - 'null'
          format: slug
          pattern: ^[-a-zA-Z0-9_]+$
          maxLength: 24
        uuid:
          title: Uuid
          type: string
          format: uuid
          readOnly: true
    GeoIpLocation:
      required:
      - city
      - continent
      - country
      - postal_code
      type: object
      properties:
        city:
          title: City
          type:
          - string
          - 'null'
          minLength: 1
        continent:
          title: Continent
          type:
          - string
          - 'null'
          minLength: 1
        country:
          title: Country
          type:
          - string
          - 'null'
          minLength: 1
        country_code:
          title: Country code
          type: string
          readOnly: true
        latitude:
          title: Latitude
          type:
          - string
          - 'null'
          format: decimal
        longitude:
          title: Longitude
          type:
          - string
          - 'null'
          format: decimal
        postal_code:
          title: Postal code
          type:
          - string
          - 'null'
          minLength: 1
  securitySchemes:
    apikey:
      type: apiKey
      name: X-Api-Key
      in: header
    basic:
      type: http
      scheme: basic