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

# List skill preset revisions

> List the saved states of the organization's skill presets, most recent first, each with its full content, who saved it and when. Every create, edit and delete adds one immutable revision. Revisions are kept after a preset is deleted: the deletion adds a final `DELETE` revision holding the state the preset had. A save that fails, for example with a 422, adds nothing. Requires the MANAGE_ORGANIZATION_DATA permission (organization owner or admin).



## OpenAPI

````yaml /api-reference/openapi.yaml get /organization/{organizationId}/skillPreset/revision
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/revision:
    get:
      tags:
        - Skill Presets
      summary: List skill preset revisions
      description: >-
        List the saved states of the organization's skill presets, most recent
        first, each with its full content, who saved it and when. Every create,
        edit and delete adds one immutable revision. Revisions are kept after a
        preset is deleted: the deletion adds a final `DELETE` revision holding
        the state the preset had. A save that fails, for example with a 422,
        adds nothing. Requires the MANAGE_ORGANIZATION_DATA permission
        (organization owner or admin).
      operationId: listSkillPresetRevisions
      parameters:
        - $ref: '#/components/parameters/organizationId'
        - name: skillPresetId
          in: query
          description: >-
            Only list the revisions of this preset, deleted or not. Omit it to
            list the revisions of every preset of the organization.
          required: false
          schema:
            type: string
            format: uuid
        - name: limit
          in: query
          description: >-
            Maximum number of revisions to return. A value outside 1 to 100 is
            brought back into that range.
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
      responses:
        '200':
          description: List skill preset revisions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SkillPresetRevisionResponseList'
        '400':
          description: '`skillPresetId` is not a UUID, or `limit` is not an integer'
        '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
  schemas:
    SkillPresetRevisionResponseList:
      type: object
      required:
        - results
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/SkillPresetRevisionResponse'
    SkillPresetRevisionResponse:
      type: object
      description: One saved state of a preset, immutable.
      required:
        - skill_preset_id
        - revision
        - change_type
        - edited_by
        - edited_at
        - name
        - description
        - base
        - is_template
        - skills
        - assigned_to
      properties:
        skill_preset_id:
          type: string
          format: uuid
          description: The preset's id. Still listed after the preset is deleted.
        revision:
          type: integer
          minimum: 1
        change_type:
          $ref: '#/components/schemas/SkillPresetChangeType'
        edited_by:
          type: string
          description: Who saved this state.
        edited_at:
          type: string
          format: date-time
        name:
          type: string
        description:
          type: string
        base:
          $ref: '#/components/schemas/SkillPresetBase'
        is_template:
          type: boolean
          description: Whether the preset was a template at this revision.
        team_context:
          type: string
          nullable: true
          description: Null when the preset had none at this revision.
        skills:
          type: array
          items:
            $ref: '#/components/schemas/SkillPresetSkillResponse'
        assigned_to:
          $ref: '#/components/schemas/SkillPresetAssignedTo'
        security_review:
          type: object
          allOf:
            - $ref: '#/components/schemas/SkillPresetSecurityReview'
          nullable: true
          description: >-
            The model review this state passed. Null for a DELETE revision, and
            for a save made while the review was turned off, when presets are
            saved after the rules only.
    SkillPresetChangeType:
      type: string
      enum:
        - CREATE
        - UPDATE
        - DELETE
      description: >-
        The change that produced a revision. A DELETE revision holds the state
        the preset had when it was deleted.
    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.
    SkillPresetSkillResponse:
      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: string
          nullable: true
          description: Markdown delivered to the agent. Null for DISABLE.
    SkillPresetAssignedTo:
      type: object
      description: >-
        Who receives the preset. A target (the organization default, a role or a
        member) receives at most one preset. When several presets could apply to
        a member, a member assignment wins over a role assignment, which wins
        over the organization default.
      properties:
        organization_default:
          type: boolean
          default: false
          description: >-
            Whether the preset applies to every member with no member or role
            assignment of their own.
        role_ids:
          type: array
          default: []
          description: >-
            Default or custom roles of the organization, as returned by "List
            organization roles".
          items:
            type: string
            format: uuid
        user_ids:
          type: array
          default: []
          description: >-
            Members of the organization, by the id returned by "List
            organization members".
          items:
            type: string
    SkillPresetSecurityReview:
      type: object
      description: The model review a saved state passed.
      required:
        - verdict
        - model
        - prompt_version
        - findings
      properties:
        verdict:
          $ref: '#/components/schemas/SkillPresetSecurityReviewVerdict'
        model:
          type: string
          description: The model that reviewed the content.
        prompt_version:
          type: string
          description: Version of the review instructions the model used.
          example: skill-preset-review/v1
        findings:
          type: array
          description: Notes the model raised without blocking. Usually empty.
          items:
            $ref: '#/components/schemas/SkillPresetRejectionFinding'
    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.
    SkillPresetSecurityReviewVerdict:
      type: string
      enum:
        - ALLOW
        - BLOCK
      description: The model review's verdict. A saved state always passed with ALLOW.
    SkillPresetRejectionFinding:
      type: object
      required:
        - rule_id
        - location
        - line
        - reason
        - source
      properties:
        source:
          $ref: '#/components/schemas/SkillPresetFindingSource'
        rule_id:
          type: string
          description: >-
            For `source` RULES, the rule that matched, for example
            `override-instructions`, `conceal-from-user`, `skip-confirmation`,
            `read-credentials`, `dump-secrets`, `exfiltration-endpoint`,
            `upload-command`, `remote-exec`, `obfuscated-exec`, `external-url`,
            `invisible-characters`, `html-comment`, `encoded-blob` or
            `credential`. For `source` MODEL, the category: `prompt-injection`,
            `concealment`, `credential-access`, `data-exfiltration`,
            `unsafe-execution`, `approval-bypass`, `social-engineering` or
            `other`. New rules and categories can be added.
          example: dump-secrets
        location:
          type: string
          description: >-
            The field that holds the finding: `description`, `team context`,
            `description of skill '<name>'` or `content of skill '<name>'`.
          example: team context
        line:
          type: integer
          minimum: 1
          description: 1-based line within that field.
          example: 3
        reason:
          type: string
          description: Why the content was refused. Never contains the offending text.
          example: Asks the agent to print or collect secrets
    SkillPresetFindingSource:
      type: string
      enum:
        - RULES
        - MODEL
      description: >-
        Who raised a finding. RULES: the deterministic rules, and `rule_id` is a
        rule. MODEL: the model review, and `rule_id` is a category.
  responses:
    '401':
      description: Access token is missing or invalid
    '403':
      description: Access forbidden
    '404':
      description: Resource not found
  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

- [List organization skill presets](https://www.qovery.com/docs/api-reference/skill-presets/list-organization-skill-presets.md)
- [Get a skill preset](https://www.qovery.com/docs/api-reference/skill-presets/get-a-skill-preset.md)
- [Delete a skill preset](https://www.qovery.com/docs/api-reference/skill-presets/delete-a-skill-preset.md)
- [Edit a skill preset](https://www.qovery.com/docs/api-reference/skill-presets/edit-a-skill-preset.md)
- [Create a skill preset](https://www.qovery.com/docs/api-reference/skill-presets/create-a-skill-preset.md)


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