looot Workflow Waits API

The Workflow Waits API from looot — 3 operation(s) for workflow waits.

Operations 3

GET /v1/workflow-waits List tenant-scoped pending workflow waits #
POST /v1/workflow-waits/{waitId}/token Mint a short-lived wait-bound capability token #
POST /v1/workflow-waits/{waitId}/approval Resolve an approval using bearer identity and signed capability #

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/looot:looot-workflow-waits-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

looot-workflow-waits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: looot Workflow Waits API
  version: 0.1.0
  description: Discover, inspect, run, and pay for real (or fixture) provider operations through one bearer token.
servers:
- url: https://api.looot.ai
  description: Public API (default)
- url: https://coset-gateway.onrender.com
  description: Legacy host -- still live, for tokens issued before the public domain existed
- url: http://127.0.0.1:8787
  description: Local development
security:
- bearerAuth: []
tags:
- name: Workflow Waits
paths:
  /v1/workflow-waits:
    get:
      summary: List tenant-scoped pending workflow waits
      responses:
        '200':
          description: Pending waits
        '403':
          description: workflows:read scope required
      tags:
      - Workflow Waits
      operationId: getV1WorkflowWaits
      x-operation-id-source: derived
  /v1/workflow-waits/{waitId}/token:
    post:
      summary: Mint a short-lived wait-bound capability token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MintWorkflowToken'
      responses:
        '201':
          description: Signed capability token
        '403':
          description: workflows:execute scope required
        '404':
          description: Pending wait not found
      tags:
      - Workflow Waits
      operationId: postV1WorkflowWaitsByWaitIdToken
      x-operation-id-source: derived
  /v1/workflow-waits/{waitId}/approval:
    post:
      summary: Resolve an approval using bearer identity and signed capability
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveWorkflowApproval'
      responses:
        '200':
          description: Resolved wait
        '401':
          description: Invalid capability token
        '403':
          description: workflows:execute scope required
        '409':
          description: Wait already resolved
        '410':
          description: Capability expired
      tags:
      - Workflow Waits
      operationId: postV1WorkflowWaitsByWaitIdApproval
      x-operation-id-source: derived
components:
  schemas:
    ResolveWorkflowApproval:
      type: object
      additionalProperties: false
      required:
      - token
      - decision
      properties:
        token:
          type: string
          writeOnly: true
        decision:
          enum:
          - approved
          - rejected
        reason:
          type: string
          minLength: 1
          maxLength: 1000
    MintWorkflowToken:
      type: object
      additionalProperties: false
      properties:
        ttlSeconds:
          type: integer
          minimum: 60
          maximum: 86400
          default: 900
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer