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

# List intent actions

> Returns the append-only action history for an intent on the requested trading account in ascending sequence order. If no actions exist for that intent, the response is `200` with an empty `data` array. Service-account callers must provide `x-organization-id` and have `intent:read`; API-key callers need organization intent read permission; user callers need an organization admin, member, or read-only role. Non-service callers can only read their principal organization, and the trading account must belong to the resolved organization.



## OpenAPI

````yaml /api-reference/intents.openapi.json get /v1/accounts/{account_id}/intents/{intent_id}/actions
openapi: 3.1.0
info:
  title: intents
  description: ''
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.anthid.com
    description: Production
security: []
tags:
  - name: Intents
    description: Intent submission operations
  - name: Intents
    description: Single-intent read operations
  - name: Intents
    description: Intent action listing operations
  - name: Intents
    description: Intent aggregate statistics
paths:
  /v1/accounts/{account_id}/intents/{intent_id}/actions:
    get:
      tags:
        - Intents
      summary: List intent actions
      description: >-
        Returns the append-only action history for an intent on the requested
        trading account in ascending sequence order. If no actions exist for
        that intent, the response is `200` with an empty `data` array.
        Service-account callers must provide `x-organization-id` and have
        `intent:read`; API-key callers need organization intent read permission;
        user callers need an organization admin, member, or read-only role.
        Non-service callers can only read their principal organization, and the
        trading account must belong to the resolved organization.
      operationId: listIntentActions
      parameters:
        - name: account_id
          in: path
          description: Trading account id that owns the intent
          required: true
          schema:
            type: string
            format: uuid
        - name: intent_id
          in: path
          description: Intent id whose actions should be listed
          required: true
          schema:
            type: string
            format: uuid
        - name: next_cursor
          in: query
          description: Sequence cursor returned by a previous response
          required: false
          schema:
            type: string
        - name: limit
          in: query
          description: >-
            Maximum number of actions to return. Values are clamped to the range
            1 through 100.
          required: false
          schema:
            type: integer
            minimum: 0
        - name: x-organization-id
          in: header
          description: >-
            Organization id required when reading with service-account
            credentials
          required: false
          schema:
            type:
              - string
              - 'null'
            format: uuid
      responses:
        '200':
          description: Intent actions retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListIntentActionsResult'
        '400':
          description: Path, query, or organization scope are invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid authentication credentials
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            Caller lacks read permission, organization access, or ownership of
            the trading account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No trading account exists for the provided account id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Caller exceeded the request rate limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected server error while listing intent actions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
        - clientCredentials: []
        - apiKeyAuth: []
components:
  schemas:
    ListIntentActionsResult:
      type: object
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/IntentActionRecord'
        next_cursor:
          type:
            - string
            - 'null'
    Error:
      oneOf:
        - type: object
          required:
            - EncryptionError
          properties:
            EncryptionError:
              type: string
        - type: object
          required:
            - WorkOsError
          properties:
            WorkOsError:
              type: string
        - type: object
          required:
            - KvError
          properties:
            KvError:
              type: string
        - type: object
          required:
            - StreamError
          properties:
            StreamError:
              type: string
        - type: object
          required:
            - InternalError
          properties:
            InternalError:
              type: string
        - type: object
          required:
            - ThirdPartyError
          properties:
            ThirdPartyError:
              type: string
        - type: object
          required:
            - ParseError
          properties:
            ParseError:
              type: string
        - type: object
          required:
            - NotFound
          properties:
            NotFound:
              type: string
        - type: object
          required:
            - AlreadyExists
          properties:
            AlreadyExists:
              type: string
        - type: object
          required:
            - BadRequest
          properties:
            BadRequest:
              type: string
        - type: object
          required:
            - Forbidden
          properties:
            Forbidden:
              type: string
        - type: object
          required:
            - Unauthorized
          properties:
            Unauthorized:
              type: string
        - type: object
          required:
            - Database
          properties:
            Database:
              type: string
        - type: object
          required:
            - TooManyRequests
          properties:
            TooManyRequests:
              type: string
        - type: object
          required:
            - BrokerError
          properties:
            BrokerError:
              type: string
        - type: object
          required:
            - AuthError
          properties:
            AuthError:
              type: string
        - type: object
          required:
            - InvalidInput
          properties:
            InvalidInput:
              type: string
        - type: object
          required:
            - ConnectionLimitExceeded
          properties:
            ConnectionLimitExceeded:
              type: string
    IntentActionRecord:
      type: object
      required:
        - organization_id
        - account_id
        - intent_id
        - seq
        - action_type
        - symbol
        - order_side
        - order_type
        - route_strategy
        - quantity
        - created_at
      properties:
        account_id:
          type: string
          format: uuid
        action_type:
          $ref: '#/components/schemas/ActionType'
        client_reference_id:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        intent_id:
          type: string
          format: uuid
        limit_price:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Price'
        order_side:
          $ref: '#/components/schemas/OrderSide'
        order_type:
          $ref: '#/components/schemas/OrderType'
        organization_id:
          type: string
          format: uuid
        quantity:
          $ref: '#/components/schemas/Quantity'
        route_strategy:
          $ref: '#/components/schemas/RouteStrategy'
        seq:
          type: integer
          format: int64
        stop_price:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Price'
        symbol:
          type: string
        time_in_force:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/TimeInForce'
    ActionType:
      type: string
      enum:
        - CREATE
        - REPLACE
        - CANCEL
    Price:
      type: string
    OrderSide:
      type: string
      enum:
        - UNSPECIFIED
        - BUY
        - SELL
        - SELL_SHORT
    OrderType:
      type: string
      enum:
        - UNSPECIFIED
        - LIMIT
        - MARKET
        - FILL_OR_KILL
        - LIMIT_ON_OPEN
        - LIMIT_ON_CLOSE
        - MARKET_ON_OPEN
        - MARKET_ON_CLOSE
        - STOP
        - STOP_LIMIT
        - TRAILING_STOP
    Quantity:
      type: string
    RouteStrategy:
      type: string
      enum:
        - UNSPECIFIED
        - SMART
        - AMEX
        - ARCA
        - BATS
        - BATY
        - EDGA
        - EDGX
        - NSDQ
        - NYSE
    TimeInForce:
      type: string
      enum:
        - UNSPECIFIED
        - DAY
        - IMMEDIATE_OR_CANCEL
        - GOOD_TILL_CANCEL
        - AT_OPEN
        - AT_CLOSE
        - FILL_OR_KILL
        - EXT
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    clientCredentials:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Machine bearer token minted via the client_credentials grant.
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````