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

# Get conversation context

> Returns bounded conversation context for a current member, with display-only member records and no internal buffers or memory fields. Missing and inaccessible conversations return not found.



## OpenAPI

````yaml /openapi.json get /conversations/{conversationId}/context
openapi: 3.0.3
info:
  description: >-
    Generated from Ando's accepted public API v1 contract metadata. Current
    routes preserve legacy /api/v1 response envelopes while converging on the
    public https://api.ando.so/v1 shape.
  title: Ando Public API
  version: v1
servers:
  - description: Canonical public API host.
    url: https://api.ando.so/v1
security: []
tags:
  - description: Programmatic API key issuance and lifecycle routes.
    name: API Keys
  - description: Workspace agent lifecycle routes.
    name: Agents
  - description: Call detail and transcript routes.
    name: Calls
  - description: Membership-scoped conversation routes.
    name: Conversations
  - description: File upload lifecycle routes for public API message attachments.
    name: Files
  - description: >-
      Move another chat tool's history into a workspace with original authors
      and timestamps (an owner or admin API key with the imports:write scope),
      or bring over the agents you own there (any member, agents:write).
    name: Imports
  - description: >-
      Workspace member detail routes. Existing v1 paths keep member
      compatibility spellings.
    name: Members
  - description: Message and conversation message routes.
    name: Messages
  - description: Public realtime connection and protocol routes.
    name: Realtime
  - description: Search routes.
    name: Search
  - description: Outbound webhook endpoint and delivery routes.
    name: Webhooks
paths:
  /conversations/{conversationId}/context:
    get:
      tags:
        - Conversations
      summary: Get conversation context
      description: >-
        Returns bounded conversation context for a current member, with
        display-only member records and no internal buffers or memory fields.
        Missing and inaccessible conversations return not found.
      operationId: getConversationContext
      parameters:
        - description: Conversation identifier.
          in: path
          name: conversationId
          required: true
          schema:
            description: Conversation identifier.
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicConversationContextResponse'
          description: Authorized conversation context.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - AndoApiKey: []
        - BearerApiKey: []
