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

# Get Agent Preset

> Retrieve an agent preset by ID.



## OpenAPI

````yaml https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/agent/presets/{preset_id}
openapi: 3.1.0
info:
  title: Tracecat API
  summary: Tracecat API
  description: The open source AI automation platform for security teams and agents.
  termsOfService: >-
    https://docs.google.com/document/d/e/2PACX-1vQvDe3SoVAPoQc51MgfGCP71IqFYX_rMVEde8zC4qmBCec5f8PLKQRdxa6tsUABT8gWAR9J-EVs2CrQ/pub
  contact:
    name: Tracecat Founders
    email: founders@tracecat.com
  license:
    name: AGPL-3.0
    url: https://www.gnu.org/licenses/agpl-3.0.html
  version: '1'
servers:
  - url: /api
security: []
tags:
  - name: public
    description: Public facing endpoints
  - name: workflows
    description: Workflow management
  - name: actions
    description: Action management
  - name: triggers
    description: Workflow triggers
  - name: secrets
    description: Secret management
  - name: variables
    description: Workspace variable management
paths:
  /workspaces/{workspace_id}/agent/presets/{preset_id}:
    get:
      tags:
        - agent-presets
      summary: Get Agent Preset
      description: Retrieve an agent preset by ID.
      operationId: agent-presets-get_agent_preset
      parameters:
        - name: preset_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Preset Id
        - name: workspace_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentPresetRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyCookie: []
        - ServiceAccountApiKeyBearer: []
components:
  schemas:
    AgentPresetRead:
      properties:
        instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Instructions
        model_name:
          type: string
          maxLength: 120
          title: Model Name
        model_provider:
          type: string
          maxLength: 120
          title: Model Provider
        catalog_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Catalog Id
        base_url:
          anyOf:
            - type: string
              maxLength: 500
            - type: 'null'
          title: Base Url
        output_type:
          anyOf:
            - $ref: '#/components/schemas/OutputType'
            - type: 'null'
        actions:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Actions
        namespaces:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Namespaces
        tool_approvals:
          anyOf:
            - additionalProperties:
                type: boolean
              type: object
            - type: 'null'
          title: Tool Approvals
        mcp_integrations:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Mcp Integrations
        agents:
          $ref: '#/components/schemas/AgentSubagentsConfig-Output'
        retries:
          type: integer
          minimum: 0
          title: Retries
          default: 3
        enable_thinking:
          type: boolean
          title: Enable Thinking
          default: true
        enable_internet_access:
          type: boolean
          title: Enable Internet Access
          default: false
        id:
          type: string
          format: uuid
          title: Id
        workspace_id:
          type: string
          format: uuid
          title: Workspace Id
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        description:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Description
        current_version_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Current Version Id
        folder_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Folder Id
        skills:
          items:
            $ref: '#/components/schemas/AgentPresetSkillBindingRead'
          type: array
          title: Skills
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - model_name
        - model_provider
        - id
        - workspace_id
        - name
        - slug
        - created_at
        - updated_at
      title: AgentPresetRead
      description: API model for reading agent presets.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    OutputType:
      anyOf:
        - type: string
          enum:
            - bool
            - float
            - int
            - str
            - list[bool]
            - list[float]
            - list[int]
            - list[str]
        - additionalProperties: true
          type: object
    AgentSubagentsConfig-Output:
      properties:
        enabled:
          type: boolean
          title: Enabled
          default: false
        subagents:
          items:
            $ref: '#/components/schemas/AnyAttachedSubagentRef'
          type: array
          title: Subagents
      additionalProperties: false
      type: object
      title: AgentSubagentsConfig
      description: User-facing agents toggle and optional preset-backed subagents.
    AgentPresetSkillBindingRead:
      properties:
        skill_id:
          type: string
          format: uuid
          title: Skill Id
        skill_version_id:
          type: string
          format: uuid
          title: Skill Version Id
        skill_name:
          type: string
          title: Skill Name
        skill_version:
          type: integer
          title: Skill Version
      type: object
      required:
        - skill_id
        - skill_version_id
        - skill_name
        - skill_version
      title: AgentPresetSkillBindingRead
      description: Resolved preset skill binding with metadata.
    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
    AnyAttachedSubagentRef:
      anyOf:
        - $ref: '#/components/schemas/ResolvedAttachedSubagentRef'
        - $ref: '#/components/schemas/AttachedSubagentRef'
    ResolvedAttachedSubagentRef:
      properties:
        preset:
          type: string
          maxLength: 160
          minLength: 1
          title: Preset
        preset_version:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Preset Version
        name:
          anyOf:
            - type: string
              maxLength: 80
              minLength: 1
              pattern: ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
            - type: 'null'
          title: Name
        description:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Description
        max_turns:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Max Turns
        preset_id:
          type: string
          format: uuid
          title: Preset Id
        preset_version_id:
          type: string
          format: uuid
          title: Preset Version Id
      additionalProperties: false
      type: object
      required:
        - preset
        - preset_id
        - preset_version_id
      title: ResolvedAttachedSubagentRef
      description: Persisted subagent ref with immutable preset/version identifiers.
    AttachedSubagentRef:
      properties:
        preset:
          type: string
          maxLength: 160
          minLength: 1
          title: Preset
        preset_version:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Preset Version
        name:
          anyOf:
            - type: string
              maxLength: 80
              minLength: 1
              pattern: ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
            - type: 'null'
          title: Name
        description:
          anyOf:
            - type: string
              maxLength: 1000
            - type: 'null'
          title: Description
        max_turns:
          anyOf:
            - type: integer
              minimum: 1
            - type: 'null'
          title: Max Turns
      additionalProperties: false
      type: object
      required:
        - preset
      title: AttachedSubagentRef
      description: User-facing reference to a preset-backed subagent.
  securitySchemes:
    APIKeyCookie:
      type: apiKey
      in: cookie
      name: fastapiusersauth
    ServiceAccountApiKeyBearer:
      type: http
      description: Tracecat service account API key.
      scheme: bearer

````