SandboxAQ Aispm Guardrails API

The aispm-guardrails API from SandboxAQ — 3 operation(s) for aispm-guardrails.

Operations 3

GET /aispm-llm-interactions-dash/tenants/{tenant_id}/workspaces/{workspace_id}/categories Get AISPM guardrail category counts #
GET /aispm-llm-interactions-dash/tenants/{tenant_id}/workspaces/{workspace_id}/counts Get AISPM guardrail interaction counts bucketed by hour #
GET /aispm-llm-interactions-dash/tenants/{tenant_id}/workspaces/{workspace_id}/outcomes Get AISPM guardrail outcome totals #

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/sandboxaq-aispm-guardrails-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

sandboxaq-aispm-guardrails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  description: Flint AI Platform API
  license:
    name: Flint AI
    url: https://www.sandboxaq.com/legal/eula
  title: Flint AI Platform Aispm Guardrails API
  version: 1.0.0
servers:
- description: Flint AI Platform (per-tenant instance)
  url: https://{instance}.flintai.dev/api/v1
  variables:
    instance:
      default: your-instance
      description: Your Flint AI instance subdomain
tags:
- name: aispm-guardrails
paths:
  /aispm-llm-interactions-dash/tenants/{tenant_id}/workspaces/{workspace_id}/categories:
    get:
      description: Returns counts per guardrail category from BLOCKED or REDACTED prompt and response guardrail results in a time range
      operationId: GetAispmGuardrailCategories
      parameters:
      - description: Beginning of time window (inclusive) in RFC3339 format
        in: query
        name: start_time
        schema:
          type: string
      - description: End of time window (inclusive) in RFC3339 format
        in: query
        name: end_time
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/engine_output.AispmGuardrailCategoriesResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Internal Server Error
      security:
      - BearerAuth: []
      summary: Get AISPM guardrail category counts
      tags:
      - aispm-guardrails
  /aispm-llm-interactions-dash/tenants/{tenant_id}/workspaces/{workspace_id}/counts:
    get:
      description: Returns total counts and hourly bucketed results for LLM interactions in a time range, categorized by guardrail outcome (OK, BLOCKED, REDACTED)
      operationId: GetAispmGuardrailInteractionCounts
      parameters:
      - description: Beginning of time window (inclusive) in RFC3339 format
        in: query
        name: start_time
        schema:
          type: string
      - description: End of time window (inclusive) in RFC3339 format
        in: query
        name: end_time
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/engine_output.AispmGuardrailInteractionCountsResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Internal Server Error
      security:
      - BearerAuth: []
      summary: Get AISPM guardrail interaction counts bucketed by hour
      tags:
      - aispm-guardrails
  /aispm-llm-interactions-dash/tenants/{tenant_id}/workspaces/{workspace_id}/outcomes:
    get:
      description: Returns aggregate totals of OK, BLOCKED, and REDACTED guardrail outcomes for LLM interactions in a time range
      operationId: GetAispmGuardrailOutcomes
      parameters:
      - description: Beginning of time window (inclusive) in RFC3339 format
        in: query
        name: start_time
        schema:
          type: string
      - description: End of time window (inclusive) in RFC3339 format
        in: query
        name: end_time
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/engine_output.AispmGuardrailOutcomesResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Unauthorized
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/common.RequestError'
          description: Internal Server Error
      security:
      - BearerAuth: []
      summary: Get AISPM guardrail outcome totals
      tags:
      - aispm-guardrails
components:
  schemas:
    common.RequestError:
      description: Error responses returned by the API
      properties:
        code:
          example: 400
          type: integer
        message:
          example: Invalid request
          type: string
      required:
      - code
      - message
      type: object
    engine_output.AispmGuardrailInteractionsBucket:
      properties:
        alerted:
          $ref: '#/components/schemas/engine_output.AispmGuardrailInteractionsBucketEntry'
        blocked:
          $ref: '#/components/schemas/engine_output.AispmGuardrailInteractionsBucketEntry'
        ok:
          $ref: '#/components/schemas/engine_output.AispmGuardrailInteractionsBucketEntry'
        redacted:
          $ref: '#/components/schemas/engine_output.AispmGuardrailInteractionsBucketEntry'
        total:
          $ref: '#/components/schemas/engine_output.AispmGuardrailInteractionsBucketEntry'
      type: object
    engine_output.AispmGuardrailInteractionCountsResponse:
      properties:
        alerted:
          type: integer
        blocked:
          type: integer
        ok:
          type: integer
        redacted:
          type: integer
        results:
          additionalProperties:
            $ref: '#/components/schemas/engine_output.AispmGuardrailInteractionsBucket'
          type: object
        total:
          type: integer
      type: object
    engine_output.AispmGuardrailInteractionsBucketEntry:
      properties:
        count:
          type: integer
      type: object
    engine_output.AispmGuardrailCategoriesResponse:
      properties:
        categories:
          items:
            $ref: '#/components/schemas/engine_output.AispmGuardrailCategoryCount'
          type: array
        total:
          type: integer
      type: object
    engine_output.AispmGuardrailCategoryCount:
      properties:
        category:
          type: string
        count:
          type: integer
      type: object
    engine_output.AispmGuardrailOutcomesResponse:
      properties:
        alerted:
          type: integer
        blocked:
          type: integer
        ok:
          type: integer
        redacted:
          type: integer
        total:
          type: integer
      type: object
  securitySchemes:
    BearerAuth:
      description: Use this header with a Bearer token to authenticate requests.
      in: header
      name: Authorization
      type: apiKey