> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List audit logs

> `GET /audit-logs`

Lists the actions recorded in your organization. An organization administrator sees every record in the organization; other users see only the records concerning them.

Filter by actor, activity, target entity and time range; every supplied filter must match (filters are combined with AND, while multiple values for the same filter match any of them). Records are ordered by when the action occurred.

Page through results either with an `offset` for shallow access, or by following the opaque `nextCursor` returned in the pagination metadata for deep traversal and exports. When you pass a `cursor`, send it on its own.

---

**Required user rights:** `view_logs`



## OpenAPI

````yaml /api-v2/openapi.json get /audit-logs
openapi: 3.0.3
info:
  title: Circularo API v2
  description: >-
    Circularo API v2 gives programmatic access to Circularo, the platform for
    intelligent document management, electronic and digital signing, and the
    signing and approval processes that move your documents forward.


    Use this API to embed Circularo directly into your own products and systems:
    automate the document lifecycle end to end, send documents out to be signed
    and approved, collect the evidence of what happened, manage users and
    access, and stay in sync through real-time events.


    ## Capabilities


    * **Documents:** Create, organize, and search documents, then seal or
    annotate them, clone them, and create a shareable view link — with a
    tamper-proof audit trail behind every one.

    * **Transactions:** Send a document to one or more recipients to be signed,
    approved, reviewed, or accepted — in parallel or in a set order, with
    identity verification for recipients who have no Circularo account — or sign
    it yourself. Track a running transaction, remind, replace or remove its
    recipients, and cancel it.

    * **Templates:** Start a transaction from a template prepared in the
    Circularo web app, with its placed fields and recipient roles already laid
    out for you.

    * **Files, folders & metadata:** Upload reusable files, describe documents
    with metadata definitions, and organize them into personal or shared
    folders.

    * **Exports:** Download a document together with its audit trail and
    certificate of fulfillment, or have a whole folder tree, a filtered set of
    documents, or your own account data archived in the background.

    * **Administration:** Provision and manage the members of your organization,
    control who belongs to which group, and review a complete audit log of
    activity.

    * **Reporting:** Read organization-wide reports and predefined analytics
    dashboards.

    * **Real-time events:** Subscribe to webhooks to react the moment a document
    is created, signed, or completed.


    ## Authentication


    Authenticate every request with a long-lived API key. Create your first key
    from the Circularo web app, then create, list, and revoke additional keys
    through this API. Read `GET /me` to see which account a key belongs to and
    what it is allowed to do.
  termsOfService: https://terms.circularo.com/
  contact:
    name: Circularo
    url: https://developers.circularo.com/
    email: support@circularo.com
  version: 26.2.0
servers:
  - url: https://sandbox.circularo.com/api/v2
security:
  - ApiKey: []
tags:
  - name: API Keys
    description: >-
      An API key is the long-lived, secret credential your integration uses to
      authenticate with Circularo. A key stays valid as long as it is in regular
      use; store it securely, and revoke any key that is no longer needed or may
      have been exposed.
  - name: Audit Logs
    description: >-
      The audit log is the record of actions taken across your organization —
      who did what, to which entity, and when. Search and page through it,
      filtering by actor, activity, target and time range, with an offset for
      shallow access or an opaque cursor for deep traversal and exports.
  - name: Dashboards
    description: >-
      Dashboards are your organization's predefined analytics — document and
      transaction metrics aggregated for reporting and visualization. List the
      dashboards your account can access, then run one to read back its labeled,
      chart-ready data series.
  - name: Documents
    description: >-
      A document combines a main file with metadata, custom fields, and optional
      attachments — the central object you create, search, and manage in
      Circularo. Act on a document directly by sealing or annotating it, clone
      it, read the text of its main file, or create a shareable view link, and
      organize it into folders. Every document carries a transaction identifier
      for tracking its signing or approval process.
  - name: Exports
    description: >-
      An export job packages your documents, folders, or account data into a
      downloadable ZIP archive in the background. Create an export from the
      respective resource, poll it here until it completes, then download the
      resulting archive by its file identifier.
  - name: Files
    description: >-
      A file is a reusable binary you upload once and then reference by its
      identifier wherever a file is needed — as a document's main file, an
      attachment, or an image placed on a page. Upload files and download them
      again; for PDFs, you can also locate signature anchors at upload time.
  - name: Folders
    description: >-
      A folder organizes your documents into a tree — your personal tree, which
      is yours alone, or your organization's shared tree. Nest folders under one
      another, move them within their tree, and search across them to build and
      navigate the structure that fits your workflow.
  - name: Groups
    description: >-
      A group bundles the permissions and access granted to its members —
      including your organization itself, which is represented as a group.
      Browse the groups in your organization and manage who belongs to them.
      Both require organization administrator permissions.
  - name: Me
    description: >-
      The account that your API key belongs to — your identity, role, granted
      permissions, locale preferences, and account status. Read it to discover
      which account a key is connected to and what it is allowed to do.
  - name: Metadata Definitions
    description: >-
      A metadata definition describes the structure of a document — the metadata
      fields it accepts — so you know which metadata to supply when creating or
      working with documents. Browse the definitions available to your account.
  - name: Ping
    description: >-
      Check that Circularo API v2 is reachable and responding. Use it from your
      monitoring or before an integration run to verify connectivity. No
      authentication is required.
  - name: Reports
    description: >-
      A report is an organization-wide view over your documents and their
      transactions — each row pairs a document with the status, timing, activity
      counts and recipients of its transaction, for auditing signing activity,
      tracking processing times, and feeding compliance and analytics tooling.
      Filter by creation time, transaction status, metadata definition,
      category, creator and owner, and page through results with an offset or an
      opaque cursor.
  - name: Templates
    description: >-
      A template is a reusable blueprint for creating transactions, prepared in
      the Circularo web app. Every template carries document defaults — a source
      file, a name and a metadata definition; a signing template additionally
      carries the placed fields and defines the recipient roles and their
      routing. Browse the templates available to your account, then create a
      transaction from one by referencing it and casting recipients into its
      roles.
  - name: Transactions
    description: >-
      A transaction gets a document signed, approved, reviewed or accepted — by
      other people, by yourself, or both. Start one on an existing document or
      create the document in the same call; send it to recipients, defining who
      takes part, what each of them is asked to do, and optional verification
      for recipients without a Circularo account — or sign it yourself, which
      completes the transaction immediately. Once it is running, track its
      progress, remind recipients, update or reassign them, and cancel it when
      it is no longer needed. Transactions have no separate search — find them
      by searching your documents, each of which carries its transaction's
      status and pending recipients.
  - name: Users
    description: >-
      A user is a member of your organization. What they may do is set through
      their role, while the organization is assigned automatically.
      Provisioning, updating, and removing members requires organization
      administrator permissions.
  - name: Webhooks
    description: >-
      A webhook subscribes your systems to document events in your organization.
      Register an HTTPS callback URL to receive real-time notifications when
      documents are created, signed or completed; each payload can optionally
      carry a signature so you can verify it originates from Circularo. Managing
      webhooks requires organization administrator permissions.
