Validere user_unit_config API

User Unit Configuration

Operations 8

POST /app/v1/user_unit_config/search Search user unit configs #
GET /app/v1/user_unit_config/{measurement_type} Get a user unit config #
PUT /app/v1/user_unit_config/{measurement_type} Create or update a user unit config #
DELETE /app/v1/user_unit_config/{measurement_type} Delete a user unit configuration #
GET /app/v1/user_unit_config/filters List Filter #
POST /app/v1/user_unit_config/filters Create Filter #
DELETE /app/v1/user_unit_config/filters/{filter_id} Delete Filter #
PUT /app/v1/user_unit_config/filters/{filter_id} Update Filter #

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/validere-user-unit-config-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

validere-user-unit-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Activity Log
  title: CarbonHub activities User Unit Config API
  version: 1.0.0
servers:
- url: https://api.validere.io
security:
- Staging: []
- Integration: []
- Local: []
tags:
- description: User Unit Configuration
  name: user_unit_config
paths:
  /app/v1/user_unit_config/search:
    post:
      operationId: search_user_unit_config
      requestBody:
        content:
          application/json:
            schema:
              type: object
              allOf:
              - $ref: '#/components/schemas/Paginated'
              - $ref: '#/components/schemas/UnitConfigSort'
              - $ref: '#/components/schemas/UnitConfigFilter'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedUserUnitConfig'
          description: A successful operation
      summary: Search user unit configs
      tags:
      - user_unit_config
  /app/v1/user_unit_config/{measurement_type}:
    get:
      operationId: get_user_unit_config
      parameters:
      - $ref: '#/components/parameters/MeasurementType'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserUnitConfig'
          description: A successful operation
      summary: Get a user unit config
      tags:
      - user_unit_config
    put:
      operationId: upsert_user_unit_config
      parameters:
      - $ref: '#/components/parameters/MeasurementType'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnitConfigUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserUnitConfig'
          description: A successful operation
      summary: Create or update a user unit config
      tags:
      - user_unit_config
    delete:
      operationId: delete_user_unit_config
      parameters:
      - $ref: '#/components/parameters/MeasurementType'
      responses:
        '200':
          description: A successful operation
      summary: Delete a user unit configuration
      tags:
      - user_unit_config
  /app/v1/user_unit_config/filters:
    get:
      operationId: get_user_unit_config_filter
      parameters:
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/SortBy'
      - $ref: '#/components/parameters/SortDirection'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedUnitConfigFilterOutput'
          description: successful operation
      summary: List Filter
      tags:
      - user_unit_config
    post:
      operationId: post_user_unit_config_filter
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnitConfigFilterInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnitConfigFilterOutput'
          description: successful operation
      summary: Create Filter
      tags:
      - user_unit_config
  /app/v1/user_unit_config/filters/{filter_id}:
    delete:
      operationId: delete_user_unit_config_filter
      parameters:
      - $ref: '#/components/parameters/FilterId'
      responses:
        '200':
          description: successful operation
      summary: Delete Filter
      tags:
      - user_unit_config
    put:
      operationId: put_user_unit_config_filter
      parameters:
      - $ref: '#/components/parameters/FilterId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnitConfigFilterUpdateInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnitConfigFilterOutput'
          description: successful operation
      summary: Update Filter
      tags:
      - user_unit_config
