> ## 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.

# Find Objects

> Search for objects with matching parameters



## OpenAPI

````yaml https://api.getmeasure.com/api/v1/docs/api_spec.json post /companies/{company_id}/objects/find
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/find:
    post:
      tags:
        - Objects
      summary: Find Objects
      description: Search for objects with matching parameters
      operationId: Find_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/RequestFindBillableObjectRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseFindBillableObjectLiteResponse'
      deprecated: false
      security:
        - apiKey:
            - ''
components:
  schemas:
    RequestFindBillableObjectRequest:
      properties:
        include_meta:
          description: >-
            Whether to include additional metadata in the pagination response
            such the number of total results
          type:
            - boolean
            - 'null'
        pagination:
          $ref: '#/components/schemas/RequestPaginationRequest'
        query:
          $ref: '#/components/schemas/RequestFindBillableObjectQueryCriteria'
        sort_key:
          default: createdAtDesc
          enum:
            - createdAtDesc
            - createdAtAsc
            - updatedAtAsc
            - updatedAtDesc
            - aToZ
            - zToA
          type: string
      required:
        - sort_key
        - pagination
      type: object
    ResponseFindBillableObjectLiteResponse:
      properties:
        pagination:
          $ref: '#/components/schemas/ResponsePaginationResponse'
        results:
          items:
            $ref: '#/components/schemas/ResponseBillableObjectLiteRepresentation'
          type:
            - array
            - 'null'
      type: object
    RequestPaginationRequest:
      description: The pagination parameters for the request
      properties:
        from_key:
          type:
            - 'null'
            - string
        limit:
          default: 20
          format: int64
          maximum: 200
          minimum: 0
          type: integer
      type: object
    RequestFindBillableObjectQueryCriteria:
      description: The find criteria for the billable objects
      properties:
        customer_id:
          type:
            - 'null'
            - string
        customer_identifier:
          type:
            - 'null'
            - string
        item_id:
          type:
            - 'null'
            - string
        matching_rule_string:
          examples:
            - >-
              {"comparator":{"type":"EQUAL","left_item":{"item_type":"PROPERTY","property":"is_active"},"right_item":{"item_type":"VALUE","value":"true"}}}
          type:
            - 'null'
            - string
      type: object
    ResponsePaginationResponse:
      properties:
        from_key:
          type:
            - 'null'
            - string
        limit:
          format: int64
          type: integer
      type: object
    ResponseBillableObjectLiteRepresentation:
      properties:
        company_id:
          description: The company ID of the object
          type: string
        created_at:
          description: The date the object was created
          format: date-time
          type: string
        customer_id:
          description: The customer ID in Measure for the object
          type: string
        customer_identifier:
          description: The unique identifier for the customer that ties back to your system
          type: string
        id:
          description: The ID of the object in Measure
          type: string
        item_id:
          description: >-
            The billable item ID from Measure that this object is being tracked
            for
          type: string
        object_identifier:
          description: The 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
            - 'null'
        updated_at:
          description: The date the object was last updated
          format: date-time
          type: string
      type: object
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````