Foxglove Technologies Custom Properties API

Custom properties are typed metadata which you can assign to devices. For example, you can create a device custom property identified with a key `locationId` and a type of `string`. This enables you to assign a location to each of your devices, view that data in Foxglove, and filter devices by a location ID.

Operations 5

GET /custom-properties List custom properties #
POST /custom-properties Create a custom property #
GET /custom-properties/{id} Get a custom property #
PATCH /custom-properties/{id} Edit a custom property #
DELETE /custom-properties/{id} Delete a custom property #

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/foxglove-technologies-custom-properties-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

foxglove-technologies-custom-properties-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Foxglove Custom Properties API
  version: v1
  x-logo:
    url: https://foxglove.dev/images/logo-icon-round.png
  description: '# Python client


    Foxglove provides a Python client library (`foxglove-client`) to more easily interact with the Foxglove API.'
servers:
- url: https://api.foxglove.dev/v1
  description: Production
security: []
tags:
- name: Custom Properties
  description: 'Custom properties are typed metadata which you can assign to devices.


    For example, you can create a device custom property identified with a key

    `locationId` and a type of `string`. This enables you to assign a location

    to each of your devices, view that data in Foxglove, and filter devices by

    a location ID.'
paths:
  /custom-properties:
    get:
      tags:
      - Custom Properties
      summary: List custom properties
      security:
      - ApiKey:
        - properties.list
      parameters:
      - in: query
        name: resourceType
        description: Filter properties matching a resource type
        schema:
          type: string
          enum:
          - device
          - event
          - session
        required: false
      responses:
        '200':
          description: The custom properties
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomProperty'
      operationId: getCustomProperties
      x-operation-id-source: derived
    post:
      tags:
      - Custom Properties
      summary: Create a custom property
      security:
      - ApiKey:
        - properties.create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewCustomProperty'
      responses:
        '200':
          description: The custom property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomProperty'
      operationId: postCustomProperties
      x-operation-id-source: derived
  /custom-properties/{id}:
    parameters:
    - in: path
      name: id
      schema:
        type: string
      required: true
      description: Custom Property ID
    get:
      tags:
      - Custom Properties
      summary: Get a custom property
      security:
      - ApiKey:
        - properties.list
      responses:
        '200':
          description: The custom property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomProperty'
      operationId: getCustomPropertiesById
      x-operation-id-source: derived
    patch:
      tags:
      - Custom Properties
      summary: Edit a custom property
      security:
      - ApiKey:
        - properties.update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  description: Display label for user interfaces
                  type: string
                  minLength: 1
                  maxLength: 32
                values:
                  description: Moved to `enumValues`. Reorder or add to enum values. Must be a superset of existing values.
                  deprecated: true
                  type: array
                  items:
                    type: string
                  uniqueItems: true
                enumValues:
                  description: Reorder or add to enum values. Must be a superset of existing values.
                  type: array
                  items:
                    type: string
                  uniqueItems: true
              required: []
      responses:
        '200':
          description: The custom property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomProperty'
      operationId: patchCustomPropertiesById
      x-operation-id-source: derived
    delete:
      tags:
      - Custom Properties
      summary: Delete a custom property
      description: 'Deleting a device custom property removes all values associated with it.

        Event custom properties can only be deleted when they are not currently associated with any event values.'
      security:
      - ApiKey:
        - properties.delete
      responses:
        '200':
          description: ID of the deleted custom property
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                required:
                - id
      operationId: deleteCustomPropertiesById
      x-operation-id-source: derived
components:
  schemas:
    NewCustomProperty:
      type: object
      properties:
        key:
          description: 'An immutable identifier for this custom property; it cannot be edited once saved.


            This key is used to identify the custom property in queries; for example, when filtering

            your devices by a custom property ("partNumber:456").

            '
          type: string
          minLength: 1
          maxLength: 32
          pattern: ^[A-Za-z0-9_-]+$
        label:
          description: Display label for user interfaces. May be changed after saving.
          type: string
          minLength: 1
          maxLength: 32
        resourceType:
          description: Resource type to which this custom property may be assigned
          type: string
          enum:
          - device
          - event
          - session
        valueType:
          description: 'The type of the values associated with this custom property

            Number values will be treated as IEEE 754 64-bit floats.

            '
          type: string
          enum:
          - string
          - multiline-string
          - number
          - enum
          - boolean
          - multi-enum
        values:
          description: Moved to `enumValues`. Allowed string values; required if `valueType` is "enum"
          deprecated: true
          type: array
          items:
            type: string
          uniqueItems: true
        enumValues:
          description: Allowed string values; required if `valueType` is "enum"
          type: array
          items:
            type: string
          uniqueItems: true
      required:
      - key
      - label
      - resourceType
      - valueType
    CustomProperty:
      type: object
      allOf:
      - type: object
        properties:
          id:
            type: string
            description: ID of the custom property
        required:
        - id
        - hasAssociatedData
      - $ref: '#/components/schemas/NewCustomProperty'
  securitySchemes:
    Session:
      type: apiKey
      in: cookie
      name: fox.session
      description: User permissions when signed into the website
    ApiKey:
      type: http
      scheme: bearer
      description: API key authentication using HTTP Bearer auth
    SiteBucketNotificationBearerToken:
      type: http
      scheme: bearer
      description: Site bucket notification authentication using HTTP Bearer auth
x-tagGroups:
- name: Data Platform
  tags:
  - Coverage
  - Custom Properties
  - Device Tokens
  - Devices
  - Events
  - Event Types
  - Imports
  - Lake files
  - Projects
  - Recording Attachments
  - Recordings
  - Sessions
  - Site Tokens
  - Site Inbox Notification Tokens
  - Sites
  - Stream data
  - Topics
- name: Webhooks
  tags:
  - Webhook Payloads
- name: Visualization
  tags:
  - Extensions
  - Layouts