AgentDrive API
AgentDrive API as documented publicly: 25 operations. Contract generated from the documentation by API Evangelist (2026-10-31); not the provider's own document.
AgentDrive API as documented publicly: 25 operations. Contract generated from the documentation by API Evangelist (2026-10-31); not the provider's own document.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/agentdrive-sh:agentdrive-sh-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.1.0
info:
title: AgentDrive API
version: '2026-10-31'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-31: 25 operation(s) read from 4 public documentation page(s) (each operation
names its page in x-source). This is not the provider''s published contract; AgentDrive has published no machine-readable contract that the
pipeline could find. Engine: oss.'
x-evidence-tiers:
code-example: 2
documentation: 23
pages-with-code: 2
pages-read: 4
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-10-31'
x-generator: generate-contract-from-docs.py
x-engine: oss
x-sources:
- https://agentdrive.sh/docs/rest-api
- https://agentdrive.sh/docs/v1-roadmap
- https://agentdrive.sh/docs/quick-start
- https://agentdrive.sh/docs/concepts/content-addressing
servers:
- url: https://app.agentdrive.sh
paths:
/:
get:
operationId: get
tags:
- Api
summary: GET /
x-source: https://agentdrive.sh/docs/v1-roadmap
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: code-example
language: curl
snippet: "curl-pipe-bash installer at app.agentdrive.sh/install . Wires the MCP server into Claude Code, Codex, Cursor, Zed, Cline, Continue,\
\ and OpenClaw configs in one command. Read and write workspace artifacts from any shell. \n SDKs \n @adrive/sdk — TypeScript, typed\
\ against the REST surface, retry- and pagination-aware (live) \n adrive-py — Python, same shape, scoped to the same endpoints (coming\
\ next) \n"
/install:
get:
operationId: get_install
tags:
- Install
summary: GET /install
x-source: https://agentdrive.sh/docs/quick-start
responses:
'200':
description: Success (shape read from the example response on the page)
content:
application/json:
schema:
$ref: '#/components/schemas/GetInstallResponse'
x-evidence:
kind: code-example
language: curl
snippet: "curl -fsSL https://app.agentdrive.sh/install | sh \n What it does: \n Installs the adrive CLI and runs adrive init \n Logs you\
\ in through the browser and stores the API key in ~/.config/agentdrive/config.json (never in agent configs) \n Detects your agent tools\
\ and wires session capture hooks, the MCP server, and the resume/sessions commands into each \n When it finishes you'll have adrive\
\ on your PATH"
/v1/auth/send-code:
post:
operationId: post_v1_auth_send_code
tags:
- Auth
summary: Send a magic-link code to an email
x-source: https://agentdrive.sh/docs/rest-api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/auth/verify-code:
post:
operationId: post_v1_auth_verify_code
tags:
- Auth
summary: Exchange code for a session
x-source: https://agentdrive.sh/docs/rest-api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/org:
get:
operationId: get_v1_org
tags:
- Org
summary: Read org metadata, plan, usage, and quotas.
x-source: https://agentdrive.sh/docs/rest-api
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/org/invites:
post:
operationId: post_v1_org_invites
tags:
- Org
summary: Invite a human or agent.
x-source: https://agentdrive.sh/docs/rest-api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/register:
post:
operationId: post_v1_register
tags:
- Register
summary: Bootstrap a new org and agent, returns API key.
x-source: https://agentdrive.sh/docs/rest-api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/runs:
post:
operationId: post_v1_runs
tags:
- Runs
summary: Log an agent run
x-source: https://agentdrive.sh/docs/rest-api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces:
get:
operationId: get_v1_workspaces
tags:
- Workspaces
summary: List workspaces for the principal.
x-source: https://agentdrive.sh/docs/rest-api
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
post:
operationId: post_v1_workspaces
tags:
- Workspaces
summary: Create a workspace.
x-source: https://agentdrive.sh/docs/rest-api
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}:
delete:
operationId: delete_v1_workspaces_wid
tags:
- Workspaces
summary: Delete a workspace.
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
get:
operationId: get_v1_workspaces_wid
tags:
- Workspaces
summary: Read a workspace.
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/activity:
get:
operationId: get_v1_workspaces_wid_activity
tags:
- Workspaces
summary: Activity stream
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/context:
post:
operationId: post_v1_workspaces_wid_context
tags:
- Workspaces
summary: Top-N relevant artifacts for a task
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/feedback:
post:
operationId: post_v1_workspaces_wid_feedback
tags:
- Workspaces
summary: Capture feedback
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/files:
get:
operationId: get_v1_workspaces_wid_files
tags:
- Workspaces
summary: List files (paginated).
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
post:
operationId: post_v1_workspaces_wid_files
tags:
- Workspaces
summary: Write a file (creates or new version).
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/files/{fid}:
delete:
operationId: delete_v1_workspaces_wid_files_fid
tags:
- Workspaces
summary: Delete a file.
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
- name: fid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
get:
operationId: get_v1_workspaces_wid_files_fid
tags:
- Workspaces
summary: Read a file, optionally with ?content=true.
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
- name: fid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
put:
operationId: put_v1_workspaces_wid_files_fid
tags:
- Workspaces
summary: Update a file.
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
- name: fid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/files/{fid}/comments:
post:
operationId: post_v1_workspaces_wid_files_fid_comments
tags:
- Workspaces
summary: Comments on a file
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
- name: fid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/files/{fid}/versions:
get:
operationId: get_v1_workspaces_wid_files_fid_versions
tags:
- Workspaces
summary: Version history
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
- name: fid
in: path
required: true
schema:
type: string
responses:
'200':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/recall:
post:
operationId: post_v1_workspaces_wid_recall
tags:
- Workspaces
summary: Memory query
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/search:
post:
operationId: post_v1_workspaces_wid_search
tags:
- Workspaces
summary: Semantic search
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
/v1/workspaces/{wid}/share:
post:
operationId: post_v1_workspaces_wid_share
tags:
- Workspaces
summary: Mint a share token
x-source: https://agentdrive.sh/docs/rest-api
parameters:
- name: wid
in: path
required: true
schema:
type: string
responses:
'201':
description: Success (status as documented)
x-evidence:
kind: documentation
components:
schemas:
GetInstallResponse:
type: object
properties:
org_id:
type: string
api_key:
type: string
agent_id:
type: string
trial_ends_at:
type: string
securitySchemes:
bearer:
type: http
scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Auth
- name: Install
- name: Org
- name: Register
- name: Runs
- name: Workspaces