externalDocs:
  description: Guides
  url: https://developers.circularo.com/latest/guides
paths:
  /audit-logs:
    get:
      tags:
        - Audit Logs
      summary: List audit logs
      description: >-
        `GET /audit-logs`


        Lists the actions recorded in your organization. An organization
        administrator sees every record in the organization; other users see
        only the records concerning them.


        Filter by actor, activity, target entity and time range; every supplied
        filter must match (filters are combined with AND, while multiple values
        for the same filter match any of them). Records are ordered by when the
        action occurred.


        Page through results either with an `offset` for shallow access, or by
        following the opaque `nextCursor` returned in the pagination metadata
        for deep traversal and exports. When you pass a `cursor`, send it on its
        own.


        ---


        **Required user rights:** `view_logs`
      operationId: listAuditLogs
      parameters:
        - in: query
          name: activityTarget
          description: >-
            Return only records targeting one of these entity kinds.


            - `acl`: An access control list entry.

            - `api_token`: An API key.

            - `document`: A document.

            - `file`: A stored file, such as an upload not yet attached to any
            document.

            - `form`: A metadata definition.

            - `group`: A group or an organization.

            - `language`: A language or its translations.

            - `notification`: A notification.

            - `plan`: A subscription plan.

            - `right`: A permission (right).

            - `settings`: Settings.

            - `stamp`: A signature stamp.

            - `stripe`: A Stripe billing object.

            - `subscription`: A subscription.

            - `template`: A template documents are created from.

            - `unknown`: An unspecified or unrecognized entity.

            - `user`: A user account.

            - `webhook`: A webhook subscription.

            - `workflow`: A workflow.
          required: false
          schema:
            type: array
            items:
              type: string
              enum:
                - acl
                - api_token
                - document
                - file
                - form
                - group
                - language
                - notification
                - plan
                - right
                - settings
                - stamp
                - stripe
                - subscription
                - template
                - unknown
                - user
                - webhook
                - workflow
        - in: query
          name: activityType
          description: >-
            Return only records of one of these actions.


            - `alert_sent`: An alert notification was sent.

            - `annotated`: An annotation was added.

            - `attachment_replaced`: An attachment was replaced.

            - `attachment_updated`: An attachment was updated.

            - `audit_trail_saved`: The audit trail was saved.

            - `auth_provider_requested`: Authentication with an external
            provider was requested.

            - `auth_provider_responded`: An external authentication provider
            responded.

            - `cancelled`: The entity was cancelled.

            - `certificate_added`: A certificate was added.

            - `certificate_removed`: A certificate was removed.

            - `cloned`: The entity was cloned.

            - `content_recognized`: Text content was recognized within a
            document.

            - `created`: The entity was created.

            - `deleted`: The entity was deleted.

            - `edited`: The entity was edited.

            - `executed`: The entity was executed.

            - `expired`: The entity expired.

            - `exported`: The entity was exported into a file.

            - `factor_unlock`: An additional authentication factor was unlocked.

            - `kyc_verification_failed`: A recipient's KYC identity verification
            failed.

            - `kyc_verification_succeeded`: A recipient successfully passed KYC
            identity verification.

            - `labeled`: A label was applied.

            - `language_added`: A language was added.

            - `language_deleted`: A language was deleted.

            - `language_edited`: A language was edited.

            - `language_import`: Languages were imported.

            - `linked`: The entity was linked.

            - `llm_extracted`: A language model was asked to analyze the
            document on request, such as for its summary, category or tags —
            recorded whether or not the call succeeded.

            - `llm_summarized`: A language model was asked for a summary of the
            document automatically once its text had been extracted - recorded
            whether or not the call succeeded.

            - `llm_terms_detected`: A language model was asked to detect the
            contract term values of a document or an uploaded file, to offer
            them as suggestions - recorded whether or not the call succeeded.

            - `locked`: The entity was locked, so that documents can be bound to
            it.

            - `logged`: A user signed in.

            - `merged`: The entity was merged.

            - `moved_to_folder`: The entity was moved to a folder.

            - `owner_changed`: Ownership was transferred.

            - `owner_contacted`: A message was sent to the owner of the entity.

            - `password_reset_completed`: A password reset was completed.

            - `password_reset_requested`: A password reset was requested.

            - `pdf_preview_updated`: Generating the PDF preview of an office
            file finished or failed.

            - `read`: The entity was read.

            - `reassigned`: The entity was reassigned.

            - `recovery_used`: A recovery code was used.

            - `registered`: A user registered.

            - `rejected`: The entity was rejected.

            - `reminded`: A reminder was sent.

            - `renamed`: The entity was renamed.

            - `renewed`: The document expiration date was extended by a contract
            renewal.

            - `reverted`: The entity was reverted to a previous state.

            - `rights_updated`: Permissions were updated.

            - `sealed`: The document was sealed.

            - `send`: The entity was sent.

            - `shared`: The entity was shared.

            - `share_auto_delegated`: A share was automatically delegated.

            - `share_deactivated`: A share was deactivated.

            - `share_delegated`: A share was delegated to another recipient.

            - `share_deleted`: A share was deleted.

            - `share_edited`: A share was edited.

            - `share_no_longer_needed`: A share was marked as no longer needed.

            - `share_on_turn`: A share became active in its signing turn.

            - `share_reassigned`: A share was reassigned.

            - `share_recipient_changed`: A share recipient was changed.

            - `share_simple_action`: A simple action was performed on a share.

            - `share_token_generated_by_sharer`: A share access token was
            generated by the sharer.

            - `share_verification_reduced`: The expected identity data was
            dropped from a share's verification when the share was handed over
            to a new recipient.

            - `share_verification_removed`: A share's verification was removed
            because the share was handed over to an internal recipient.

            - `signed`: The document was signed.

            - `starred`: The entity was starred.

            - `subscription_limits_lock`: Something happened around the
            subscription limits lock of an on-premise installation:
            `generic.status` says whether a lock was set, replaced, its write
            rejected, or a change refused because of it, and `generic.error`
            gives the reason. The lock itself and the limits it holds are never
            recorded.

            - `tags_updated`: Tags were updated.

            - `template_released`: The document was released from the template
            it was bound to, because that template had been deleted.

            - `term_reminder_retargeted`: The inactive recipients of a document
            expiration reminder were replaced by the document owner.

            - `term_reminder_sent`: A document expiration reminder was sent.

            - `thumbnail_updated`: A thumbnail was updated.

            - `timestamped`: A trusted timestamp was added to the document,
            without a seal certificate.

            - `translation_key_bulk`: Translation keys were changed in bulk.

            - `translation_key_added`: A translation key was added.

            - `translation_key_deleted`: A translation key was deleted.

            - `translation_key_edited`: A translation key was edited.

            - `translation_key_replaced`: A translation key was replaced.

            - `trashed`: The entity was moved to the trash.

            - `unlinked`: The entity was unlinked.

            - `unlocked`: The entity was unlocked, so that no further document
            can be bound to it.

            - `unread`: The entity was marked as unread.

            - `unshared`: Users or groups the entity was shared with lost the
            access to it.

            - `unstarred`: The entity was unstarred.

            - `untrashed`: The entity was restored from the trash.

            - `used`: The entity was used.

            - `dss_verified`: A signature was verified against a digital
            signature service.

            - `webhook_received`: A webhook payload was received.

            - `workflow_action_executed`: A workflow action was executed.

            - `workflow_cancel`: A workflow was cancelled.

            - `workflow_comment`: A comment was added to a workflow.

            - `workflow_comment_edited`: A comment was edited by its author. The
            record keeps the text as it stood before the edit.

            - `workflow_comment_deleted`: A comment was deleted by its author,
            together with every reply under it. The record keeps the original
            text of each deleted comment.

            - `workflow_comment_reaction_added`: A reaction was placed on a
            comment.

            - `workflow_comment_reaction_removed`: A reaction was removed from a
            comment.

            - `workflow_comment_reopened`: A resolved comment thread was
            reopened, either by the author of its root comment or by a reply
            posted to it.

            - `workflow_comment_resolved`: A comment thread was marked as
            resolved by the author of its root comment.

            - `workflow_reset`: A workflow was reset.
          required: false
          schema:
            type: array
            items:
              type: string
              enum:
                - alert_sent
                - annotated
                - attachment_replaced
                - attachment_updated
                - audit_trail_saved
                - auth_provider_requested
                - auth_provider_responded
                - cancelled
                - certificate_added
                - certificate_removed
                - cloned
                - content_recognized
                - created
                - deleted
                - edited
                - executed
                - expired
                - exported
                - factor_unlock
                - kyc_verification_failed
                - kyc_verification_succeeded
                - labeled
                - language_added
                - language_deleted
                - language_edited
                - language_import
                - linked
                - llm_extracted
                - llm_summarized
                - llm_terms_detected
                - locked
                - logged
                - merged
                - moved_to_folder
                - owner_changed
                - owner_contacted
                - password_reset_completed
                - password_reset_requested
                - pdf_preview_updated
                - read
                - reassigned
                - recovery_used
                - registered
                - rejected
                - reminded
                - renamed
                - renewed
                - reverted
                - rights_updated
                - sealed
                - send
                - shared
                - share_auto_delegated
                - share_deactivated
                - share_delegated
                - share_deleted
                - share_edited
                - share_no_longer_needed
                - share_on_turn
                - share_reassigned
                - share_recipient_changed
                - share_simple_action
                - share_token_generated_by_sharer
                - share_verification_reduced
                - share_verification_removed
                - signed
                - starred
                - subscription_limits_lock
                - tags_updated
                - template_released
                - term_reminder_retargeted
                - term_reminder_sent
                - thumbnail_updated
                - timestamped
                - translation_key_bulk
                - translation_key_added
                - translation_key_deleted
                - translation_key_edited
                - translation_key_replaced
                - trashed
                - unlinked
                - unlocked
                - unread
                - unshared
                - unstarred
                - untrashed
                - used
                - dss_verified
                - webhook_received
                - workflow_action_executed
                - workflow_cancel
                - workflow_comment
                - workflow_comment_edited
                - workflow_comment_deleted
                - workflow_comment_reaction_added
                - workflow_comment_reaction_removed
                - workflow_comment_reopened
                - workflow_comment_resolved
                - workflow_reset
        - in: query
          name: actor
          description: >-
            Return only records performed by this actor — the `userId` or email
            address of a user, or the email address of a recipient without a
            Circularo account.
          required: false
          schema:
            type: string
            example: john.doe@example.com
        - in: query
          name: actorType
          description: |-
            Return only records performed by this kind of actor.

            - `user`: A user performed the action.
            - `system`: An automated system process performed the action.
          required: false
          schema:
            type: string
            enum:
              - user
              - system
        - in: query
          name: cursor
          description: >-
            The `nextCursor` token returned in a previous response. Provide it
            on its own to fetch the next page; combining it with any other
            parameter is rejected. Fetch the next page promptly, as the cursor
            expires after a period of inactivity.
          required: false
          schema:
            type: string
        - in: query
          name: limit
          description: Maximum number of records to return per page.
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            example: 20
            default: 20
        - in: query
          name: occurredAfter
          description: Return only records that occurred at or after this moment.
          required: false
          schema:
            type: string
            format: date-time
            example: '2024-11-02T09:15:30.000Z'
        - in: query
          name: occurredBefore
          description: Return only records that occurred at or before this moment.
          required: false
          schema:
            type: string
            format: date-time
            example: '2024-11-02T09:15:30.000Z'
        - in: query
          name: offset
          description: >-
            Number of records to skip. Use it for shallow random access; for
            deep traversal follow the `nextCursor` instead.
          required: false
          schema:
            type: integer
            minimum: 0
            maximum: 9900
            example: 0
            default: 0
        - in: query
          name: order
          description: Sort direction by the time the action occurred.
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            example: desc
            default: desc
        - in: query
          name: requestId
          description: >-
            Return only records produced by the same request as this correlation
            identifier.
          required: false
          schema:
            type: string
            example: 3fa85f6457174562b3fc2c963f66afa6
        - in: query
          name: subjectId
          description: Return only records concerning the entity with this identifier.
          required: false
          schema:
            type: string
            example: 5f8d04b3ab35de3a04fc0e1a
      responses:
        '200':
          description: Returns the matching audit log records and pagination metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/auditLogList'
        '400':
          description: The query or cursor parameters are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 400
                type: VALIDATION:INPUT_INVALID
                message: Invalid input
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '401':
          description: Authentication failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 401
                type: AUTH:UNAUTHORIZED
                message: Authentication failed
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '403':
          description: Your account is not allowed to view audit logs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 403
                type: AUTH:ACCESS_DENIED
                message: Access denied
                requestId: 3fa85f6457174562b3fc2c963f66afa6
        '429':
          description: >-
            Rate limit exceeded; retry after the delay indicated in the
            `Retry-After` header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
              example:
                status: 429
                type: SYSTEM:RATE_LIMIT_EXCEEDED
                message: Rate limit exceeded
                requestId: 3fa85f6457174562b3fc2c963f66afa6
      security:
        - ApiKey: []
