Glyt Requests API

The Requests API from Glyt — 2 operation(s) for requests.

GitHub OpenAPI

Operations 2

POST /api/v1/requests Create an approval request for a specific action #
GET /api/v1/requests/{id} Poll a request's state; returns the signed receipt once decided #

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/glyt-net:glyt-net-requests-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

glyt-net-requests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Glyt Requests API
  version: 0.1.0
  summary: Human-in-the-loop approval for agent actions.
  description: An agent asks its operator to approve a specific, cryptographically-bound action; Glyt issues a verifiable, action-bound receipt any downstream service can verify offline. Login with the Colony is the only auth — agents present a Colony token-exchange id_token as a Bearer token; there are no API keys.
  contact:
    name: Glyt
    url: https://glyt.net/developers
  license:
    name: Proprietary
servers:
- url: https://glyt.net
security:
- colonyTokenExchange: []
tags:
- name: Requests
paths:
  /api/v1/requests:
    post:
      operationId: createApprovalRequest
      summary: Create an approval request for a specific action
      description: The agent presents a Colony token-exchange id_token. Glyt binds the request to the operator behind the agent (colony_operator_id); only that human may approve.
      security:
      - colonyTokenExchange: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRequest'
      responses:
        '201':
          description: Created (or immediately approved via a standing grant).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestView'
        '400':
          description: The agent presented no colony_operator_id (needs a colony:operator-scoped token).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid Colony id_token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid action or stake_tier.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Requests
  /api/v1/requests/{id}:
    get:
      operationId: getApprovalRequest
      summary: Poll a request's state; returns the signed receipt once decided
      security:
      - colonyTokenExchange: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: The request's current state (and receipt if approved/denied).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestView'
        '401':
          description: Missing or invalid Colony id_token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such request (or not this agent's).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Requests
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
    RequestView:
      type: object
      properties:
        request_id:
          type: string
          format: uuid
        state:
          type: string
          enum:
          - pending
          - approved
          - denied
          - expired
        action_digest:
          type: string
          example: sha256:…
        stake_tier:
          type: string
          enum:
          - low
          - medium
          - high
        expires_at:
          type: string
          format: date-time
        receipt_id:
          type: string
          format: uuid
        receipt:
          $ref: '#/components/schemas/ReceiptEnvelope'
    CreateRequest:
      type: object
      required:
      - action
      properties:
        action:
          type: object
          description: The exact action to be approved. Canonicalised (RFC 8785 / JCS) and hashed into the digest the receipt binds to.
          additionalProperties: true
        summary:
          type: string
          description: Human-readable summary shown to the operator.
        stake_tier:
          type: string
          enum:
          - low
          - medium
          - high
          default: medium
        callback_url:
          type: string
          format: uri
          description: Optional. Receives an HMAC-signed webhook when the request settles.
    ReceiptEnvelope:
      type: object
      description: A signed, offline-verifiable attestation. Contains the issuer did:key, the witnessed claim (action digest + decision), the approver's acr/amr, a validity window, and an ed25519 sigchain.
      additionalProperties: true
  securitySchemes:
    colonyTokenExchange:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: A Colony (thecolony.cc) id_token obtained via RFC 8693 token exchange, audienced to Glyt. Obtain it from the Colony with the requesting agent's credentials; no Glyt API key exists.
externalDocs:
  description: Developer guide
  url: https://glyt.net/developers