Scott Ai Agent Loop API

The agent-loop API from Scott Ai — 16 operation(s) for agent-loop.

Operations 20

GET /agent-loop/workspaces List Workspaces #
POST /agent-loop/workspaces Create Workspace #
DELETE /agent-loop/workspaces/{workspace_id} Delete Workspace #
PATCH /agent-loop/workspaces/{workspace_id} Update Workspace #
POST /agent-loop/workspaces/{workspace_id}/turns Create Turn #
PATCH /agent-loop/turns/{turn_id} Update Turn #
GET /agent-loop/workspaces/{workspace_id}/state Get Workspace State #
GET /agent-loop/workspaces/{workspace_id}/events Workspace Event Stream #
POST /agent-loop/workspaces/{workspace_id}/wake Wake Workspace #
GET /agent-loop/workspaces/{workspace_id}/context Get Workspace Context #
POST /agent-loop/workspaces/{workspace_id}/review-chat/turns Create Review Chat Turn #
GET /agent-loop/workspaces/{workspace_id}/review-chat/turns List Review Chat Turns #
GET /agent-loop/workspaces/{workspace_id}/review-chat/context Get Review Chat Context #
PATCH /agent-loop/review-chat/turns/{turn_id} Update Review Chat Turn #
POST /agent-loop/workspaces/{workspace_id}/access-token Mint Access Token #
GET /agent-loop/internal/workspaces/{workspace_id}/connected-sources/{connected_source_id}/retrieval-details Get Connected Source Retrieval Details #
POST /agent-loop/internal/agent-token/redeem Redeem Handoff Code #
POST /agent-loop/internal/sandbox/heartbeat Sandbox Heartbeat #
PUT /agent-loop/workspaces/{workspace_id}/cursor Upsert Cursor #
GET /agent-loop/workspaces/{workspace_id}/cursor Get Cursor #

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/scott-ai-agent-loop-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

scott-ai-agent-loop-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: One-Shot Agent Loop API
  version: 1.0.0
tags:


# --- truncated at 32 KB (70 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/scott-ai/refs/heads/main/openapi/scott-ai-agent-loop-api-openapi.yml