Patricia Instruction Skill Priority API

The instruction-skill-priority API from Patricia — 1 operation(s) for instruction-skill-priority.

GitHub OpenAPI

Operations 2

GET /v1/instruction-skill-priority/tenant Get the workspace instruction-skill spend-order preference #
PUT /v1/instruction-skill-priority/tenant Set the workspace instruction-skill spend-order preference #

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/patricia-app:patricia-app-instruction-skill-priority-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

patricia-app-instruction-skill-priority-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Patricia Instruction Skill Priority API
  version: 0.1.0
tags:
- name: instruction-skill-priority
paths:
  /v1/instruction-skill-priority/tenant:
    get:
      tags:
      - instruction-skill-priority
      summary: Get the workspace instruction-skill spend-order preference
      description: Read whether this workspace has restored team-first spend order for the shared instruction-skill prompt budget (admin). A workspace that has configured nothing reads back the platform default, personal-first.
      operationId: get_instruction_skill_priority_v1_instruction_skill_priority_tenant_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstructionSkillPriorityResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    put:
      tags:
      - instruction-skill-priority
      summary: Set the workspace instruction-skill spend-order preference
      description: Set whether team instruction skills get first claim on the shared instruction-skill prompt budget for this workspace, instead of the platform default of personal skills first. Admin only. Does not change which team skills are eligible to spend the budget at all — the relevance gate still narrows that pool the same way regardless of this preference.
      operationId: set_instruction_skill_priority_v1_instruction_skill_priority_tenant_put
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstructionSkillPriorityBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstructionSkillPriorityResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: 'Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        errors:
          anyOf:
          - items:
              additionalProperties: true
              type: object
            type: array
          - type: 'null'
          title: Errors
      type: object
      required:
      - code
      - message
      title: ErrorResponse
      description: Standard error envelope, matching exception handler output.
    InstructionSkillPriorityResponse:
      properties:
        team_first:
          type: boolean
          title: Team First
      additionalProperties: false
      type: object
      required:
      - team_first
      title: InstructionSkillPriorityResponse
      description: The effective instruction-skill spend-order preference for a workspace.
    InstructionSkillPriorityBody:
      properties:
        team_first:
          type: boolean
          title: Team First
          description: Give team instruction skills first claim on the shared prompt budget for this workspace, instead of the platform default of personal instruction skills first.
      additionalProperties: false
      type: object
      required:
      - team_first
      title: InstructionSkillPriorityBody
      description: Request body for setting a workspace's instruction-skill spend-order preference.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer