Reason Machines Skills API

Reusable instruction bundles Reason selects semantically from their descriptions for matching agent tasks.

GitHub OpenAPI

Operations 5

GET /v3/organizations/{orgId}/skills List skills #
POST /v3/organizations/{orgId}/skills Create a skill #
GET /v3/organizations/{orgId}/skills/{skillId} Retrieve a skill #
PUT /v3/organizations/{orgId}/skills/{skillId} Update a skill #
DELETE /v3/organizations/{orgId}/skills/{skillId} Delete a skill #

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/reasonmachines-com:reasonmachines-com-skills-api"
All apis
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.

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. 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 Specification

reasonmachines-com-skills-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reason Skills API
  version: 3.0.0
  description: 'The Reason HTTP API. Drive cloud software-engineering agents: open sessions against your repositories, stream their work, and manage the secrets, skills, and automations they run with.


    Authenticate with a Reason API key sent as a bearer token. New keys use `reason_`; legacy `ara_` keys remain accepted. Every resource is scoped to an organization; resolve your `org_id` once with `GET /v3/self`.'
servers:
- url: https://api.reasonmachines.com
security:
- reasonApiKey: []
tags:
- name: Skills
  description: Reusable instruction bundles Reason selects semantically from their descriptions for matching agent tasks.
paths:
  /v3/organizations/{orgId}/skills:
    parameters:
    - $ref: '#/components/parameters/orgId'
    get:
      operationId: listSkills
      x-reason-mcp-description: Lists authored and installed skills with `skill_id`, `name`, `description`, `instructions`, `is_enabled`, `installation_scope` and `provenance` describing editability. Consolidated workspaces exclude personal skills; legacy workspaces retain caller-scoped visibility.
      tags:
      - Skills
      summary: List skills
      description: 'Returns all Workspace skill records, including authored skills and skills installed from packages or integrations.


        Scope: `skills:read`'
      responses:
        '200':
          description: Organization skills.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Skill'
                    description: Every skill the caller can see in the workspace.
                  total:
                    type: integer
                    description: Number of skills in `items`.
                  has_next_page:
                    type: boolean
                    description: 'Always false: every skill is returned in one page.'
                  end_cursor:
                    type: 'null'
                    description: 'Always null: there is no further page.'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
      - reasonApiKey:
        - skills:read
    post:
      operationId: createSkill
      x-reason-mcp-description: Creates an authored skill from `name` and `instructions`, enabled by default; `files` adds a skill folder's other text files (scripts/, references/). Consolidated workspaces require organization scope; legacy ones also accept personal scope. Returns the skill and `skill_id`; a taken name gets 409.
      tags:
      - Skills
      summary: Create a skill
      description: 'Create an authored workspace skill from a name and instructions. The description says when to select it. Returns skill_id and provenance without running work.


        Creates an authored workspace skill from non-empty name and instructions. description explains when to select it; activation_keywords are search aliases, not automatic triggers. Returns skill_id and provenance without running work. Oversized instructions return 413; disabled cloud-agent configuration returns 503.


        Scope: `skills:write`'
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Skill'
              example:
                skill_id: skill_example
                name: Release checklist
                description: Use when preparing a release.
                instructions: Run the repository's release checks before deploying.
                activation_keywords:
                - release
                is_enabled: true
                author: user
                provenance: authored
                created_by: user_example
                created_at: '2026-09-01T00:00:00Z'
                updated_at: '2026-09-01T00:00:00Z'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '413':
          description: Skill instructions exceed the supported materialization size.
        '422':
          description: A companion file breaks the bundle rules (binary, unsafe path, too large); `path` names it.
        '429':
          $ref: '#/components/responses/RateLimited'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSkill'
            example:
              name: Release checklist
              description: Use when preparing a production release, deploying changes, or applying the team's release checklist.
              instructions: Run the full test suite, update the changelog, then wait for a human approval before deploying.
              activation_keywords:
              - release
              - deploy
      security:
      - reasonApiKey:
        - skills:write
  /v3/organizations/{orgId}/skills/{skillId}:
    parameters:
    - $ref: '#/components/parameters/orgId'
    - name: skillId
      description: The skill id, returned as `skill_id` by `listSkills` and `createSkill`.
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: getSkill
      x-reason-mcp-description: 'Returns one skill by its id from `listSkills` or `createSkill`: `name`, `description`, full `instructions`, `is_enabled`, `installation_scope` and `provenance`. Read it before `updateSkill`: `provenance` decides which fields can change. An unknown id returns 404.'
      tags:
      - Skills
      summary: Retrieve a skill
      description: 'Retrieves any Workspace skill record, whether authored or installed from a package or integration.


        Scope: `skills:read`'
      responses:
        '200':
          description: Skill.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Skill'
              example:
                skill_id: skill_example
                name: Release checklist
                description: Use when preparing a release.
                instructions: Run the repository's release checks before deploying.
                activation_keywords:
                - release
                is_enabled: true
                author: user
                provenance: authored
                created_by: user_example
                created_at: '2026-09-01T00:00:00Z'
                updated_at: '2026-09-01T00:00:00Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
      - reasonApiKey:
        - skills:read
    put:
      operationId: updateSkill
      x-reason-destructive: true
      x-reason-mcp-description: Edits a skill from `listSkills`; `files` replaces an authored skill's companion files in place. Registry installs accept only `is_enabled` and `activation_keywords`. A stale `expected_revision_id` or a taken name gets 409; a shared Reason's skill needs its manager (403); other origins 404.
      tags:
      - Skills
      summary: Update a skill
      description: 'Partially updates an authored skill. Installed package and integration skills are read-only. Send only the fields you want to change. Optionally send expected_revision_id from getSkill or listSkills: the atomic write returns 409 skill_revision_conflict if stored state changed, without overwriting it. Read again, merge your edits and retry with the new token. Omit the field for legacy unconditional updates. A token grants no additional access or editability.


        Scope: `skills:write`'
      responses:
        '200':
          description: Updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Skill'
              example:
                skill_id: skill_example
                name: Release checklist
                description: Use when preparing a release.
                instructions: Run the repository's release checks before deploying.
                activation_keywords:
                - release
                is_enabled: true
                author: user
                provenance: authored
                created_by: user_example
                created_at: '2026-09-01T00:00:00Z'
                updated_at: '2026-09-01T00:00:00Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: 'skill_revision_conflict: stored state changed; skill_name_collision: name taken; skill_read_only: installed content cannot be edited.'
        '413':
          description: Skill instructions exceed the supported materialization size.
        '422':
          description: A companion file in `files` breaks the bundle rules (binary, unsafe path, too large); `path` names it.
        '429':
          $ref: '#/components/responses/RateLimited'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSkill'
      security:
      - reasonApiKey:
        - skills:write
    delete:
      operationId: deleteSkill
      x-reason-mcp-description: Permanently deletes an authored or registry-installed skill by its id from `listSkills`. To keep it, call `updateSkill` with `is_enabled` false. A shared Reason's skill needs its manager (403); integration, built-in and unknown ids return 404.
      tags:
      - Skills
      summary: Delete a skill
      description: 'Deletes an authored skill or one installed from skills.sh. Integration and built-in skills are read-only.


        Scope: `skills:write`'
      responses:
        '200':
          $ref: '#/components/responses/Ok'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
      - reasonApiKey:
        - skills:write