components:
  schemas:
    TemplatedReportStatus:
      type: string
      enum:
      - active
      - archived
    UnitConfigUpdate:
      type: object
      properties:
        measurement_unit:
          type: string
          example: g
        precision:
          type: integer
          example: 3
    UserUnitConfig:
      allOf:
      - $ref: '#/components/schemas/AuditFields'
      - $ref: '#/components/schemas/UnitConfigUpdate'
      properties:
        measurement_type:
          type: string
          example: mass
        user_id:
          type: string
          format: uuid
        company_id:
          type: string
          format: uuid
    UnitConfigFilterOutput:
      allOf:
      - $ref: '#/components/schemas/FilterOutput'
      - $ref: '#/components/schemas/UnitConfigFilter'
      - properties:
          entity_type:
            example: company_unit_config
            type: string
      type: object
    FilterName:
      properties:
        name:
          type: string
          example: My first filter
    CompanyId:
      properties:
        id:
          format: uuid
          type: string
    FilterInput:
      allOf:
      - $ref: '#/components/schemas/FilterName'
      - $ref: '#/components/schemas/FilterStatus'
      - $ref: '#/components/schemas/FilterTag'
      - $ref: '#/components/schemas/FilterMetadata'
    PagedUserUnitConfig:
      allOf:
      - $ref: '#/components/schemas/Pagination'
      - properties:
          data:
            items:
              $ref: '#/components/schemas/UserUnitConfig'
            type: array
        type: object
    FilterId:
      properties:
        id:
          format: uuid
          type: string
    FilterMetadata:
      properties:
        metadata:
          type: array
          items:
            type: object
          example:
          - key: calculator_configuration.year_month
            isSelected: true
          - key: flow.type
            isSelected: false
    PagedUnitConfigFilterOutput:
      allOf:
      - $ref: '#/components/schemas/Pagination'
      - properties:
          data:
            items:
              $ref: '#/components/schemas/UnitConfigFilterOutput'
            type: array
        type: object
    UnitConfigFilterInput:
      allOf:
      - $ref: '#/components/schemas/FilterInput'
      - $ref: '#/components/schemas/UnitConfigFilter'
      type: object
    Pagination:
      properties:
        page_number:
          type: number
          example: 0
        page_size:
          type: number
          example: 10
        total_entries:
          type: number
          example: 58
        total_pages:
          type: number
          example: 6
      type: object
    FilterTag:
      properties:
        tag:
          type: string
    UnitConfigSort:
      properties:
        sort_by:
          enum:
          - measurement_type
          - measurement_unit
          - created_at
          - updated_at
          example: measurement_type
          type: string
        sort_direction:
          default: desc
          description: Sort direction
          enum:
          - asc
          - desc
          example: desc
          type: string
    FilterOutput:
      allOf:
      - $ref: '#/components/schemas/CompanyId'
      - $ref: '#/components/schemas/FilterId'
      - $ref: '#/components/schemas/FilterInput'
      type: object
    UnitConfigFilter:
      properties:
        filter:
          type: object
          properties:
            measurement_type:
              type: string
              example: volume
            measurement_unit:
              type: string
              example: l
    AuditFields:
      properties:
        created_at:
          format: date-time
          type: string
        updated_at:
          format: date-time
          type: string
        created_by:
          format: uuid
          type: string
        updated_by:
          format: uuid
          type: string
      type: object
    Paginated:
      properties:
        page:
          default: 0
          description: Which page to return
          example: 0
          type: number
        page_size:
          default: 10
          description: How many items to list in a page
          example: 20
          type: number
    FilterStatus:
      properties:
        status:
          $ref: '#/components/schemas/TemplatedReportStatus'
    UnitConfigFilterUpdateInput:
      type: object
      allOf:
      - $ref: '#/components/schemas/FilterInput'
      - $ref: '#/components/schemas/UnitConfigFilter'
  parameters:
    Page:
      description: page number
      in: query
      name: page
      required: false
      schema:
        type: number
    SortDirection:
      description: sort direction
      example: desc
      in: query
      name: sort_direction
      required: false
      schema:
        enum:
        - asc
        - desc
        type: string
    FilterId:
      description: Filter ID
      example: 748970de-fd1f-4494-ae3f-47cc21ff205f
      in: path
      name: filter_id
      required: true
      schema:
        format: uuid
        type: string
    PageSize:
      description: page size
      in: query
      name: page_size
      required: false
      schema:
        type: number
    SortBy:
      description: sort by
      in: query
      name: sort_by
      required: false
      schema:
        type: string
    MeasurementType:
      description: Measurement type of the measurements being retrieved
      example: volume
      in: path
      name: measurement_type
      required: true
      schema:
        type: string