Foxglove Technologies Site Tokens API

Site tokens are credentials a [self-hosted Primary Site](https://docs.foxglove.dev/docs/primary-sites#self-hosted) or [Edge Site](https://docs.foxglove.dev/docs/edge-sites) use to communicate with the Foxglove API.

Operations 3

GET /site-tokens List site tokens #
POST /site-tokens Create a site token #
DELETE /site-tokens/{id} Delete a site token #

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-site-tokens-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-site-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Foxglove Site Tokens 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: Site Tokens
  description: Site tokens are credentials a self-hosted Primary Site or Edge Site use to communicate with the Foxglove API.
paths:
  /site-tokens:
    get:
      tags:
      - Site Tokens
      summary: List site tokens
      security:
      - ApiKey:
        - siteTokens.list
      parameters:
      - in: query
        name: siteId
        description: Filter by site ID
        schema:
          type: string
        required: false
      responses:
        '200':
          description: List of site tokens
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SiteToken'
      operationId: getSiteTokens
      x-operation-id-source: derived
    post:
      tags:
      - Site Tokens
      summary: Create a site token
      security:
      - ApiKey:
        - siteTokens.create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                siteId:
                  type: string
                  description: Site associated with the newly created token
              required:
              - siteId
      responses:
        '200':
          description: A new site token
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/SiteToken'
                - type: object
                  properties:
                    token:
                      type: string
                      description: Generated token. This is only available on creation.
      operationId: postSiteTokens
      x-operation-id-source: derived
  /site-tokens/{id}:
    parameters:
    - in: path
      name: id
      schema:
        type: string
      required: true
      description: Site token ID
    delete:
      tags:
      - Site Tokens
      summary: Delete a site token
      security:
      - ApiKey:
        - siteTokens.delete
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
      operationId: deleteSiteTokensById
      x-operation-id-source: derived
components:
  schemas:
    GenericSuccess:
      type: object
      properties:
        success:
          type: boolean
          const: true
      required:
      - success
    SiteToken:
      type: object
      description: A SiteToken resource provides site controllers with authentication to the api.
      properties:
        id:
          type: string
          description: ID of the site token
        createdAt:
          type: string
          format: date-time
          description: Timestamp of the site token's creation
        siteId:
          type: string
          description: ID of the associated Primary or Edge Site
      required:
      - id
      - createdAt
      - siteId
  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