components:
  responses:
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: session_not_found
    Unauthorized:
      description: Missing, invalid, or expired key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: missing_bearer
            message: Authorization required
    BadRequest:
      description: Invalid request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: prompt_required
    Forbidden:
      description: The key lacks the required scope or role.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: missing_scope
            required_scope: sessions:read
    Ok:
      description: Success.
      content:
        application/json:
          schema:
            type: object
            properties:
              ok:
                type: boolean
                const: true
                description: 'Always true: the operation succeeded.'
            required:
            - ok
          example:
            ok: true
    RateLimited:
      description: Too many requests. Retry after the number of seconds in the `Retry-After` response header.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
            minimum: 1
          required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: rate_limited
              message: This API key exceeded its request-rate limit
  schemas:
    CreateSkill:
      type: object
      properties:
        name:
          type: string
          description: Display name for the authored skill.
        description:
          type: string
          description: Describe what the skill does and when an agent should use it. Reason uses this description for semantic selection.
        instructions:
          type: string
          description: Skill document containing instructions an agent should follow when using this skill. With `files`, this is the whole SKILL.md file.
        files:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
                description: Path relative to the skill folder, such as `scripts/run.py` or `references/api.md`.
              content:
                type: string
                description: 'The file''s whole UTF-8 text, stored exactly as sent: read the file to its end, never a head, preview or one page of a paged read, so its UTF-8 byte count matches the file''s size (wc -c).'
            required:
            - path
            - content
          description: Companion text files stored beside SKILL.md (scripts, references, templates), for a skill that is a folder. Binary files are refused with 422.
        activation_keywords:
          type: array
          items:
            type: string
          description: Optional search aliases retained for compatibility. They improve explicit search but do not activate the skill automatically.
        is_enabled:
          type: boolean
          description: Whether agents may use the skill. Omit it to create the skill enabled; send false to save it without offering it to agents.
        installation_scope:
          type: string
          enum:
          - personal
          - organization
          description: '`organization` (the default) shares the skill with the Workspace. Legacy workspaces also accept `personal`; consolidated workspace resources return workspace_skill_scope_required for that scope.'
      required:
      - name
      - instructions
    Error:
      type: object
      properties:
        error:
          oneOf:
          - type: string
          - type: object
            required:
            - type
            - message
            properties:
              type:
                type: string
              message:
                type: string
              request_id:
                type:
                - string
                - 'null'
        message:
          type: string
        required_scope:
          type: string
          description: The capability required when the request was denied for a missing scope.
    Skill:
      type: object
      properties:
        skill_id:
          type: string
          description: Skill id; pass it as `skillId` to read, update or delete the skill.
        revision_id:
          type: string
          description: Opaque stored-state token for expected_revision_id on updateSkill. Not a timestamp, counter, or history id; read again after a conflict. Identical stored state has the same token; schema changes may invalidate it.
        name:
          type: string
          description: Display name of the skill.
        description:
          type: string
          description: What the skill does and when an agent should use it. Reason uses this description for semantic selection.
        instructions:
          type: string
          description: The skill document an agent follows when it uses the skill.
        activation_keywords:
          type: array
          items:
            type: string
          description: Optional search aliases retained for compatibility. They do not activate the skill automatically.
        is_enabled:
          type: boolean
          description: Whether agents may use the skill.
        installation_scope:
          type: string
          enum:
          - personal
          - organization
          description: Whether only its creator sees the skill, or the whole workspace.
        author:
          type: string
          description: 'Who wrote the skill: `user` for one authored in the workspace, otherwise its publisher.'
        provenance:
          type: string
          enum:
          - authored
          - skills_sh
          - git
          - agent_plugin
          - curated_integration
          - builtin
          description: Where the skill came from, which decides what can be edited or deleted.
        created_by:
          description: User id of the member who added it; null when no member added it.
          type:
          - string
          - 'null'
        created_at:
          type: string
          format: date-time
          description: When the skill was added.
        updated_at:
          type: string
          format: date-time
          description: When the skill last changed.
    UpdateSkill:
      type: object
      properties:
        expected_revision_id:
          type: string
          minLength: 1
          maxLength: 200
          description: Opaque revision_id from getSkill or listSkills. A stale token returns 409 skill_revision_conflict without changing the skill. Omit to retain unconditional legacy writes.
        name:
          type: string
          description: New display name; a name another skill already uses returns 409. Omit it to keep the current name.
        description:
          type: string
          description: New text saying what the skill does and when an agent should use it; Reason matches it against the task to pick skills. Omit it to keep the current text.
        instructions:
          type: string
          description: New skill document, replacing the old one whole, that an agent follows once the skill is picked. Omit it to keep the current document.
        files:
          type: array
          items:
            type: object
            properties:
              path:
                type: string
                description: Path relative to the skill folder, such as `scripts/run.py` or `references/api.md`.
              content:
                type: string
                description: 'The file''s whole UTF-8 text, stored exactly as sent: read the file to its end, never a head, preview or one page of a paged read, so its UTF-8 byte count matches the file''s size (wc -c).'
            required:
            - path
            - content
          description: 'Authored skills only: the skill folder''s complete new set of companion text files beside SKILL.md, replacing the old set in place (the skill id stays). Files left out are removed; `[]` leaves only SKILL.md. Omit it to keep the current files. Binary files are refused with 422.'
        activation_keywords:
          type: array
          items:
            type: string
          description: 'Replacement list of search aliases, kept for compatibility: they help explicit search but never activate the skill. Omit it to keep the current list.'
        is_enabled:
          type: boolean
          description: Send false to stop agents from using the skill, or true to offer it again; omit it to keep the current state.
      description: All fields optional. Only supplied fields are changed.
  parameters:
    orgId:
      name: orgId
      in: path
      required: true
      description: Organization id or slug. Resolve it with `GET /v3/self`.
      schema:
        type: string
  securitySchemes:
    loopWebhookKey:
      type: http
      scheme: bearer
      description: A Loop's webhook key, returned once by the createReasonLoop or updateReasonLoop call that adds the webhook. It only delivers events to that Loop's webhook; every other operation rejects it.
    loopWebhookSignature:
      type: apiKey
      in: header
      name: X-Signature-256
      description: 'An HMAC-SHA256 of the exact request body keyed with the Loop''s webhook key or its stored signing secret: hex in `X-Signature-256` (optionally `sha256=`-prefixed), or the sender''s own header (`X-Hub-Signature-256`, `Stripe-Signature`, `Webhook-Signature`, `Svix-Signature`, `Linear-Signature`, `Sentry-Hook-Signature`, `X-Shopify-Hmac-Sha256`).'
    reasonMachineToken:
      type: http
      scheme: bearer
      bearerFormat: rmt_<hex>
      description: A Machine token from createMachineToken. It can only create enrollment tickets for its own Machine; every other operation rejects it.
    reasonUserOAuth:
      type: http
      scheme: bearer
      description: A workspace-bound human user OAuth grant with org:write scope. The user must be an organization owner/admin. API keys and browser sessions are not accepted.
    reasonApiKey:
      type: http
      scheme: bearer
      bearerFormat: 'reason_<hex> (legacy: ara_<hex>)'
      description: 'Your Reason API key from Settings › API keys. New keys use `reason_`; legacy `ara_` keys remain accepted. Keys are capability-scoped: run, mcp:read, mcp:write, secrets:read, secrets:write, sessions:read, sessions:debug, devices:read, devices:write, devices:use, computers:read, computers:write, ssh:write, knowledge:read, memory:read, memory:write, skills:read, skills:write, pages:read, pages:write, repos:read, repos:write, reviews:read, reviews:write, deployment:read, analytics:read, org:read, org:write, attachments:read, attachments:write, guardrails:read, guardrails:write, network:read, network:write, automations:read, automations:write, agent_auth:read. devices:write, devices:use, computers:read, computers:write, ssh:write, network:read and network:write are opt-in, excluded from default keys. computers:read lists visible cloud and connected computers without waking them or granting execution access. devices:read discovers local Device targets; devices:use separately consents to local execution, so a discover-and-run local workflow needs both. devices:write manages enrollment and device grants; computers:write creates or deletes cloud computers; ssh:write manages retained SSH access. network:read reads the saved workspace network policy; network:write replaces custom allowed hosts and requires a current organization owner/admin. Legacy project PATCH requests containing network_allowed_hosts also require network:write plus their existing run scope and project management permission; saved project hosts do not affect current session egress. Only owners/admins can mint or manage keys with network:write; keys cannot grant themselves more authority. See /docs/network-policies for replacement semantics and runtime applicability. mcp:write manages MCP server configuration only; it does not authorize remote MCP-tool execution. sessions:read reads sessions, including the assistant, reasoning and tool activity in their events. sessions:debug is privileged: only for organization owners/admins, it expands session events to the full diagnostic projection (diagnostic event kinds, status text and raw event metadata).'