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

# Ingest Objects

> Send bulk billable objects for metrics calculation



## OpenAPI

````yaml https://api.getmeasure.com/api/v1/docs/api_spec.json post /companies/{company_id}/objects/ingest
openapi: 3.1.0
info:
  title: Measure API
  description: APIs to communicate with Measure
  version: 1.0.0
servers:
  - url: https://api.getmeasure.com/api/v1
security: []
paths:
  /companies/{company_id}/objects/ingest:
    post:
      tags:
        - Objects
      summary: Ingest Objects
      description: Send bulk billable objects for metrics calculation
      operationId: Ingest_Objects
      parameters:
        - name: company_id
          in: path
          description: 'The company ID with the prefix ''cmp_''. '
          required: true
          schema:
            description: 'The company ID with the prefix ''cmp_''. '
            type: string
        - name: Idempotency-Key
          in: header
          description: >-
            The idempotency key that will be used to ensure the request is only
            performed once
          schema:
            description: >-
              The idempotency key that will be used to ensure the request is
              only performed once
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestIngestObjectsRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseIngestObjectsResponse'
      deprecated: false
      security:
        - apiKey:
            - ''
components:
  schemas:
    RequestIngestObjectsRequest:
      properties:
        objects:
          items:
            $ref: '#/components/schemas/ModelBillableObjectAction'
          maximum: 100
          type:
            - array
      required:
        - objects
      type: object
    ResponseIngestObjectsResponse:
      properties:
        enqueued:
          description: The list of enqueued object identifiers with their action
          items:
            $ref: '#/components/schemas/ResponseEnqueuedObjectAction'
          type:
            - array
            - 'null'
      type: object
    ModelBillableObjectAction:
      properties:
        action:
          description: >-
            The specific object action such as CREATE, UPDATE or DELETE to
            perform.
          enum:
            - CREATE
            - UPDATE
            - DELETE
          type: string
        customer_id:
          description: The customer ID in Measure
          type: string
        customer_identifier:
          description: A unique identifier for the customer that ties back to your system
          type: string
        item_id:
          description: >-
            The billable item ID from Measure that this object is being tracked
            for
          type: string
        object_identifier:
          description: A unique identifier for the object that ties back to your system
          type: string
        properties:
          additionalProperties: {}
          description: >-
            The set of properties relevant to billing metrics that are set up in
            Measure
          type:
            - object
      required:
        - customer_id
        - customer_identifier
        - object_identifier
        - item_id
        - properties
        - action
      type: object
    ResponseEnqueuedObjectAction:
      properties:
        action:
          description: The specific object action such as CREATE, UPDATE or DELETE
          type: string
        object_identifier:
          description: The unique identifier for the object that ties back to your system
          type: string
      type: object
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````