> ## 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 the skill preset that applies to the caller

> Return the manifest of the skill preset that applies to the caller in this organization: its name, base, revision and, for each skill entry, the mode, the description and the size and SHA-256 of the content, but never the content itself. This is what the Qovery loader skill reads first. It then fetches only the skills a task needs with `getResolvedSkill`. Any organization member can call it (READ_ORGANIZATION_DATA). Assignments and the preset's creator are left out.

The preset is resolved in this order: a preset assigned to the caller as a member, then a preset assigned to the caller's role in the organization, then the organization default. When none applies, `source` is `QOVERY_DEFAULT`, `skill_preset` is null and the agent uses the Qovery skills as published. API tokens have no member behind them, so they only receive a role preset or the organization default.

The response carries an `ETag`. Treat it as opaque: it changes when the preset is edited, when the caller moves to another preset, and when the caller reaches the same preset through another assignment. Send it back in `If-None-Match` to get a 304 with no body when nothing changed. Templates are never resolved.



## OpenAPI

````yaml /api-reference/openapi.yaml get /organization/{organizationId}/skillPreset/resolved
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:
    get:
      tags:
        - Skill Presets
      summary: Get the skill preset that applies to the caller
      description: >-
        Return the manifest of the skill preset that applies to the caller in
        this organization: its name, base, revision and, for each skill entry,
        the mode, the description and the size and SHA-256 of the content, but
        never the content itself. This is what the Qovery loader skill reads
        first. It then fetches only the skills a task needs with
        `getResolvedSkill`. Any organization member can call it
        (READ_ORGANIZATION_DATA). Assignments and the preset's creator are left
        out.


        The preset is resolved in this order: a preset assigned to the caller as
        a member, then a preset assigned to the caller's role in the
        organization, then the organization default. When none applies, `source`
        is `QOVERY_DEFAULT`, `skill_preset` is null and the agent uses the
        Qovery skills as published. API tokens have no member behind them, so
        they only receive a role preset or the organization default.


        The response carries an `ETag`. Treat it as opaque: it changes when the
        preset is edited, when the caller moves to another preset, and when the
        caller reaches the same preset through another assignment. Send it back
        in `If-None-Match` to get a 304 with no body when nothing changed.
        Templates are never resolved.
      operationId: getResolvedSkillPreset
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - $ref: '#/components/parameters/skillPresetIfNoneMatch'
      responses:
        '200':
          description: The manifest of the skill preset that applies to the caller
          headers:
            ETag:
              $ref: '#/components/headers/SkillPresetETag'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillPresetManifestResponse'
        '304':
          $ref: '#/components/responses/SkillPresetNotModified'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
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"'
  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"'
  schemas:
    SkillPresetManifestResponse:
      type: object
      required:
        - source
      properties:
        source:
          $ref: '#/components/schemas/SkillPresetResolutionSource'
        skill_preset:
          type: object
          allOf:
            - $ref: '#/components/schemas/SkillPresetManifest'
          nullable: true
          description: >-
            The preset that applies to the caller. Null when `source` is
            QOVERY_DEFAULT.
    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.
    SkillPresetManifest:
      type: object
      description: >-
        The preset as the member sees it. No content, no assignments, no
        creator.
      required:
        - id
        - name
        - base
        - revision
        - updated_at
        - skills
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        base:
          $ref: '#/components/schemas/SkillPresetBase'
        revision:
          type: integer
          minimum: 1
        updated_at:
          type: string
          format: date-time
        team_context:
          type: object
          allOf:
            - $ref: '#/components/schemas/SkillPresetContentSummary'
          nullable: true
          description: >-
            Size and hash of the team context, which comes with every skill
            fetched. Null when the preset has none.
        skills:
          type: array
          items:
            $ref: '#/components/schemas/SkillPresetManifestSkill'
    SkillPresetBase:
      type: string
      enum:
        - FULL
        - LEAN
        - NONE
      description: >-
        The Qovery skill set a preset starts from. FULL: every Qovery skill, as
        published. LEAN: one short CLI-first skill that relies on the `qovery`
        CLI and its `--help`. NONE: no Qovery skill, only the preset's own
        skills and team context.
    SkillPresetContentSummary:
      type: object
      description: >-
        Enough for the agent to tell the member what will be injected, and for
        the member to verify it.
      required:
        - approx_tokens
        - sha256
      properties:
        approx_tokens:
          type: integer
          description: >-
            Estimated size in tokens, the number of characters divided by 4. An
            estimate for the member, not a bill.
        sha256:
          type: string
          description: Hex-encoded SHA-256 of the UTF-8 text.
    SkillPresetManifestSkill:
      type: object
      required:
        - skill_name
        - mode
      properties:
        skill_name:
          type: string
        mode:
          $ref: '#/components/schemas/SkillPresetSkillMode'
        description:
          type: string
          nullable: true
          description: When the agent should use the skill. Null when the entry has none.
        content:
          type: object
          allOf:
            - $ref: '#/components/schemas/SkillPresetContentSummary'
          nullable: true
          description: >-
            Size and hash of the content, never the content itself. Null for
            DISABLE, which injects nothing.
    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.
  responses:
    '401':
      description: Access token is missing or invalid
    '403':
      description: Access forbidden
    '404':
      description: Resource not found
    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 what to load for one skill](https://www.qovery.com/docs/api-reference/skill-presets/get-what-to-load-for-one-skill.md)
- [Get a skill preset](https://www.qovery.com/docs/api-reference/skill-presets/get-a-skill-preset.md)
- [Get skill usage](https://www.qovery.com/docs/api-reference/skill-presets/get-skill-usage.md)
- [List skill preset revisions](https://www.qovery.com/docs/api-reference/skill-presets/list-skill-preset-revisions.md)
- [List organization skill presets](https://www.qovery.com/docs/api-reference/skill-presets/list-organization-skill-presets.md)


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