SendSeven GmbH AI Skills API

Beta. Manage the skills library for Conversational Agents. Every content change creates an immutable version; import skills in bulk.

GitHub OpenAPI

Operations 11

GET /api/v1/automation/skills List Skills #
POST /api/v1/automation/skills Create Skill #
POST /api/v1/automation/skills/import Import Skills #
GET /api/v1/automation/skills/{skill_id} Get Skill #
PATCH /api/v1/automation/skills/{skill_id} Update Skill #
DELETE /api/v1/automation/skills/{skill_id} Delete Skill #
GET /api/v1/automation/skills/{skill_id}/versions List Skill Versions #
GET /api/v1/automation/skills/{skill_id}/versions/{version_id} Get Skill Version #
POST /api/v1/automation/skills/{skill_id}/versions/{version_id}/restore Restore Skill Version #
GET /api/v1/automation/skills/{skill_id}/usage Get Skill Usage #
GET /api/v1/automation/skills/{skill_id}/goal-stats Get Skill Goal Stats #

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/sendseven-com:sendseven-com-ai-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

sendseven-com-ai-skills-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendSeven AI Skills API
  description: Unified messaging API for WhatsApp, Telegram, SMS, and more
  version: '20261124.1227'
servers:
- url: https://api.sendseven.com
  description: Production
tags:
- name: AI Skills
  description: Beta. Manage the skills library for Conversational Agents. Every content change creates an immutable version; import skills in bulk.
