klisten-co-kr Cleargate API

The Cleargate API from klisten-co-kr — 1 operation(s) for cleargate.

Operations 1

POST /v1/cleargate/check Check clear gate grant #

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/klisten-co-kr:klisten-co-kr-cleargate-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

klisten-co-kr-cleargate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Klisten Agent Infrastructure Cleargate API
  version: 0.1.0
  description: Phase 1 API. Optional capabilities fail closed unless their runtime dependencies are configured. See health and capability discovery for this instance.
tags:
- name: Cleargate
paths:
  /v1/cleargate/check:
    post:
      operationId: checkClearGateGrant
      security:
      - ApiKey: []
      x-required-scope: content:check
      x-implementation-status: free-grant-development
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClearGateResult'
        '400':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Request denied or dependency unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Evaluate a server-loaded signed free grant against the supplied intent and authenticated organization. Server keys, revocation and clock establish trust. Paid grants are denied. Maximum body 8192 bytes. Does not fetch content; subsequent fetching requires SSRF checks.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClearGateRequest'
      tags:
      - Cleargate
      summary: Check clear gate grant
      x-summary-source: derived
components:
  schemas:
    ClearGateResult:
      $schema: https://json-schema.org/draft/2020-12/schema
      anyOf:
      - type: object
        properties:
          reason:
            type: string
          evaluated_scope:
            anyOf:
            - type: object
              properties:
                publisher_id:
                  type: string
                  minLength: 1
                  maxLength: 128
                resource:
                  type: string
                  maxLength: 2048
                  format: uri
                audience:
                  type: string
                  minLength: 1
                  maxLength: 128
                purpose:
                  type: string
                  minLength: 1
                  maxLength: 128
                territory:
                  type: string
                  pattern: ^[A-Z]{2}$
                redistribute:
                  type: boolean
                org_id:
                  type: string
                  minLength: 1
                  maxLength: 128
              required:
              - publisher_id
              - resource
              - audience
              - purpose
              - territory
              - redistribute
              - org_id
              additionalProperties: false
            - type: 'null'
          evaluated_at:
            anyOf:
            - type: string
              format: date-time
              pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            - type: 'null'
          executed:
            type: boolean
            const: false
          fetch_requires_ssrf_checks:
            type: boolean
            const: true
          status:
            type: string
            const: DENIED
          grant_id:
            type: 'null'
        required:
        - reason
        - evaluated_scope
        - evaluated_at
        - executed
        - fetch_requires_ssrf_checks
        - status
        - grant_id
        additionalProperties: false
      - type: object
        properties:
          reason:
            type: string
            const: VERIFIED_GRANT_MATCH
          evaluated_scope:
            anyOf:
            - type: object
              properties:
                publisher_id:
                  type: string
                  minLength: 1
                  maxLength: 128
                resource:
                  type: string
                  maxLength: 2048
                  format: uri
                audience:
                  type: string
                  minLength: 1
                  maxLength: 128
                purpose:
                  type: string
                  minLength: 1
                  maxLength: 128
                territory:
                  type: string
                  pattern: ^[A-Z]{2}$
                redistribute:
                  type: boolean
                org_id:
                  type: string
                  minLength: 1
                  maxLength: 128
              required:
              - publisher_id
              - resource
              - audience
              - purpose
              - territory
              - redistribute
              - org_id
              additionalProperties: false
            - type: 'null'
          evaluated_at:
            anyOf:
            - type: string
              format: date-time
              pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            - type: 'null'
          executed:
            type: boolean
            const: false
          fetch_requires_ssrf_checks:
            type: boolean
            const: true
          status:
            type: string
            const: AUTHORIZED
          grant_id:
            type: string
          grant_evidence_digest:
            type: string
            pattern: ^sha256:[a-f0-9]{64}$
          expires_at:
            type: string
            format: date-time
            pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
          scope:
            type: object
            properties:
              resource:
                type: string
                maxLength: 2048
                format: uri
              purpose:
                type: string
                minLength: 1
                maxLength: 128
              territory:
                type: string
                pattern: ^[A-Z]{2}$
              redistribute:
                type: boolean
            required:
            - resource
            - purpose
            - territory
            - redistribute
            additionalProperties: false
        required:
        - reason
        - evaluated_scope
        - evaluated_at
        - executed
        - fetch_requires_ssrf_checks
        - status
        - grant_id
        - grant_evidence_digest
        - expires_at
        - scope
        additionalProperties: false
    ClearGateRequest:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        grant_id:
          type: string
          minLength: 1
          maxLength: 128
        intent:
          type: object
          properties:
            publisher_id:
              type: string
              minLength: 1
              maxLength: 128
            resource:
              type: string
              maxLength: 2048
              format: uri
            audience:
              type: string
              minLength: 1
              maxLength: 128
            purpose:
              type: string
              minLength: 1
              maxLength: 128
            territory:
              type: string
              pattern: ^[A-Z]{2}$
            redistribute:
              type: boolean
          required:
          - publisher_id
          - resource
          - audience
          - purpose
          - territory
          - redistribute
          additionalProperties: false
      required:
      - grant_id
      - intent
      additionalProperties: false
    Error:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
              pattern: ^req_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
            retryable:
              type: boolean
          required:
          - code
          - message
          - request_id
          - retryable
          additionalProperties: false
      required:
      - error
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: ck_live_<secret>
    SupabaseHuman:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Supabase access token for a verified Google user in the configured project. Agent API keys are not accepted.