components:
  schemas:
    auditLogList:
      type: object
      properties:
        pagination:
          allOf:
            - $ref: '#/components/schemas/pagination'
          description: >-
            Pagination state of this page. Null when the endpoint returns the
            complete list in one response.
          nullable: true
        results:
          type: array
          items:
            $ref: '#/components/schemas/auditLog'
          description: The audit log records matching your query.
        total:
          type: integer
          minimum: 0
          description: Total number of items matching the request.
          example: 42
      required:
        - pagination
        - results
        - total
      description: A page of audit log records.
    error:
      type: object
      description: The error response returned for all unsuccessful (non-2xx) requests.
      properties:
        status:
          type: integer
          description: The HTTP status code of the error.
          example: 404
        type:
          type: string
          description: >-
            Machine-readable error type in `NAMESPACE:CODE` form, intended for
            programmatic handling. The set of types is not exhaustive and may
            grow over time.
          example: RESOURCE:NOT_FOUND
        message:
          type: string
          description: Human-readable description of the error.
          example: Resource not found
        requestId:
          type: string
          description: >-
            Unique identifier of the request; include it when contacting
            support.
          example: 3fa85f6457174562b3fc2c963f66afa6
        details:
          type: object
          additionalProperties: true
          description: >-
            Optional structured details about the error. Present only for errors
            that carry them; the shape depends on the error type.
      required:
        - status
        - type
        - message
        - requestId
    pagination:
      type: object
      properties:
        limit:
          type: integer
          minimum: 1
          description: Maximum number of items requested for this page.
          example: 20
        nextCursor:
          type: string
          description: >-
            An opaque token. Pass it back unchanged as the `cursor` parameter to
            fetch the next page. It is issued only when paging from the start of
            the results — on the first page or when following a cursor — and
            only when this page came back full. Null otherwise: at the end of
            the results, on pages reached by a non-zero `offset`, or when the
            endpoint does not support cursor paging.
          example: 9f1c4e2a7b0d83f65a1e94c7d2b8061f3ac59e470b2d8f1a6c3e90b7d45f2a18
          nullable: true
        offset:
          type: integer
          minimum: 0
          description: >-
            Number of items preceding this page. When paging by cursor it
            reports the running count of items already traversed; it may exceed
            the `offset` parameter's limit and cannot be used to jump directly
            to this page.
          example: 0
      required:
        - limit
        - nextCursor
        - offset
      description: Pagination state of one page of a paginated list.
    auditLog:
      type: object
      properties:
        activityTarget:
          type: string
          description: >-
            The kind of entity the action was performed on.


            - `acl`: An access control list entry.

            - `api_token`: An API key.

            - `document`: A document.

            - `file`: A stored file, such as an upload not yet attached to any
            document.

            - `form`: A metadata definition.

            - `group`: A group or an organization.

            - `language`: A language or its translations.

            - `notification`: A notification.

            - `plan`: A subscription plan.

            - `right`: A permission (right).

            - `settings`: Settings.

            - `stamp`: A signature stamp.

            - `stripe`: A Stripe billing object.

            - `subscription`: A subscription.

            - `template`: A template documents are created from.

            - `unknown`: An unspecified or unrecognized entity.

            - `user`: A user account.

            - `webhook`: A webhook subscription.

            - `workflow`: A workflow.
          enum:
            - acl
            - api_token
            - document
            - file
            - form
            - group
            - language
            - notification
            - plan
            - right
            - settings
            - stamp
            - stripe
            - subscription
            - template
            - unknown
            - user
            - webhook
            - workflow
          example: document
        activityType:
          type: string
          description: >-
            The action that was recorded.


            - `alert_sent`: An alert notification was sent.

            - `annotated`: An annotation was added.

            - `attachment_replaced`: An attachment was replaced.

            - `attachment_updated`: An attachment was updated.

            - `audit_trail_saved`: The audit trail was saved.

            - `auth_provider_requested`: Authentication with an external
            provider was requested.

            - `auth_provider_responded`: An external authentication provider
            responded.

            - `cancelled`: The entity was cancelled.

            - `certificate_added`: A certificate was added.

            - `certificate_removed`: A certificate was removed.

            - `cloned`: The entity was cloned.

            - `content_recognized`: Text content was recognized within a
            document.

            - `created`: The entity was created.

            - `deleted`: The entity was deleted.

            - `edited`: The entity was edited.

            - `executed`: The entity was executed.

            - `expired`: The entity expired.

            - `exported`: The entity was exported into a file.

            - `factor_unlock`: An additional authentication factor was unlocked.

            - `kyc_verification_failed`: A recipient's KYC identity verification
            failed.

            - `kyc_verification_succeeded`: A recipient successfully passed KYC
            identity verification.

            - `labeled`: A label was applied.

            - `language_added`: A language was added.

            - `language_deleted`: A language was deleted.

            - `language_edited`: A language was edited.

            - `language_import`: Languages were imported.

            - `linked`: The entity was linked.

            - `llm_extracted`: A language model was asked to analyze the
            document on request, such as for its summary, category or tags —
            recorded whether or not the call succeeded.

            - `llm_summarized`: A language model was asked for a summary of the
            document automatically once its text had been extracted - recorded
            whether or not the call succeeded.

            - `llm_terms_detected`: A language model was asked to detect the
            contract term values of a document or an uploaded file, to offer
            them as suggestions - recorded whether or not the call succeeded.

            - `locked`: The entity was locked, so that documents can be bound to
            it.

            - `logged`: A user signed in.

            - `merged`: The entity was merged.

            - `moved_to_folder`: The entity was moved to a folder.

            - `owner_changed`: Ownership was transferred.

            - `owner_contacted`: A message was sent to the owner of the entity.

            - `password_reset_completed`: A password reset was completed.

            - `password_reset_requested`: A password reset was requested.

            - `pdf_preview_updated`: Generating the PDF preview of an office
            file finished or failed.

            - `read`: The entity was read.

            - `reassigned`: The entity was reassigned.

            - `recovery_used`: A recovery code was used.

            - `registered`: A user registered.

            - `rejected`: The entity was rejected.

            - `reminded`: A reminder was sent.

            - `renamed`: The entity was renamed.

            - `renewed`: The document expiration date was extended by a contract
            renewal.

            - `reverted`: The entity was reverted to a previous state.

            - `rights_updated`: Permissions were updated.

            - `sealed`: The document was sealed.

            - `send`: The entity was sent.

            - `shared`: The entity was shared.

            - `share_auto_delegated`: A share was automatically delegated.

            - `share_deactivated`: A share was deactivated.

            - `share_delegated`: A share was delegated to another recipient.

            - `share_deleted`: A share was deleted.

            - `share_edited`: A share was edited.

            - `share_no_longer_needed`: A share was marked as no longer needed.

            - `share_on_turn`: A share became active in its signing turn.

            - `share_reassigned`: A share was reassigned.

            - `share_recipient_changed`: A share recipient was changed.

            - `share_simple_action`: A simple action was performed on a share.

            - `share_token_generated_by_sharer`: A share access token was
            generated by the sharer.

            - `share_verification_reduced`: The expected identity data was
            dropped from a share's verification when the share was handed over
            to a new recipient.

            - `share_verification_removed`: A share's verification was removed
            because the share was handed over to an internal recipient.

            - `signed`: The document was signed.

            - `starred`: The entity was starred.

            - `subscription_limits_lock`: Something happened around the
            subscription limits lock of an on-premise installation:
            `generic.status` says whether a lock was set, replaced, its write
            rejected, or a change refused because of it, and `generic.error`
            gives the reason. The lock itself and the limits it holds are never
            recorded.

            - `tags_updated`: Tags were updated.

            - `template_released`: The document was released from the template
            it was bound to, because that template had been deleted.

            - `term_reminder_retargeted`: The inactive recipients of a document
            expiration reminder were replaced by the document owner.

            - `term_reminder_sent`: A document expiration reminder was sent.

            - `thumbnail_updated`: A thumbnail was updated.

            - `timestamped`: A trusted timestamp was added to the document,
            without a seal certificate.

            - `translation_key_bulk`: Translation keys were changed in bulk.

            - `translation_key_added`: A translation key was added.

            - `translation_key_deleted`: A translation key was deleted.

            - `translation_key_edited`: A translation key was edited.

            - `translation_key_replaced`: A translation key was replaced.

            - `trashed`: The entity was moved to the trash.

            - `unlinked`: The entity was unlinked.

            - `unlocked`: The entity was unlocked, so that no further document
            can be bound to it.

            - `unread`: The entity was marked as unread.

            - `unshared`: Users or groups the entity was shared with lost the
            access to it.

            - `unstarred`: The entity was unstarred.

            - `untrashed`: The entity was restored from the trash.

            - `used`: The entity was used.

            - `dss_verified`: A signature was verified against a digital
            signature service.

            - `webhook_received`: A webhook payload was received.

            - `workflow_action_executed`: A workflow action was executed.

            - `workflow_cancel`: A workflow was cancelled.

            - `workflow_comment`: A comment was added to a workflow.

            - `workflow_comment_edited`: A comment was edited by its author. The
            record keeps the text as it stood before the edit.

            - `workflow_comment_deleted`: A comment was deleted by its author,
            together with every reply under it. The record keeps the original
            text of each deleted comment.

            - `workflow_comment_reaction_added`: A reaction was placed on a
            comment.

            - `workflow_comment_reaction_removed`: A reaction was removed from a
            comment.

            - `workflow_comment_reopened`: A resolved comment thread was
            reopened, either by the author of its root comment or by a reply
            posted to it.

            - `workflow_comment_resolved`: A comment thread was marked as
            resolved by the author of its root comment.

            - `workflow_reset`: A workflow was reset.
          enum:
            - alert_sent
            - annotated
            - attachment_replaced
            - attachment_updated
            - audit_trail_saved
            - auth_provider_requested
            - auth_provider_responded
            - cancelled
            - certificate_added
            - certificate_removed
            - cloned
            - content_recognized
            - created
            - deleted
            - edited
            - executed
            - expired
            - exported
            - factor_unlock
            - kyc_verification_failed
            - kyc_verification_succeeded
            - labeled
            - language_added
            - language_deleted
            - language_edited
            - language_import
            - linked
            - llm_extracted
            - llm_summarized
            - llm_terms_detected
            - locked
            - logged
            - merged
            - moved_to_folder
            - owner_changed
            - owner_contacted
            - password_reset_completed
            - password_reset_requested
            - pdf_preview_updated
            - read
            - reassigned
            - recovery_used
            - registered
            - rejected
            - reminded
            - renamed
            - renewed
            - reverted
            - rights_updated
            - sealed
            - send
            - shared
            - share_auto_delegated
            - share_deactivated
            - share_delegated
            - share_deleted
            - share_edited
            - share_no_longer_needed
            - share_on_turn
            - share_reassigned
            - share_recipient_changed
            - share_simple_action
            - share_token_generated_by_sharer
            - share_verification_reduced
            - share_verification_removed
            - signed
            - starred
            - subscription_limits_lock
            - tags_updated
            - template_released
            - term_reminder_retargeted
            - term_reminder_sent
            - thumbnail_updated
            - timestamped
            - translation_key_bulk
            - translation_key_added
            - translation_key_deleted
            - translation_key_edited
            - translation_key_replaced
            - trashed
            - unlinked
            - unlocked
            - unread
            - unshared
            - unstarred
            - untrashed
            - used
            - dss_verified
            - webhook_received
            - workflow_action_executed
            - workflow_cancel
            - workflow_comment
            - workflow_comment_edited
            - workflow_comment_deleted
            - workflow_comment_reaction_added
            - workflow_comment_reaction_removed
            - workflow_comment_reopened
            - workflow_comment_resolved
            - workflow_reset
          example: signed
        actor:
          allOf:
            - $ref: '#/components/schemas/person'
          description: >-
            Who performed the action — a Circularo user, or a recipient without
            an account who acted through a share link. Null for actions
            performed by the system.
          nullable: true
        actorType:
          type: string
          description: |-
            The kind of actor that performed the action.

            - `user`: A user performed the action.
            - `system`: An automated system process performed the action.
          enum:
            - user
            - system
          example: user
        id:
          type: string
          pattern: ^[A-Za-z0-9_-]+$
          minLength: 1
          description: >-
            Stable identifier of the audit log record. Use it to retrieve this
            record on its own.
          example: 0e0PfpcBGFrg4D9XeKcl
        ipAddress:
          type: string
          description: >-
            IP address the action originated from. Null when it was not recorded
            or your account is not permitted to see it.
          example: 203.0.113.42
          nullable: true
        kyc:
          allOf:
            - $ref: '#/components/schemas/auditLogKyc'
          description: >-
            The KYC identity verification protecting the share the action
            concerned. Null when the share was not protected by KYC; before the
            recipient verifies, only the configured checks are filled in.
          nullable: true
        oauth:
          allOf:
            - $ref: '#/components/schemas/auditLogOauth'
          description: >-
            The identity-provider (OAuth) verification protecting the share the
            action concerned. Null when the share was not protected by an
            identity provider.
          nullable: true
        occurredAt:
          type: string
          format: date-time
          description: When the action occurred.
          example: '2024-11-02T09:15:30.000Z'
        requestId:
          type: string
          description: >-
            Correlation identifier shared by all records produced by the same
            request. Null when the action did not originate from a request.
          example: 3fa85f6457174562b3fc2c963f66afa6
          nullable: true
        shareInitiatedViaApi:
          type: boolean
          description: >-
            Whether the share link the action was performed through was
            initiated via API v2. A share link created by delegating or
            re-targeting another one keeps the value of the link it descends
            from. Null when the action did not involve a share link, or when the
            link's origin was not recorded.
          nullable: true
        subjectId:
          type: string
          description: >-
            Identifier of the entity the action concerned, of the kind given by
            the activity target. Null when the action has no single subject, and
            always null for `api_token` actions.
          example: 5f8d04b3ab35de3a04fc0e1a
          nullable: true
        userAgent:
          type: string
          description: >-
            User agent of the client the action originated from. Null when it
            was not recorded.
          example: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
          nullable: true
        viaApi:
          type: boolean
          description: >-
            Whether the recorded action was performed via API v2. Null when the
            action's origin was not recorded.
          nullable: true
      required:
        - activityTarget
        - activityType
        - actor
        - actorType
        - id
        - ipAddress
        - kyc
        - oauth
        - occurredAt
        - requestId
        - shareInitiatedViaApi
        - subjectId
        - userAgent
        - viaApi
      description: >-
        A single audit log record: who did what, to which entity, from where,
        and when.
    person:
      type: object
      properties:
        email:
          type: string
          description: >-
            The person's email address. In a record of a past event it is the
            address the person had at that time; elsewhere it is their current
            address. Null when it is not known.
          example: jane.doe@example.com
          nullable: true
        fullname:
          type: string
          description: >-
            The person's full name. Null when it is not known, or when the
            person is outside your organization and not among your contacts.
          example: Jane Doe
          nullable: true
        userId:
          type: string
          description: >-
            Identifier of the person's Circularo account, the `id` of the user.
            Treat it as an opaque value: even where it looks like an email
            address, it is not one. Null for a party without a Circularo
            account.
          example: jane.doe@example.com
          nullable: true
      required:
        - email
        - fullname
        - userId
      description: >-
        A person the resource refers to: their Circularo account, if they have
        one, their email address and their name.
    auditLogKyc:
      type: object
      properties:
        checks:
          allOf:
            - $ref: '#/components/schemas/auditLogKycChecks'
          description: >-
            The outcome of each identity field the verification was configured
            to match. Null when no field matching was configured.
          nullable: true
        documentType:
          type: string
          description: >-
            The type of identity document the recipient was verified with. Null
            when the document type was not captured.


            - `idCard`: A national identity card.

            - `passport`: A passport.

            - `driverLicense`: A driver's license.

            - `residencePermit`: A residence permit.
          enum:
            - idCard
            - passport
            - driverLicense
            - residencePermit
            - null
          nullable: true
        provider:
          type: string
          description: >-
            The KYC provider that performed the verification. Null until the
            recipient has verified.
          example: identomat
          nullable: true
        providers:
          type: array
          items:
            type: string
          description: The KYC providers the recipient was allowed to verify with.
          example:
            - identomat
          nullable: true
        sessionId:
          type: string
          description: >-
            Identifier of the verification session at the KYC provider. Use it
            to cross-reference the verification with the provider's own records.
          example: ayldb708wbj457j3a3ucnimt8cl31lizob87qd40
          nullable: true
      required:
        - checks
        - documentType
        - provider
        - providers
        - sessionId
      description: Evidence of a KYC identity verification recorded on an audit log entry.
    auditLogOauth:
      type: object
      properties:
        checks:
          allOf:
            - $ref: '#/components/schemas/auditLogOauthChecks'
          description: >-
            The identity attributes the recipient's identity-provider account
            had to match.
          nullable: true
        provider:
          type: string
          description: >-
            The identity provider the recipient signed in with. Null until the
            recipient has verified.
          example: uaePass
          nullable: true
        providers:
          type: array
          items:
            type: string
          description: The identity providers the recipient was allowed to verify with.
          example:
            - uaePass
          nullable: true
      required:
        - checks
        - provider
        - providers
      description: >-
        The identity-provider (OAuth) verification protecting the share an audit
        log entry concerns.
    auditLogKycChecks:
      type: object
      properties:
        dateOfBirth:
          type: boolean
          description: >-
            Whether the recipient's date of birth matched the verified document.
            Null when it was not checked.
          nullable: true
        documentNumber:
          type: boolean
          description: >-
            Whether the recipient's identity document number matched the
            verified document. Null when it was not checked.
          nullable: true
        nationality:
          type: boolean
          description: >-
            Whether the recipient's nationality matched the verified document.
            Null when it was not checked.
          nullable: true
      required:
        - dateOfBirth
        - documentNumber
        - nationality
      description: >-
        The outcome of each identity field the KYC verification was configured
        to match.
    auditLogOauthChecks:
      type: object
      properties:
        email:
          type: boolean
          description: >-
            Whether the email address returned by the identity provider had to
            match the recipient's. Null when it was not required.
          nullable: true
        emiratesId:
          type: boolean
          description: >-
            Whether the Emirates ID returned by the identity provider had to
            match the recipient's. Null when it was not required.
          nullable: true
        phoneNumber:
          type: boolean
          description: >-
            Whether the phone number returned by the identity provider had to
            match the recipient's. Null when it was not required.
          nullable: true
      required:
        - email
        - emiratesId
        - phoneNumber
      description: The identity attributes the OAuth verification was configured to match.
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Authorize using an API key. Send it in the `Authorization: Bearer
        <api-key>` header. Only API keys are accepted — session tokens are
        rejected. Create your first API key in the Circularo web app; further
        keys can be managed through this API.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.