> ## Documentation Index
> Fetch the complete documentation index at: https://www.qovery.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get what to load for one skill

> Return what the caller's agent must load for one skill, under the preset that applies to the caller (resolved as in `getResolvedSkillPreset`): the organization's content for that skill if any, the team context, and the SHA-256 of each, so the member can check that what their agent follows is what an admin saved. Any organization member can call it (READ_ORGANIZATION_DATA).

A Qovery skill (`qovery` or `qovery-*`) that the preset leaves alone, or any Qovery skill when no preset applies, answers 200 with a null `mode`: load the Qovery skill as published, with the team context if there is one. A `DISABLE` mode means the agent must not load the skill. Any other name that is not in the preset answers 404.

The ETag is the same as the manifest's, so a single revision covers every skill of the preset. Send it in `If-None-Match` to get a 304 with no body when the cached copy is current.

Set `purpose` to say who reads the skill. LOAD (the default) is a member's coding agent loading it to follow it. VIEW is a person reading it, for example in the Console: same body and same ETag and 304 behaviour, recorded as a `SKILL_VIEW` audit event with the same content as a `SKILL_LOAD` entry, and not counted in `getSkillUsage`.

Every LOAD call is recorded in the audit log as a `SKILL_LOAD` event with sub-target `SKILL_PRESET`, 304s included (with `from_cache` set to true): the entry gives the skill, the preset and revision that applied (or `QOVERY_DEFAULT`), the mode, and the SHA-256 of the content and team context that were injected. A 404 is not recorded.



## OpenAPI

````yaml /api-reference/openapi.yaml get /organization/{organizationId}/skillPreset/resolved/skill/{skillName}
openapi: 3.0.0
info:
  version: 1.0.4
  title: Qovery API
  description: >
    - Qovery is the fastest way to deploy your full-stack apps on any Cloud
    provider.

    - ℹ️ The API is stable and still in development.
  contact:
    name: Qovery Product Team
    url: https://www.qovery.com
    email: support+api+documentation@qovery.com
  x-logo:
    url: https://console.qovery.com/assets/logos/logo-white.svg
    altText: Qovery
servers:
  - url: https://api.qovery.com
security:
  - bearerAuth: []
  - ApiKeyAuth: []
tags:
  - name: Account
  - name: Account Info
  - name: IPs
  - name: Alert Receivers
  - name: Alert Rules
  - name: Admin
  - name: ArgoCD
  - name: Agentic Workflows
  - name: Application
  - name: Application Actions
  - name: Application Build Analysis
  - name: Application Configuration
  - name: Application Database
  - name: Application Deployment Restriction
  - name: Application Deployment History
  - name: Application Environment Variable
  - name: Application Logs
  - name: Application Main Calls
  - name: Application Secret
  - name: Application Annotations Group
  - name: Applications
  - name: AutoscalingPolicy
  - name: Container
  - name: Container Actions
  - name: Container Configuration
  - name: Container Database
  - name: Container Deployment History
  - name: Container Environment Variable
  - name: Container Logs
  - name: Container Main Calls
  - name: Container Registry
  - name: Container Secret
  - name: Container Annotations Group
  - name: Containers
  - name: Deployment Stage Main Calls
  - name: Job
  - name: Job Actions
  - name: Job Build Analysis
  - name: Job Configuration
  - name: Job Database
  - name: Job Deployment Restriction
  - name: Job Deployment History
  - name: Job Environment Variable
  - name: Job Logs
  - name: Job Main Calls
  - name: Job Registry
  - name: Job Secret
  - name: Job Annotations Group
  - name: Jobs
  - name: KedaTriggerAuthentication
  - name: Helm
  - name: Helm Actions
  - name: Helm Configuration
  - name: Helm Database
  - name: Helm Deployment Restriction
  - name: Helm Deployment History
  - name: Helm Logs
  - name: Helm Main Calls
  - name: Helm Repository
  - name: Helms
  - name: Backups
  - name: Billing
  - name: Blueprint Catalog
  - name: Cloud Provider
  - name: Cloud Provider Credentials
  - name: Clusters
  - name: Cluster Deployment History
  - name: Cluster Operator
  - name: Platform Configuration
  - name: Custom Domain
  - name: Container Custom Domain
  - name: LLM Providers
  - name: MCP Servers
  - name: Agent Activity
    description: >-
      What members' coding agents did on Qovery, linked to the skills they
      loaded: skill loads, API calls made from a Qovery skill, Qovery MCP server
      tool calls and policy denials. Built only from what Qovery already
      records. It returns no prompt text and no request content.
  - name: Skill Presets
    description: >-
      A skill preset is how an organization tells its members' coding agents to
      use Qovery: which Qovery skills apply, team instructions on top of them,
      and skills of the organization's own. Admins manage presets and assign
      each one to the organization, to roles or to members. Any member can read
      the preset that applies to them, which is what the agent's Qovery loader
      skill fetches. Every saved preset is inspected for content that could turn
      a member's agent against them, and every create, edit, delete and skill
      load is recorded in the audit log.
  - name: Database
  - name: Database Actions
  - name: Database Application
  - name: Database Container
  - name: Database Deployment History
  - name: Database Main Calls
  - name: Database Annotations Group
  - name: Databases
  - name: Environment
  - name: Environment Actions
  - name: Environment Custom Domain
  - name: Environment Deployment History
  - name: Environment Deployment Rule
  - name: Environment Logs
  - name: Environment Main Calls
  - name: Environment Secret
  - name: Environment Variable
  - name: Environments
  - name: Git
  - name: Github App
  - name: Git repositories
  - name: Members
  - name: Organization
  - name: Organization Account Git Repositories
  - name: Organization Cluster Lock
  - name: Organization Main Calls
  - name: Organization Custom Role
  - name: Organization Custom Domain
  - name: Organization Event
  - name: Organization Api Token
  - name: Organization Policy Api Token
  - name: Organization Webhook
  - name: Organization Annotations Group
  - name: Organization Labels Group
  - name: Organization Enterprise Connection
  - name: Project
  - name: Project Deployment Rule
  - name: Project Environment Variable
  - name: Project Main Calls
  - name: Project Secret
  - name: Projects
  - name: Referral & Rewards
  - name: Secret Manager Access
  - name: Terraforms
  - name: Terraform Main Calls
  - name: Terraform Resources
  - name: Terraform Deployment History
  - name: Terraform Deployment Restriction
  - name: Container Registries
  - name: Helm Repositories
  - name: User Sign Up
  - name: Variable Main Calls
  - name: Helm Custom Domain
  - name: Lifecycle Template Main Calls
  - name: Blueprint Main Calls
