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

# Get Agent

> Fetch one agent's profile fields.



## OpenAPI

````yaml get /v1/agent/agents/{agent_id}
openapi: 3.1.0
info:
  title: FishAudio OpenAPI
  version: '1'
servers:
  - description: Fish Audio API
    url: https://api.fish.audio
security: []
tags: []
paths:
  /v1/agent/agents/{agent_id}:
    get:
      tags:
        - Agents
      summary: Get Agent
      description: |-
        Fetch one agent's profile fields. The draft configuration lives at
        `GET /v1/agent/agents/{agent_id}/config`.
      parameters:
        - in: path
          name: agent_id
          description: ''
          required: true
          schema:
            title: Agent Id
            type: string
          deprecated: false
      responses:
        '200':
          description: Request fulfilled, document follows
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  agent_id:
                    title: Agent Id
                    type: string
                  workspace_id:
                    title: Workspace Id
                    type: string
                  name:
                    title: Name
                    type: string
                  description:
                    default: ''
                    title: Description
                    type: string
                  status:
                    enum:
                      - active
                      - archived
                    title: Status
                    type: string
                  publication_state:
                    description: >-
                      `live` once at least one version is published; `draft`
                      agents cannot take sessions yet.
                    enum:
                      - live
                      - draft
                    title: Publication State
                    type: string
                  public_enabled:
                    default: false
                    title: Public Enabled
                    type: boolean
                  allowed_origins:
                    items:
                      type: string
                    title: Allowed Origins
                    type: array
                  overrides_allowed:
                    items:
                      enum:
                        - first_message
                        - system_prompt
                        - voice_id
                        - language
                      type: string
                    title: Overrides Allowed
                    type: array
                  created_at:
                    format: date-time
                    title: Created At
                    type: string
                  updated_at:
                    format: date-time
                    title: Updated At
                    type: string
                required:
                  - agent_id
                  - workspace_id
                  - name
                  - status
                  - publication_state
                  - created_at
                  - updated_at
                type: object
        '401':
          description: No permission -- see authorization schemes
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  status:
                    title: Status
                    type: integer
                  message:
                    title: Message
                    type: string
                required:
                  - status
                  - message
                type: object
        '404':
          description: Nothing matches the given URI
          headers: {}
          content:
            application/json:
              schema:
                properties:
                  status:
                    title: Status
                    type: integer
                  message:
                    title: Message
                    type: string
                required:
                  - status
                  - message
                type: object
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````