Zelto Action checks API

The Action checks API from Zelto — 1 operation(s) for action checks.

Operations 1

POST /v1/action-checks Check a proposed action before committing it #

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/zelto:zelto-action-checks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

zelto-action-checks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zelto REST Action checks API
  version: v1
  description: Programmatic access to your Zelto organization. Every endpoint is scoped to the organization the API key belongs to. Mint a key at Settings → Integrations → API Call Upload.
servers:
- url: https://api.zelto.ai
  description: Production
security:
- bearerAuth: []
tags:
- name: Action checks
paths:
  /v1/action-checks:
    post:
      operationId: checkProposedAction
      tags:
      - Action checks
      summary: Check a proposed action before committing it
      description: Compares supplied scalar identifiers and tool statuses synchronously. Does not book or fetch CRM state. Await allowed=true before committing; do not commit on errors or timeouts. Maximum 64 KiB.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionCheckInput'
      responses:
        '200':
          description: Decision for the supplied snapshot
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionCheckDecision'
        '400':
          description: Invalid request
        '401':
          description: Authentication required
        '404':
          description: Agent not found in the authenticated organization
        '413':
          description: Body exceeds 64 KiB
components:
  schemas:
    ActionCheckDecision:
      type: object
      required:
      - decision
      - allowed
      - checks
      properties:
        decision:
          type: string
          enum:
          - proceed
          - request_clarification
          - flag_mismatch
        allowed:
          type: boolean
        checks:
          type: array
          items:
            type: object
            required:
            - key
            - status
            properties:
              key:
                type: string
              status:
                type: string
                enum:
                - matched
                - mismatch
                - missing
                - failed
                - pending
    ActionCheckInput:
      type: object
      required:
      - agentId
      - referenceData
      - comparisons
      properties:
        agentId:
          type: string
          format: uuid
        referenceData:
          type: object
          additionalProperties: true
        comparisons:
          type: array
          minItems: 1
          maxItems: 20
          items:
            type: object
            required:
            - key
            - expectedPath
            - actualPath
            properties:
              key:
                type: string
                maxLength: 80
              expectedPath:
                type: string
                maxLength: 120
              actualPath:
                type: string
                maxLength: 120
        tools:
          type: array
          maxItems: 20
          items:
            type: object
            required:
            - key
            - status
            properties:
              key:
                type: string
                maxLength: 80
              status:
                type: string
                enum:
                - succeeded
                - failed
                - pending
                - not_called
          description: Tool keys must be unique and distinct from comparison keys. Keys are case-sensitive and trimmed. Send one authoritative status per execution prerequisite.
        requiredTools:
          type: array
          maxItems: 20
          uniqueItems: true
          default: []
          description: Caller-owned prerequisite tool keys, independent of reported executions. Every listed tool must be reported as succeeded. Omitted required tools produce missing and block approval. Use only pre-action prerequisites, not the action being authorized. Defaults to an empty list for compatibility.
          items:
            type: string
            minLength: 1
            maxLength: 80
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Send `Authorization: Bearer YOUR_API_KEY`. The key resolves to a single organization.'