paths:
  /organization/{organizationId}/skillPreset/resolved/skill/{skillName}:
    get:
      tags:
        - Skill Presets
      summary: Get what to load for one skill
      description: >-
        Return what the caller's agent must load for one skill, under the preset
        that applies to the caller (resolved as in `getResolvedSkillPreset`):
        the organization's content for that skill if any, the team context, and
        the SHA-256 of each, so the member can check that what their agent
        follows is what an admin saved. Any organization member can call it
        (READ_ORGANIZATION_DATA).


        A Qovery skill (`qovery` or `qovery-*`) that the preset leaves alone, or
        any Qovery skill when no preset applies, answers 200 with a null `mode`:
        load the Qovery skill as published, with the team context if there is
        one. A `DISABLE` mode means the agent must not load the skill. Any other
        name that is not in the preset answers 404.


        The ETag is the same as the manifest's, so a single revision covers
        every skill of the preset. Send it in `If-None-Match` to get a 304 with
        no body when the cached copy is current.


        Set `purpose` to say who reads the skill. LOAD (the default) is a
        member's coding agent loading it to follow it. VIEW is a person reading
        it, for example in the Console: same body and same ETag and 304
        behaviour, recorded as a `SKILL_VIEW` audit event with the same content
        as a `SKILL_LOAD` entry, and not counted in `getSkillUsage`.


        Every LOAD call is recorded in the audit log as a `SKILL_LOAD` event
        with sub-target `SKILL_PRESET`, 304s included (with `from_cache` set to
        true): the entry gives the skill, the preset and revision that applied
        (or `QOVERY_DEFAULT`), the mode, and the SHA-256 of the content and team
        context that were injected. A 404 is not recorded.
      operationId: getResolvedSkill
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - name: skillName
          in: path
          description: >-
            Name of the skill to load, for example `qovery-deploy` or a skill
            the preset adds
          required: true
          schema:
            type: string
            example: qovery-deploy
        - name: purpose
          in: query
          description: >-
            Who reads the skill. Defaults to LOAD. Any other value than LOAD or
            VIEW is refused with 400.
          required: false
          schema:
            allOf:
              - $ref: '#/components/schemas/SkillLoadPurpose'
            default: LOAD
        - $ref: '#/components/parameters/skillPresetIfNoneMatch'
      responses:
        '200':
          description: What to load for the skill
          headers:
            ETag:
              $ref: '#/components/headers/SkillPresetETag'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillPresetResolvedSkillResponse'
        '304':
          $ref: '#/components/responses/SkillPresetNotModified'
        '400':
          description: '`purpose` is not LOAD or VIEW'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          description: >-
            The organization does not exist, `skillName` is not a valid skill
            name (lowercase letters, digits and hyphens, at most 64 characters),
            or the skill is neither a Qovery skill nor a skill of the preset
            that applies to the caller
components:
  parameters:
    organizationId:
      name: organizationId
      in: path
      description: Organization ID
      required: true
      schema:
        type: string
        format: uuid
    skillPresetIfNoneMatch:
      name: If-None-Match
      in: header
      description: >-
        The ETag of the caller's cached copy. When it matches the current ETag,
        the response is a 304 with no body.
      required: false
      schema:
        type: string
        example: '"role-0193f1c2-6b1e-7c3a-9a4f-2d5e8b7c1a90-3"'
  schemas:
    SkillLoadPurpose:
      type: string
      enum:
        - LOAD
        - VIEW
      description: >-
        Who reads a skill. LOAD: a member's coding agent loads it to follow it,
        audited as `SKILL_LOAD` and counted in usage. VIEW: a person reads it,
        for example in the Console, audited as `SKILL_VIEW` and not counted in
        usage.
    SkillPresetResolvedSkillResponse:
      type: object
      description: What the agent loads for one skill, and what it shows the member.
      required:
        - source
        - skill_name
      properties:
        source:
          $ref: '#/components/schemas/SkillPresetResolutionSource'
        skill_name:
          type: string
        skill_preset:
          type: object
          allOf:
            - $ref: '#/components/schemas/SkillPresetReference'
          nullable: true
          description: >-
            The preset that applies to the caller. Null when `source` is
            QOVERY_DEFAULT.
        mode:
          type: string
          allOf:
            - $ref: '#/components/schemas/SkillPresetSkillMode'
          nullable: true
          description: >-
            Null when the preset leaves this Qovery skill alone, or when no
            preset applies: load the Qovery skill as published. DISABLE means
            the agent must not load the skill.
        description:
          type: string
          nullable: true
          description: >-
            The entry's description. Null when the preset leaves the skill alone
            or the entry has none.
        content:
          type: string
          nullable: true
          description: >-
            Markdown to load: team instructions after the Qovery skill for
            OVERLAY, the whole skill for REPLACE and ADD. Null for DISABLE and
            when the preset leaves the skill alone.
        content_sha256:
          type: string
          nullable: true
          description: Hex-encoded SHA-256 of `content`. Null when `content` is null.
        team_context:
          type: string
          nullable: true
          description: >-
            The preset's team context, delivered with every skill. Null when
            there is none or no preset applies.
        team_context_sha256:
          type: string
          nullable: true
          description: >-
            Hex-encoded SHA-256 of `team_context`. Null when `team_context` is
            null.
    SkillPresetResolutionSource:
      type: string
      enum:
        - USER
        - ROLE
        - ORGANIZATION
        - QOVERY_DEFAULT
      description: >-
        Which assignment made the preset apply to the caller. USER: assigned to
        the caller as a member. ROLE: assigned to the caller's role in the
        organization. ORGANIZATION: the organization default. QOVERY_DEFAULT: no
        preset applies, and the agent uses the Qovery skills as published.
    SkillPresetReference:
      type: object
      required:
        - id
        - name
        - revision
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        revision:
          type: integer
          minimum: 1
    SkillPresetSkillMode:
      type: string
      enum:
        - DISABLE
        - OVERLAY
        - REPLACE
        - ADD
      description: >-
        What a skill entry does on top of the base. DISABLE: the Qovery skill is
        never loaded. OVERLAY: the Qovery skill is loaded, then the entry's
        content as team instructions. REPLACE: the entry's content is loaded in
        place of the Qovery skill. ADD: a skill of the organization's own.
        DISABLE, OVERLAY and REPLACE apply to a Qovery skill (named `qovery` or
        `qovery-*`) and only on the FULL base. ADD applies to any name that does
        not start with `qovery`, on any base.
  headers:
    SkillPresetETag:
      description: >-
        Strong ETag of the skill preset that applies to the caller, shared by
        the manifest and every skill of the preset. Opaque: compare it, don't
        parse it. Today it is `"<source>-<preset id>-<revision>"`, or
        `"qovery-default"` when no preset applies.
      schema:
        type: string
        example: '"role-0193f1c2-6b1e-7c3a-9a4f-2d5e8b7c1a90-3"'
  responses:
    '401':
      description: Access token is missing or invalid
    '403':
      description: Access forbidden
    SkillPresetNotModified:
      description: >-
        The `If-None-Match` header holds the current ETag, so the cached copy is
        still current. No body.
      headers:
        ETag:
          $ref: '#/components/headers/SkillPresetETag'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT tokens should be used with OIDC account (human to machine). JWT
        tokens used by the Qovery console to communicate with the API have a
        TTL. Curl Example ' curl https://console.qovery.com/organization -H
        "Authorization: Bearer $qovery_token" '
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Token API are generated by Qovery to manage machine to machine
        interaction and do not have a TTL. Curl Example ' curl
        https://console.qovery.com/organization -H "Authorization: Token
        $qovery_token" '

````

## Related topics

- [Get skill usage](https://www.qovery.com/docs/api-reference/skill-presets/get-skill-usage.md)
- [Get a skill preset](https://www.qovery.com/docs/api-reference/skill-presets/get-a-skill-preset.md)
- [Get agent activity](https://www.qovery.com/docs/api-reference/agent-activity/get-agent-activity.md)
- [Get my agent activity](https://www.qovery.com/docs/api-reference/agent-activity/get-my-agent-activity.md)
- [Try Qovery on Your Laptop with a Coding Agent](https://www.qovery.com/docs/getting-started/quickstart/try-with-an-agent.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.