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

# List your conversation with your agent

> Every message your personal agent's conversation was sent, newest first, whoever sent it, with the agent's reply once its turn ended. Refused (404 agent_message_not_found) when before is not one of your agent's messages.



## OpenAPI

````yaml api-reference/openapi.account.json GET /agent/messages
openapi: 3.1.0
info:
  title: Aether Account & Integrations API
  version: 0.1.0
  description: >-
    Account, billing, and integration-management endpoints used by the Aether
    web app and CLI. Root-mounted; NOT part of the versioned /v1 contract.
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /agent/messages:
    get:
      tags:
        - agent
      summary: List your conversation with your agent
      description: >-
        Every message your personal agent's conversation was sent, newest first,
        whoever sent it, with the agent's reply once its turn ended. Refused
        (404 agent_message_not_found) when before is not one of your agent's
        messages.
      operationId: listAgentMessages
      parameters:
        - description: >-
            The id of the message the page starts after: the last of the
            previous page.
          explode: false
          in: query
          name: before
          schema:
            description: >-
              The id of the message the page starts after: the last of the
              previous page.
            format: uuid
            type: string
        - explode: false
          in: query
          name: limit
          schema:
            default: 20
            format: int64
            maximum: 100
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentMessages'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    AgentMessages:
      additionalProperties: false
      properties:
        messages:
          description: Newest first.
          items:
            $ref: '#/components/schemas/AgentMessage'
          type: array
      required:
        - messages
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        code:
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    AgentMessage:
      additionalProperties: false
      properties:
        cause:
          description: >-
            Who sent the message: web, you, from the web app; inbound_text, you,
            by text from your verified phone; operator, Aether.
          enum:
            - operator
            - web
            - inbound_text
          type: string
        completed_at:
          description: When the turn ended, or the message failed; absent while pending.
          format: date-time
          type: string
        id:
          format: uuid
          type: string
        issued_at:
          format: date-time
          type: string
        reply:
          description: >-
            What your agent said in the turn, as Aether holds it: cut to 4096
            characters (the whole reply stays in your agent's conversation).
            Present on a completed message whose agent said something.
          type: string
        state:
          description: >-
            pending: your agent has not finished the turn, or has not woken for
            it yet; completed: the turn ended; failed: your agent could not take
            the message.
          enum:
            - pending
            - completed
            - failed
          type: string
        text:
          description: The message your agent was sent.
          type: string
        turn_started_at:
          description: >-
            When your agent took the message, when Aether recorded it: present
            on a completed message, but for one completed before Aether recorded
            turn starts.
          format: date-time
          type: string
      required:
        - id
        - text
        - state
        - cause
        - issued_at
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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