paths:
  /api/v1/automation/skills:
    get:
      tags:
      - AI Skills
      summary: List Skills
      description: 'List the tenant''s skills library.


        **Required Scopes:** `automation:read`'
      operationId: list_skills_api_v1_automation_skills_get
      security:
      - HTTPBearer: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Search
      - name: include_archived
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Archived
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_SkillListItem_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - AI Skills
      summary: Create Skill
      description: 'Create a skill (and its version 1). ``slug`` is derived from the title

        when omitted; an explicit slug that already exists returns 409.


        ``goal`` (Beta, optional): structured goal stored on the version. An invalid

        goal returns 422 ``{"detail": {"code": "invalid_goal", "errors": [{path, code,

        message}]}}``; 409 ``goal_unavailable`` while goals are not yet available.


        ``attachment_instruction`` (Beta, optional): what the agent does with a

        customer''s image or PDF when this skill is loaded --

        ``{"preset": "read_text" | "describe" | "context" | "custom", "custom_text"}``

        (``custom_text`` 1-1000 chars, only for ``custom``). Omitted / null = ``context``.


        **Required Scopes:** `automation:create`'
      operationId: create_skill_api_v1_automation_skills_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkillCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/automation/skills/import:
    post:
      tags:
      - AI Skills
      summary: Import Skills
      description: 'Import skills in the seed format ``{slug?, title, description, mode?, skill,

        tool_allowlist?, goal?, attachment_instruction?}`` (an omitted ``goal`` /

        ``attachment_instruction`` keeps the existing value on update).

        An existing slug gets a new version when its content changed (``updated``),

        otherwise it is reported as ``unchanged``. Invalid items are reported in

        ``errors`` without stopping the others.


        **Required Scopes:** `automation:create`, `automation:update`'
      operationId: import_skills_api_v1_automation_skills_import_post
      requestBody:
        content:
          application/json:
            schema:
              title: Payload
              description: '{"skills":[{slug?, title, description, mode?, skill}]}, a single skill object, or a list'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillImportResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/v1/automation/skills/{skill_id}:
    get:
      tags:
      - AI Skills
      summary: Get Skill
      description: 'Get a skill including the body of its current version.


        **Required Scopes:** `automation:read`'
      operationId: get_skill_api_v1_automation_skills__skill_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - AI Skills
      summary: Update Skill
      description: 'Update a skill. A title, description, body, tool_allowlist, ``goal`` or

        ``attachment_instruction`` change (``null`` clears either) creates a new

        immutable version; an omitted ``goal`` / ``attachment_instruction`` is

        carried forward. default_mode / is_archived only change the skill.

        Invalid goal → 422 ``invalid_goal`` (see create).


        **Required Scopes:** `automation:update`'
      operationId: update_skill_api_v1_automation_skills__skill_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkillUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - AI Skills
      summary: Delete Skill
      description: 'Delete a skill. A skill still linked to an agent or referenced by a flow

        is archived instead (``action: "archived"``); otherwise it is deleted with

        all its versions (``action: "deleted"``).


        **Required Scopes:** `automation:delete`'
      operationId: delete_skill_api_v1_automation_skills__skill_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillDeleteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/automation/skills/{skill_id}/versions:
    get:
      tags:
      - AI Skills
      summary: List Skill Versions
      description: 'List a skill''s versions (newest first; bodies omitted, see ``body_chars``).


        **Required Scopes:** `automation:read`'
      operationId: list_skill_versions_api_v1_automation_skills__skill_id__versions_get
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: page_size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse_SkillVersionListItem_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/automation/skills/{skill_id}/versions/{version_id}:
    get:
      tags:
      - AI Skills
      summary: Get Skill Version
      description: 'Get one skill version including its body.


        **Required Scopes:** `automation:read`'
      operationId: get_skill_version_api_v1_automation_skills__skill_id__versions__version_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      - name: version_id
        in: path
        required: true
        schema:
          type: string
          title: Version Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillVersionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/automation/skills/{skill_id}/versions/{version_id}/restore:
    post:
      tags:
      - AI Skills
      summary: Restore Skill Version
      description: 'Restore an old version by copying it into a NEW current version.


        **Required Scopes:** `automation:update`'
      operationId: restore_skill_version_api_v1_automation_skills__skill_id__versions__version_id__restore_post
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      - name: version_id
        in: path
        required: true
        schema:
          type: string
          title: Version Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/automation/skills/{skill_id}/usage:
    get:
      tags:
      - AI Skills
      summary: Get Skill Usage
      description: 'Where a skill is used: linked agents and non-archived flows whose

        run_assistant node sets this ``skill_slug``.


        **Required Scopes:** `automation:read`'
      operationId: get_skill_usage_api_v1_automation_skills__skill_id__usage_get
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillUsageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/automation/skills/{skill_id}/goal-stats:
    get:
      tags:
      - AI Skills
      summary: Get Skill Goal Stats
      description: 'Goal funnel (Beta) for a skill over the last ``days`` (max 90): distinct goal

        activations started / completed / handed off, overall and per skill version.

        Test-console turns are excluded.


        **Required Scopes:** `automation:read`'
      operationId: get_skill_goal_stats_api_v1_automation_skills__skill_id__goal_stats_get
      security:
      - HTTPBearer: []
      parameters:
      - name: skill_id
        in: path
        required: true
        schema:
          type: string
          title: Skill Id
      - name: days
        in: query
        required: false
        schema:
          type: integer
          maximum: 90
          minimum: 1
          default: 30
          title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillGoalStatsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SkillResponse:
      properties:
        id:
          type: string
          title: Id
        slug:
          type: string
          title: Slug
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        default_mode:
          type: string
          title: Default Mode
        current_version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Current Version
        current_version_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Current Version Id
        is_archived:
          type: boolean
          title: Is Archived
          default: false
        used_by_count:
          type: integer
          title: Used By Count
          default: 0
        used_by:
          items:
            $ref: '#/components/schemas/SkillUsedBy'
          type: array
          title: Used By
        has_goal:
          type: boolean
          title: Has Goal
          default: false
        goal_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Goal Label
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
        body:
          anyOf:
          - type: string
          - type: 'null'
          title: Body
        tool_allowlist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tool Allowlist
        goal:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Goal
        attachment_instruction:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Attachment Instruction
      type: object
      required:
      - id
      - slug
      - title
      - description
      - default_mode
      title: SkillResponse
    PaginatedResponse_SkillListItem_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SkillListItem'
          type: array
          title: Items
          description: List of items for this page
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
          description: Pagination metadata
      type: object
      required:
      - items
      - pagination
      title: PaginatedResponse[SkillListItem]
    PaginationMeta:
      properties:
        total:
          type: integer
          title: Total
          description: Total number of items matching the query
        page:
          type: integer
          minimum: 1.0
          title: Page
          description: Current page number (1-indexed)
        page_size:
          type: integer
          minimum: 1.0
          title: Page Size
          description: Number of items per page
        total_pages:
          type: integer
          title: Total Pages
          description: Total number of pages
        has_next:
          type: boolean
          title: Has Next
          description: Whether there are more pages
        has_prev:
          type: boolean
          title: Has Prev
          description: Whether there are previous pages
        next_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Cursor
          description: Cursor for next page (if using cursor pagination)
        prev_cursor:
          anyOf:
          - type: string
          - type: 'null'
          title: Prev Cursor
          description: Cursor for previous page
      type: object
      required:
      - total
      - page
      - page_size
      - total_pages
      - has_next
      - has_prev
      title: PaginationMeta
      description: 'Pagination metadata for list responses.


        Supports both offset-based and page-based pagination.

        Clients should use page/page_size for new implementations.'
    SkillUsageFlow:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        node_ids:
          items:
            type: string
          type: array
          title: Node Ids
      type: object
      required:
      - id
      - name
      title: SkillUsageFlow
    SkillImportResponse:
      properties:
        created:
          items:
            $ref: '#/components/schemas/SkillImportResultItem'
          type: array
          title: Created
        updated:
          items:
            $ref: '#/components/schemas/SkillImportResultItem'
          type: array
          title: Updated
        unchanged:
          items:
            $ref: '#/components/schemas/SkillImportResultItem'
          type: array
          title: Unchanged
        errors:
          items:
            $ref: '#/components/schemas/SkillImportError'
          type: array
          title: Errors
      type: object
      title: SkillImportResponse
    SkillDeleteResponse:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        id:
          type: string
          title: Id
        action:
          type: string
          enum:
          - archived
          - deleted
          title: Action
        message:
          anyOf:
          - type: string
          - type: 'null'
          title: Message
      type: object
      required:
      - id
      - action
      title: SkillDeleteResponse
    SkillUsageResponse:
      properties:
        agents:
          items:
            $ref: '#/components/schemas/SkillUsageAgent'
          type: array
          title: Agents
        flows:
          items:
            $ref: '#/components/schemas/SkillUsageFlow'
          type: array
          title: Flows
      type: object
      title: SkillUsageResponse
    SkillListItem:
      properties:
        id:
          type: string
          title: Id
        slug:
          type: string
          title: Slug
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        default_mode:
          type: string
          title: Default Mode
        current_version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Current Version
        current_version_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Current Version Id
        is_archived:
          type: boolean
          title: Is Archived
          default: false
        used_by_count:
          type: integer
          title: Used By Count
          default: 0
        used_by:
          items:
            $ref: '#/components/schemas/SkillUsedBy'
          type: array
          title: Used By
        has_goal:
          type: boolean
          title: Has Goal
          default: false
        goal_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Goal Label
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        updated_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Updated At
      type: object
      required:
      - id
      - slug
      - title
      - description
      - default_mode
      title: SkillListItem
    SkillAttachmentInstruction:
      properties:
        preset:
          type: string
          enum:
          - read_text
          - describe
          - context
          - custom
          title: Preset
        custom_text:
          anyOf:
          - type: string
            maxLength: 1200
          - type: 'null'
          title: Custom Text
      additionalProperties: false
      type: object
      required:
      - preset
      title: SkillAttachmentInstruction
      description: 'What a skill tells the agent to do with a customer''s image / PDF (Beta).


        Stored on the skill VERSION. NULL on the version = preset ``context``.

        ``custom_text`` is required (1-1000 chars) iff ``preset == "custom"``.'
    SkillVersionResponse:
      properties:
        id:
          type: string
          title: Id
        skill_id:
          type: string
          title: Skill Id
        version:
          type: integer
          title: Version
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        body_chars:
          type: integer
          title: Body Chars
          default: 0
        tool_allowlist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tool Allowlist
        goal:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Goal
        attachment_instruction:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Attachment Instruction
        is_current:
          type: boolean
          title: Is Current
          default: false
        created_by_user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Created By User Id
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
        body:
          type: string
          title: Body
      type: object
      required:
      - id
      - skill_id
      - version
      - body
      title: SkillVersionResponse
    SkillUsedBy:
      properties:
        agent_id:
          type: string
          title: Agent Id
        bot_id:
          type: string
          title: Bot Id
        name:
          type: string
          title: Name
        avatar_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar Url
      type: object
      required:
      - agent_id
      - bot_id
      - name
      title: SkillUsedBy
    SkillCreate:
      properties:
        slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Slug
        title:
          type: string
          maxLength: 255
          minLength: 1
          title: Title
        description:
          type: string
          maxLength: 1000
          minLength: 1
          title: Description
        default_mode:
          type: string
          enum:
          - always_on
          - model_selected
          - flow_only
          title: Default Mode
          default: model_selected
        body:
          type: string
          title: Body
        tool_allowlist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tool Allowlist
        goal:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Goal
        attachment_instruction:
          anyOf:
          - $ref: '#/components/schemas/SkillAttachmentInstruction'
          - type: 'null'
      additionalProperties: false
      type: object
      required:
      - title
      - description
      - body
      title: SkillCreate
    SkillVersionListItem:
      properties:
        id:
          type: string
          title: Id
        skill_id:
          type: string
          title: Skill Id
        version:
          type: integer
          title: Version
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        body_chars:
          type: integer
          title: Body Chars
          default: 0
        tool_allowlist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tool Allowlist
        goal:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Goal
        attachment_instruction:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Attachment Instruction
        is_current:
          type: boolean
          title: Is Current
          default: false
        created_by_user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Created By User Id
        created_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Created At
      type: object
      required:
      - id
      - skill_id
      - version
      title: SkillVersionListItem
    SkillUsageAgent:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        mode:
          anyOf:
          - type: string
          - type: 'null'
          title: Mode
      type: object
      required:
      - id
      - name
      title: SkillUsageAgent
    SkillGoalStatsResponse:
      properties:
        days:
          type: integer
          title: Days
        started:
          type: integer
          title: Started
          default: 0
        completed:
          type: integer
          title: Completed
          default: 0
        handed_off:
          type: integer
          title: Handed Off
          default: 0
        completion_rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Completion Rate
        by_version:
          items:
            $ref: '#/components/schemas/SkillGoalStatsVersion'
          type: array
          title: By Version
        truncated:
          type: boolean
          title: Truncated
          default: false
      type: object
      required:
      - days
      title: SkillGoalStatsResponse
    PaginatedResponse_SkillVersionListItem_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/SkillVersionListItem'
          type: array
          title: Items
          description: List of items for this page
        pagination:
          $ref: '#/components/schemas/PaginationMeta'
          description: Pagination metadata
      type: object
      required:
      - items
      - pagination
      title: PaginatedResponse[SkillVersionListItem]
    SkillUpdate:
      properties:
        title:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: Title
        description:
          anyOf:
          - type: string
            maxLength: 1000
            minLength: 1
          - type: 'null'
          title: Description
        default_mode:
          anyOf:
          - type: string
            enum:
            - always_on
            - model_selected
            - flow_only
          - type: 'null'
          title: Default Mode
        is_archived:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Archived
        body:
          anyOf:
          - type: string
          - type: 'null'
          title: Body
        tool_allowlist:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tool Allowlist
        goal:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Goal
        attachment_instruction:
          anyOf:
          - $ref: '#/components/schemas/SkillAttachmentInstruction'
          - type: 'null'
      additionalProperties: false
      type: object
      title: SkillUpdate
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SkillGoalStatsVersion:
      properties:
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
        started:
          type: integer
          title: Started
          default: 0
        completed:
          type: integer
          title: Completed
          default: 0
        handed_off:
          type: integer
          title: Handed Off
          default: 0
        completion_rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Completion Rate
      type: object
      title: SkillGoalStatsVersion
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SkillImportResultItem:
      properties:
        index:
          type: integer
          title: Index
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
        slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Slug
        version:
          anyOf:
          - type: integer
          - type: 'null'
          title: Version
      type: object
      required:
      - index
      title: SkillImportResultItem
    SkillImportError:
      properties:
        index:
          type: integer
          title: Index
        slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Slug
        error:
          type: string
          title: Error
      type: object
      required:
      - index
      - error
      title: SkillImportError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer