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

# Get agent details

> Returns details of a specific agent



## OpenAPI

````yaml GET /agents/{id}
openapi: 3.1.0
info:
  title: Kakiyo API
  description: API for automating LinkedIn outreach campaigns with AI-powered conversations
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.kakiyo.com/v1
security:
  - bearerAuth: []
paths:
  /agents/{id}:
    get:
      summary: Get Agent Details
      description: Returns details of a specific agent
      operationId: getAgentDetails
      parameters:
        - name: id
          in: path
          description: ID of the agent
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Agent details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentDetails'
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Agent not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AgentDetails:
      type: object
      properties:
        id:
          type: string
          example: agent_abcdef123456
        name:
          type: string
          example: John Doe
        status:
          type: string
          enum:
            - setup_needed
            - auth_needed
            - auth_in_progress
            - running
            - paused
            - disabled
          example: running
        login:
          type: string
          example: john.doe@example.com
        country:
          type: string
          example: US
        avatar:
          type: string
          example: https://example.com/avatar.jpg
        nextTask:
          type: string
          format: date-time
          example: '2023-06-16T10:30:00Z'
        usage:
          type: object
          properties:
            invitations:
              type: integer
              example: 45
            invitationsDaily:
              type: integer
              example: 15
            messages:
              type: integer
              example: 120
            messagesDaily:
              type: integer
              example: 25
            nextInvitation:
              type: string
              format: date-time
              example: '2023-06-16T10:45:00Z'
            nextMessage:
              type: string
              format: date-time
              example: '2023-06-16T11:15:00Z'
            workingHours:
              type: object
              properties:
                days:
                  type: string
                  example: '1:1:1:1:1:0:0'
                start:
                  type: string
                  example: '09:00'
                stop:
                  type: string
                  example: '17:00'
                timezone:
                  type: integer
                  example: 0
        alerts:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
                example: auth
              subType:
                type: string
                example: 2fa_required
              message:
                type: string
                example: >-
                  Please enter the verification code sent by LinkedIn to your
                  email/phone
              severity:
                type: string
                enum:
                  - info
                  - warning
                  - error
                example: warning
    Error:
      type: object
      properties:
        error:
          type: string
          example: validation_error
        message:
          type: string
          example: The request parameters failed validation
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                example: name
              message:
                type: string
                example: The name field is required
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````