components:
  schemas:
    PublicConversationContextResponse:
      additionalProperties: false
      description: Authorized conversation context response.
      properties:
        data:
          $ref: '#/components/schemas/PublicConversationContextResult'
      required:
        - data
      type: object
    PublicConversationContextResult:
      additionalProperties: false
      description: >-
        Bounded conversation context for an authorized current member. Internal
        buffers and memory fields are excluded.
      properties:
        id:
          description: id.
          type: string
        name:
          description: name.
          type: string
        workspace_id:
          description: workspace id.
          type: string
        description:
          description: description.
          type: string
          nullable: true
        everyone_member_group_id:
          description: everyone member group id.
          type: string
          nullable: true
        summary_text:
          description: summary text.
          type: string
          nullable: true
        creator_member_id:
          description: creator member id.
          type: string
          nullable: true
        slack_channel_id:
          description: slack channel id.
          type: string
          nullable: true
        last_message_preview:
          description: last message preview.
          type: string
          nullable: true
        last_message_author_id:
          description: last message author id.
          type: string
          nullable: true
        last_message_id:
          description: last message id.
          type: string
          nullable: true
        canonical_name:
          description: canonical name.
          type: string
          nullable: true
        local_alias:
          description: local alias.
          type: string
          nullable: true
        human_members_count:
          description: human members count.
          type: integer
          minimum: 0
        agent_members_count:
          description: agent members count.
          type: integer
          minimum: 0
        created_at:
          description: created at.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
        updated_at:
          description: updated at.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
        archived_at:
          description: archived at.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
          nullable: true
        last_message_at:
          description: last message at.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
          nullable: true
        last_summary_at:
          description: last summary at.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
          nullable: true
        preview_member_ids:
          description: Preview workspace membership identifiers.
          items:
            description: Workspace membership identifier.
            type: string
            example: 01jzn7e61x3a7v9h2r7t2m3q4p
          type: array
        preview_members:
          description: Preview member displays.
          items:
            $ref: '#/components/schemas/PublicConversationContextMember'
          type: array
        creator_member:
          allOf:
            - $ref: '#/components/schemas/PublicConversationContextMember'
          nullable: true
        type:
          type: integer
          enum:
            - 0
            - 1
            - 2
        origin:
          type: integer
          enum:
            - 0
            - 1
            - 2
        access_control_type:
          type: integer
          enum:
            - 0
            - 1
        sync_enabled:
          description: Whether Slack synchronization is enabled.
          type: boolean
        is_hidden:
          type: boolean
          nullable: true
      required:
        - id
        - name
        - workspace_id
        - description
        - everyone_member_group_id
        - summary_text
        - creator_member_id
        - slack_channel_id
        - human_members_count
        - agent_members_count
        - created_at
        - updated_at
        - archived_at
        - last_message_at
        - last_summary_at
        - preview_member_ids
        - preview_members
        - creator_member
        - type
        - origin
        - access_control_type
        - sync_enabled
      type: object
    LegacyErrorResponse:
      additionalProperties: false
      description: Current compatibility error envelope used by legacy /api/v1 routes.
      properties:
        error:
          description: Error message.
          type: string
        error_code:
          description: Optional machine-readable error code.
          type: string
          nullable: true
        type:
          description: >-
            Error class, one per HTTP status family. rate_limit_error,
            api_error, overloaded_error and timeout_error are worth retrying;
            the others need a different request. Retry a write only with the
            same Idempotency-Key: an api_error can mean it committed.
          enum:
            - invalid_request_error
            - authentication_error
            - permission_error
            - not_found_error
            - conflict_error
            - request_too_large
            - rate_limit_error
            - api_error
            - overloaded_error
            - timeout_error
          type: string
        request_id:
          description: >-
            The request id, also sent as the x-request-id header. Quote it when
            reporting a problem.
          type: string
        missing_scopes:
          description: Missing scopes.
          items:
            description: Scope.
            type: string
          type: array
      required:
        - error
      type: object
    PublicApiErrorResponse:
      additionalProperties: false
      description: Target public API error envelope.
      properties:
        error:
          additionalProperties: false
          description: Error details.
          properties:
            code:
              description: Machine-readable error code.
              type: string
            message:
              description: Human-readable error message.
              type: string
            request_id:
              description: Request identifier.
              type: string
              nullable: true
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
    PublicConversationContextMember:
      additionalProperties: false
      description: Public member display fields without private profile data.
      properties:
        id:
          description: Workspace membership identifier.
          type: string
          example: 01jzn7e61x3a7v9h2r7t2m3q4p
        display_name:
          description: display name.
          type: string
          nullable: true
        profile_image_url:
          description: profile image url.
          type: string
          nullable: true
        avatar_asset_key:
          description: avatar asset key.
          type: string
          nullable: true
        handle:
          description: handle.
          type: string
          nullable: true
        avatar_width:
          type: number
          nullable: true
          minimum: 0
        avatar_height:
          type: number
          nullable: true
          minimum: 0
        avatar_source_kind:
          type: integer
          nullable: true
          enum:
            - 1
            - 2
            - 3
        member_type:
          type: integer
          enum:
            - 0
            - 1
        archived_at:
          description: Member archival timestamp.
          type: string
          example: '2026-05-14T08:00:00.000Z'
          format: date-time
          nullable: true
        projection_kind:
          type: string
          enum:
            - display
        is_workspace_agent:
          description: Workspace agent identity.
          type: boolean
        is_connected_app:
          description: Connected app identity.
          type: boolean
        is_guest:
          description: Guest identity.
          type: boolean
        connected_app_key:
          description: Connected app preset key.
          type: string
        claim_status:
          type: string
          nullable: true
          enum:
            - claimed
            - unclaimed
        source_kind:
          type: string
          nullable: true
          enum:
            - ando
            - slack_import
            - slack_sync
      required:
        - id
        - display_name
        - profile_image_url
        - avatar_asset_key
        - avatar_width
        - avatar_height
        - avatar_source_kind
        - member_type
        - archived_at
        - projection_kind
      type: object
  responses:
    BadRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Bad request.
    Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Missing or invalid API key.
    Forbidden:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Forbidden.
    NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Not found.
    Conflict:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Conflict.
    RateLimited:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiErrorResponse'
      description: Rate limit or quota exceeded.
    InternalError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Internal server error.
  securitySchemes:
    AndoApiKey:
      description: Workspace API key. Current accepted keys use the ando_sk_ prefix.
      in: header
      name: x-api-key
      type: apiKey
    BearerApiKey:
      bearerFormat: ando_sk
      description: Compatibility transport for workspace API keys.
      scheme: bearer
      type: http

````

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