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

# Bucket Content

> Populate existing transaction into other buckets on an ad-hoc basis.

The Bucket Content API was designed to allow transactions to be included in a bucket on an ad-hoc basis. For example, some transactions have not been populated to another bucket, so the user decides to perform this API request to pass to other buckets. This can be done via the following API call.


## OpenAPI

````yaml post /api/bucketcontent
openapi: 3.0.3
info:
  title: Athena API
  version: v3
  x-logo:
    url: https://cynopsis.co/wp-content/uploads/2021/03/logo-2.png
    altText: Cynopsis Solutions
  description: >-
    ATHENA is an advanced real-time transaction monitoring solution designed to
    detect and prevent money laundering, fraud, and terrorism financing. Powered
    by proprietary AML rules, ATHENA analyzes transactions in real time,
    providing clear, intuitive visual insights to streamline compliance
    processes.
        
        ✅ Real-Time Monitoring – Instantly analyzes transaction data to detect anomalies and potential compliance risks.
        ✅ Visualized Insights – Converts complex data into easy-to-understand charts, aiding faster decision-making.
        ✅ Seamless Integration – Easily integrates with existing financial and compliance systems.
        
        Ideal for financial institutions, fintech companies, and regulated businesses, ATHENA enhances risk management and ensures regulatory compliance with ease.
  contact:
    email: tech@cynopsis.co
servers:
  - url: http://localhost/api
    description: Local development server
security: []
paths:
  /api/bucketcontent:
    post:
      tags:
        - Bucket Content
      summary: Insert a transaction into a bucket
      description: Insert a transaction into specified buckets by client transaction ID.
      operationId: transactionbucket_create
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                client_transaction_id:
                  type: string
                  description: Client transaction ID
                populate_buckets:
                  type: array
                  items:
                    type: string
                  description: List of bucket Names to insert the transaction into
              required:
                - client_transaction_id
                - populate_buckets
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
                properties:
                  client_transaction_id:
                    type: string
                    description: Client transaction ID
                  status:
                    type: string
                    description: Transaction loading status
                required:
                  - client_transaction_id
                  - status
          description: Transaction bucket created successfully
      security:
        - CustomAuthentication: []
        - cookieAuth: []
        - BearerAuth: []
components:
  securitySchemes:
    CustomAuthentication:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from AWS Cognito or custom authentication service
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid

````