Skip to content

API Reference

Programmatic access to Filepad workspaces, external Agent Access, and the native FilepadAI runtime.

Filepad exposes three API surfaces:

SurfaceAuthPurpose
Agent Access API v1OAuth 2.1 bearer tokensExternal agents push activity, raise signals, and read their mailbox against a Filepad workspace.
FilepadAI run APINormal Filepad session authThe native in-app assistant experience: threads, blocks, attachments, approvals, and SSE streams.
Internal APIInternal authBackend-only admin flows such as key lifecycle and Control Room operations.

The product API for external agents is Agent Access API v1 at /agent-api/v1. Older /integrations/v1 http/routes may still exist for legacy integrations, but new agent builders should use Agent Access.

Agent Access API v1

Base path: /agent-api/v1

Agent Access is built around scoped OAuth access to a workspace's activity: events, signals, and mailbox.

Authentication

OAuth bearer tokens are required. The gateway challenges unauthenticated requests with WWW-Authenticate: Bearer and the OAuth metadata URL.

Scopes

ScopeAccess
events.writeWrite external agent activity events and agent-hook invocations
signals:writeCreate signals (findings) on a workspace
notifications:readRead and acknowledge the agent's mailbox

Endpoints at a glance

MethodPathScope
GET/agent-api/v1/capabilitiesany valid key
POST/agent-api/v1/workspaces/:workspaceId/eventsevents.write
POST/agent-api/v1/workspaces/:workspaceId/signalssignals:write
GET/agent-api/v1/workspaces/:workspaceId/signalsenv:read
GET/agent-api/v1/workspaces/:workspaceId/signals/:signalIdenv:read
GET/agent-api/v1/workspaces/:workspaceId/mailboxnotifications:read
POST/agent-api/v1/workspaces/:workspaceId/mailbox/acknotifications:read
POST/agent-api/v1/workspaces/:workspaceId/domain/agent-hooks/invocationsevents.write

Every request is also subject to per-integration rate limiting; a connection that exceeds its window gets a 429 with a retry time.

FilepadAI run API

Base path: /agent

These are the http/routes the Filepad app uses for the native FilepadAI assistant. They are session-authenticated and separate from Agent Access keys.

MethodPathPurpose
POST/agent/threadsCreate a thread
GET/agent/threadsList threads
GET/agent/threads/:threadId/blocksList thread blocks
GET/agent/threads/:threadId/blocks/streamRead-only SSE stream of thread blocks
DELETE/agent/threads/:threadIdDelete a thread
POST/agent/threads/:threadId/attachmentsAttach a file to a thread
POST/agent/threads/:threadId/paste-attachmentsAttach pasted content to a thread
GET/workflow-runtime/approvals/:approvalRequestIdRead a pending approval request

Internal API

Internal http/routes are not the public Agent Access surface. They can create, rotate, patch, and revoke underlying integration records, but product UI should call them as Agent Access or Agents, not as integrations.

Next steps