Arcjet Decide API

The Decide API from Arcjet — 1 operation(s) for decide.

Operations 1

POST /proto.decide.v1alpha1.DecideService/Decide Make a security decision for a request. #

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/arcjet-decide-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

arcjet-decide-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Arcjet Decide API
  description: 'Conservative HTTP/JSON modeling of the Arcjet Decide service - the Connect/gRPC (protobuf) decision API that the Arcjet SDK calls at decide.arcjet.com.


    TRANSPORT NOTE: Arcjet is SDK-first. The underlying service is proto.decide.v1alpha1.DecideService, exposed over ConnectRPC, which speaks gRPC over HTTP/2 and also accepts an HTTP/1.1 + JSON POST fallback to the same RPC paths. This document models the two RPC methods (Decide and Report) as the Connect HTTP/JSON POST endpoints. It is NOT a hand-written public REST API - Arcjet does not publish a public REST reference for the decision service, and the SDK (Node.js, Next.js, Bun, Deno, SvelteKit, NestJS, Remix, Astro, React Router, Fastify, Python) is the supported interface. Paths and schemas here are kept minimal and mapped to the real protobuf surface rather than fabricated. A separate dashboard/management REST API exists at api.arcjet.com but is not public; it is out of scope for this document.'
  contact:
    name: Arcjet Support
    url: https://docs.arcjet.com
  version: v1alpha1
servers:
- url: https://decide.arcjet.com
  description: Arcjet Decide service (Connect/gRPC; HTTP/JSON fallback shown here)
security:
- arcjetKey: []
tags:
- name: Decide
paths:
  /proto.decide.v1alpha1.DecideService/Decide:
    post:
      operationId: decide
      tags:
      - Decide
      summary: Make a security decision for a request.
      description: Connect RPC Decide method. The SDK sends request details and the configured rules; the service returns a decision (ALLOW, DENY, CHALLENGE, or ERROR) with the reason. Over native ConnectRPC this is a gRPC/HTTP-2 call; the equivalent HTTP/1.1 + JSON POST is shown here. Authentication is the Arcjet site key sent by the SDK.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DecideRequest'
      responses:
        '200':
          description: A security decision.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecideResponse'
components:
  schemas:
    Decision:
      type: object
      properties:
        id:
          type: string
        conclusion:
          type: string
          enum:
          - ALLOW
          - DENY
          - CHALLENGE
          - ERROR
        reason:
          type: object
          description: Discriminated reason (rate limit, bot, email, sensitive info, shield, error).
        ttl:
          type: integer
        ipDetails:
          type: object
          description: Geo and network intelligence (city, country, ASN, VPN/proxy/Tor indicators).
        ruleResults:
          type: array
          items:
            type: object
    DecideRequest:
      type: object
      description: Maps to proto.decide.v1alpha1.DecideRequest.
      properties:
        sdkStack:
          type: string
          description: SDK platform identifier (e.g. NODEJS, NEXTJS, BUN, PYTHON).
        sdkVersion:
          type: string
        characteristics:
          type: array
          description: Fingerprinting attributes used to key rules (e.g. ip.src, http.request.headers["x-api-key"]).
          items:
            type: string
        details:
          $ref: '#/components/schemas/RequestDetails'
        rules:
          type: array
          description: Security rules to evaluate (rate limit, bot, email, sensitive info, shield).
          items:
            type: object
    RequestDetails:
      type: object
      description: Details of the request under evaluation.
      properties:
        ip:
          type: string
        method:
          type: string
        protocol:
          type: string
        host:
          type: string
        path:
          type: string
        headers:
          type: object
          additionalProperties:
            type: string
        cookies:
          type: string
        query:
          type: string
        email:
          type: string
        body:
          type: string
    DecideResponse:
      type: object
      description: Maps to proto.decide.v1alpha1.DecideResponse.
      properties:
        decision:
          $ref: '#/components/schemas/Decision'
        extra:
          type: object
          additionalProperties:
            type: string
  securitySchemes:
    arcjetKey:
      type: apiKey
      in: header
      name: Authorization
      description: Arcjet site key, supplied by the SDK from the ARCJET_KEY environment variable.