Weavz Skills API
Optional reusable task instructions in personal and shared workspace libraries.
Optional reusable task instructions in personal and shared workspace libraries.
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/weavz-io:weavz-io-skills-api"
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.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Weavz Skills API
version: 1.0.0
description: 'Weavz is governed app access and execution infrastructure for modern software teams.
It provides connection management, hosted connect flows, MCP servers, triggers,
action execution, Filesystem, State KV, Sandbox execution, and approvals for third-party
services, so your product can expose secure integration workflows to SaaS apps, copilots,
automations, and AI agents.
The public API is designed for SaaS builders as well as internal automation: you can provision
workspaces, register end users, create hosted connect sessions, expose MCP servers, execute
actions, manage triggers, and configure workspace integrations without exposing Weavz
dashboard-only administration routes.
## Authentication
Authenticate with an API key passed as a Bearer token:
```
Authorization: Bearer wvz_...
```
## Rate Limiting
API requests are rate-limited based on your organization''s plan tier. Rate limit information
is returned in response headers: `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`.
## Error Responses
All errors follow a consistent format with an error message, error code, and optional details:
```json
{
"error": "Human-readable error message",
"code": "ERROR_CODE",
"details": {}
}
```
## API Key Scoping
API keys can be scoped to specific workspaces via the `permissions` field. When a workspace-scoped
key attempts to access resources outside its allowed workspaces, or org-level routes that require
full org access, the API returns `403` with error code `SCOPE_DENIED`.'
contact:
name: Weavz Support
url: https://weavz.io
email: support@weavz.io
license:
name: MIT
url: https://opensource.org/licenses/MIT
servers:
- url: https://platform.weavz.io
description: Production server
- url: http://localhost:3000
description: Local development server
security:
- ApiKeyAuth: []
tags:
- name: Skills
description: Optional reusable task instructions in personal and shared workspace libraries.
paths:
/api/v1/skills:
get:
tags:
- Skills
summary: List or search skill metadata
description: Search names, slugs, descriptions and tags in one authorized library. Markdown is never included. Skills do not run actions or grant app access. Personal scope requires the customer's external endUserId.
operationId: listSkills
parameters:
- $ref: '#/components/parameters/SkillWorkspace'
- $ref: '#/components/parameters/SkillScope'
- $ref: '#/components/parameters/SkillEndUser'
- name: query
in: query
schema:
type: string
maxLength: 120
- name: tag
in: query
schema:
type: string
minLength: 1
maxLength: 32
- name: includeDisabled
in: query
schema:
type: boolean
default: false
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 50
default: 25
- name: offset
in: query
schema:
type: integer
minimum: 0
maximum: 10000
default: 0
responses:
'200':
description: Skill metadata and pagination
content:
application/json:
schema:
$ref: '#/components/schemas/SkillListResponse'
'400':
description: Invalid input or missing external end-user identity
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key cannot access this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Skill or end user not found in this library
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Stale expectedVersion or duplicate library slug
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit or fixed technical library limit reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Skill storage temporarily unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
post:
tags:
- Skills
summary: Create a skill
description: Save optional reusable instructions. Defaults to the specified end user's personal library. Scope and owner are immutable after creation; copy the content to create a shared skill. Technical limits apply equally on every plan.
operationId: createSkill
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateSkillInput'
responses:
'201':
description: Skill created
content:
application/json:
schema:
$ref: '#/components/schemas/SkillResponse'
'400':
description: Invalid input or missing external end-user identity
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key cannot access this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Skill or end user not found in this library
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Stale expectedVersion or duplicate library slug
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit or fixed technical library limit reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Skill storage temporarily unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/skills/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
get:
tags:
- Skills
summary: Explicitly read a skill
description: Read user-authored Markdown from the selected authorized library. Reading does not execute the instructions or change app permissions.
operationId: readSkill
parameters:
- $ref: '#/components/parameters/SkillWorkspace'
- $ref: '#/components/parameters/SkillScope'
- $ref: '#/components/parameters/SkillEndUser'
responses:
'200':
description: Skill instructions and current version
content:
application/json:
schema:
$ref: '#/components/schemas/SkillResponse'
'400':
description: Invalid input or missing external end-user identity
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key cannot access this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Skill or end user not found in this library
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Stale expectedVersion or duplicate library slug
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit or fixed technical library limit reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Skill storage temporarily unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
patch:
tags:
- Skills
summary: Update a skill at its current version
description: Atomically update content only when expectedVersion matches. A concurrent edit returns 409 and leaves the newer content unchanged.
operationId: updateSkill
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateSkillInput'
responses:
'200':
description: Skill updated with an incremented version
content:
application/json:
schema:
$ref: '#/components/schemas/SkillResponse'
'400':
description: Invalid input or missing external end-user identity
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key cannot access this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Skill or end user not found in this library
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Stale expectedVersion or duplicate library slug
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit or fixed technical library limit reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Skill storage temporarily unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
delete:
tags:
- Skills
summary: Delete a skill at its current version
description: Remove stored instructions only. Does not disconnect apps or revoke permissions. A concurrent change returns 409 instead of deleting the newer version.
operationId: deleteSkill
parameters:
- $ref: '#/components/parameters/SkillWorkspace'
- $ref: '#/components/parameters/SkillScope'
- $ref: '#/components/parameters/SkillEndUser'
- name: expectedVersion
in: query
required: true
schema:
type: integer
minimum: 1
responses:
'200':
description: Skill deleted
content:
application/json:
schema:
type: object
required:
- deleted
- id
properties:
deleted:
type: boolean
const: true
id:
type: string
format: uuid
'400':
description: Invalid input or missing external end-user identity
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: API key cannot access this workspace
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Skill or end user not found in this library
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Stale expectedVersion or duplicate library slug
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit or fixed technical library limit reached
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Skill storage temporarily unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
SkillMetadata:
type: object
required:
- id
- workspaceId
- scope
- slug
- name
- description
- tags
- enabled
- version
- createdAt
- updatedAt
properties:
id:
type: string
format: uuid
readOnly: true
workspaceId:
type: string
format: uuid
scope:
type: string
enum:
- end_user
- workspace
slug:
type: string
maxLength: 64
name:
type: string
maxLength: 120
description:
type: string
maxLength: 500
tags:
type: array
maxItems: 12
items:
type: string
maxLength: 32
enabled:
type: boolean
version:
type: integer
minimum: 1
readOnly: true
createdAt:
type: string
format: date-time
readOnly: true
updatedAt:
type: string
format: date-time
readOnly: true
SkillListResponse:
type: object
required:
- skills
- pagination
- permissions
description: Metadata only. Skill instructions require an explicit read.
properties:
skills:
type: array
items:
$ref: '#/components/schemas/SkillMetadata'
pagination:
type: object
required:
- limit
- offset
- total
properties:
limit:
type: integer
offset:
type: integer
total:
type: integer
permissions:
type: object
required:
- canWrite
properties:
canWrite:
type: boolean
Error:
type: object
required:
- error
- code
properties:
error:
type: string
description: Human-readable error message
code:
type: string
description: Machine-readable error code
enum:
- VALIDATION_ERROR
- NOT_FOUND
- DUPLICATE
- QUOTA_EXCEEDED
- RATE_LIMITED
- UNAUTHORIZED
- FORBIDDEN
- SCOPE_DENIED
- UNAUTHENTICATED
- AUTH_DISABLED
- NOT_MEMBER
- SLUG_EXISTS
- MISSING_FIELDS
- NO_UPDATES
- CONNECTION_NOT_FOUND
- CONNECTION_REQUIRED
- INTEGRATION_NOT_FOUND
- TRIGGER_NOT_FOUND
- ACTION_FAILED
- NOT_DROPDOWN
- NO_OPTIONS_FN
- OPTIONS_FAILED
- NOT_OAUTH2
- MISSING_OAUTH2_CONFIG
- OAUTH_ERROR
- ALIAS_CONFLICT
- MISSING_KEY
- STORAGE_ERROR
- INVALID_JSON
- HTTP_ERROR
- INTERNAL_ERROR
- MISSING_CODE
- POLLING_INTERVAL_TOO_SHORT
- INVALID_ADDON
- NOT_DYNAMIC
- NO_PROPS_FN
- RESOLVE_FAILED
- MISSING_CONNECTION
- MISSING_INTEGRATION_NAME
- MISSING_ID
- TOKEN_EXCHANGE_FAILED
- INVALID_CONFIG
- REFRESH_FAILED
- END_USER_NOT_FOUND
- AMBIGUOUS_INTEGRATION
- ACTION_NOT_ALLOWED
- PARTIAL_MISMATCH
- PARTIAL_NOT_FOUND
- ACTION_NOT_FOUND
- INTEGRATION_UNAVAILABLE
- NATIVE_RUNTIME_REQUIRED
- NATIVE_ACTION_UNSUPPORTED
- SHARD_UNAVAILABLE
- NO_OAUTH_APP
- OAUTH_APP_NOT_FOUND
- INVALID_OAUTH_APP
- SESSION_CREATE_FAILED
- INVALID_TOKEN
- MISSING_TOKEN
- MCP_BEARER_BLOCKS_PER_USER
- MCP_BEARER_DISABLED
- MCP_STATIC_BEARER_INCOMPATIBLE
- MCP_OAUTH_DISABLED
- INVALID_MCP_SCOPES
- WORKSPACE_REQUIRED
- AUTH_SCOPE_DENIED
- APPROVAL_POLICY_BLOCKED
- APPROVAL_POLICY_NOT_FOUND
- APPROVAL_NOT_FOUND
- APPROVAL_ALREADY_DECIDED
- APPROVAL_EXPIRED
- APPROVAL_UPDATE_CONFLICT
- APPROVAL_DECISION_SCOPE_REQUIRED
- APPROVAL_DECISION_DENIED
- BROWSER_SANDBOX_UNAVAILABLE
- BROWSER_SESSION_START_FAILED
- BROWSER_CONTROL_REQUIRED
- BROWSER_RECOVERY_REQUIRED
- SESSION_NOT_FOUND
- HANDOFF_FAILED
- ACTION_NOT_ENABLED
- ALIAS_NOT_FOUND
- ALREADY_INITIALIZED
- APPROVAL_LINK_NOT_FOUND
- AUTH_METHOD_REQUIRED
- AUTH_NOT_SUPPORTED
- CONNECTION_AUTH_METHOD_MISMATCH
- CONNECTION_CREATE_FAILED
- CONNECTION_MISMATCH
- CONNECTION_NOT_SUPPORTED
- CONNECTION_SCOPE_MISMATCH
- DUPLICATE_CONNECTION
- EMAIL_RATE_LIMITED
- END_USER_REQUIRES_WORKSPACE
- INTEGRATION_MISMATCH
- INTEGRATION_NOT_ALLOWED
- INTEGRATION_NOT_CONFIGURED
- INTEGRATION_NOT_CONNECTABLE
- INVALID_ACTION
- INVALID_AUTH_METHOD
- INVALID_AUTH_TYPE
- INVALID_CODE_EXECUTE_REQUEST
- INVALID_CONNECTION
- INVALID_INTEGRATION
- INVALID_REDIRECT_URI
- INVALID_STATUS
- INVALID_STRATEGY
- INVALID_WORKSPACE
- MCP_SUSPENDED
- MISSING_CREDENTIALS
- MISSING_INTEGRATION
- MISSING_PROPERTY
- MISSING_WORKSPACE
- MISSING_WORKSPACE_ID
- OAUTH_AUTHORIZATION_FAILED
- OAUTH_TOKEN_FAILED
- PARTIAL_SCOPE_MISMATCH
- SHARD_NOT_AVAILABLE
- TOKEN_EXPIRED
- UNSUPPORTED_AUTH_TYPE
- WORKSPACE_INTEGRATION_NOT_FOUND
- MCP_WORKSPACE_ALREADY_CONFIGURED
- MCP_WORKSPACE_ENDPOINT_REQUIRED
- MCP_WORKSPACE_IDENTITY_IN_USE
details:
type: object
description: Additional error context
additionalProperties: true
SkillLibrary:
type: object
required:
- workspaceId
properties:
workspaceId:
type: string
format: uuid
scope:
type: string
enum:
- end_user
- workspace
default: end_user
endUserId:
type: string
minLength: 1
maxLength: 255
description: Customer external end-user identity, required for a personal library. Shared workspace libraries do not have an owner selector.
CreateSkillInput:
allOf:
- $ref: '#/components/schemas/SkillLibrary'
- type: object
required:
- slug
- name
- markdown
properties:
slug:
type: string
minLength: 1
maxLength: 64
pattern: ^[a-z0-9][a-z0-9-]*$
name:
type: string
minLength: 1
maxLength: 120
description:
type: string
maxLength: 500
default: ''
markdown:
type: string
minLength: 1
maxLength: 65536
description: At most 64 KiB of UTF-8 encoded instructions.
tags:
type: array
maxItems: 12
items:
type: string
minLength: 1
maxLength: 32
enabled:
type: boolean
default: true
Skill:
allOf:
- $ref: '#/components/schemas/SkillMetadata'
- type: object
required:
- markdown
properties:
markdown:
type: string
description: User-authored SKILL.md instructions. Returned only by an explicit read or successful write. Reading does not grant app permissions or run actions.
UpdateSkillInput:
allOf:
- $ref: '#/components/schemas/SkillLibrary'
- type: object
required:
- expectedVersion
description: Include at least one content field. Scope and owner select the existing library and cannot be changed. Copy a skill to share it in a different library.
properties:
expectedVersion:
type: integer
minimum: 1
slug:
type: string
minLength: 1
maxLength: 64
pattern: ^[a-z0-9][a-z0-9-]*$
name:
type: string
minLength: 1
maxLength: 120
description:
type: string
maxLength: 500
markdown:
type: string
minLength: 1
maxLength: 65536
description: At most 64 KiB of UTF-8 encoded instructions.
tags:
type: array
maxItems: 12
items:
type: string
minLength: 1
maxLength: 32
enabled:
type: boolean
SkillResponse:
type: object
required:
- skill
- permissions
properties:
skill:
$ref: '#/components/schemas/Skill'
permissions:
type: object
required:
- canWrite
properties:
canWrite:
type: boolean
instructionNotice:
type: string
description: Identifies the content as user-authored instructions, not authorization.
parameters:
SkillWorkspace:
name: workspaceId
in: query
required: true
schema:
type: string
format: uuid
description: Workspace containing the library. The API key must have access.
SkillEndUser:
name: endUserId
in: query
schema:
type: string
minLength: 1
maxLength: 255
description: Customer external end-user identity. Required for the personal end_user scope. Never an internal end-user UUID.
SkillScope:
name: scope
in: query
schema:
type: string
enum:
- end_user
- workspace
default: end_user
description: Personal library or shared workspace instructions.
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
bearerFormat: wvz_xxxxx
description: API key authentication (prefix `wvz_`)