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

# List Activities Linked to an Opportunity

> Lists an opportunity's activities, including inferred activities. Each item reports its basis: EXPLICIT_LINK, CONTACT, or ACCOUNT. Explicit links include their source and reason.



## OpenAPI

````yaml https://api.monaco.com/openapi.json get /v1/opportunities/{opportunity_id}/activities
openapi: 3.2.1
info:
  title: Monaco Public API
  description: Public API for Monaco
  version: 1.0.0
servers:
  - url: https://api.monaco.com
security: []
paths:
  /v1/opportunities/{opportunity_id}/activities:
    get:
      tags:
        - Opportunities
      summary: List Activities Linked to an Opportunity
      description: >-
        Lists an opportunity's activities, including inferred activities. Each
        item reports its basis: EXPLICIT_LINK, CONTACT, or ACCOUNT. Explicit
        links include their source and reason.
      operationId: list_activity_opportunity_links
      parameters:
        - name: opportunity_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Opportunity Id
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
            title: Page
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 50
            title: Page Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PublicListResponse_ActivityOpportunityLinkResponse_
        4XX:
          description: Client error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
components:
  schemas:
    PublicListResponse_ActivityOpportunityLinkResponse_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/ActivityOpportunityLinkResponse'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/PaginationInfo'
        meta:
          $ref: '#/components/schemas/ResponseMeta'
      type: object
      required:
        - data
        - pagination
      title: PublicListResponse[ActivityOpportunityLinkResponse]
    PublicErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: PublicErrorResponse
    ActivityOpportunityLinkResponse:
      properties:
        channel:
          $ref: '#/components/schemas/ActivityChannel'
        activity_id:
          type: string
          minLength: 1
          title: Activity Id
          description: >-
            Activity id within its channel. Email ids are per-mailbox Gmail
            thread ids.
        basis:
          $ref: '#/components/schemas/ActivityOpportunityLinkBasis'
          default: EXPLICIT_LINK
        id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Id
        opportunity_id:
          type: string
          format: uuid
          title: Opportunity Id
        source:
          anyOf:
            - $ref: '#/components/schemas/ActivityOpportunityLinkSource'
            - type: 'null'
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          title: Confidence
        created_by_user_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Created By User Id
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
      type: object
      required:
        - channel
        - activity_id
        - id
        - opportunity_id
        - source
        - reason
        - confidence
        - created_by_user_id
        - created_at
        - updated_at
      title: ActivityOpportunityLinkResponse
    PaginationInfo:
      properties:
        page:
          type: integer
          title: Page
          description: Current page number
          examples:
            - 1
        page_size:
          type: integer
          title: Page Size
          description: Number of results per page
          examples:
            - 25
        total_count:
          type: integer
          title: Total Count
          description: Total number of matching records
          examples:
            - 142
        total_pages:
          type: integer
          title: Total Pages
          description: Total number of pages
          examples:
            - 6
      type: object
      required:
        - page
        - page_size
        - total_count
        - total_pages
      title: PaginationInfo
    ResponseMeta:
      properties:
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Server timestamp of the response
      type: object
      title: ResponseMeta
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
          description: Machine-readable error code
          examples:
            - not_found
        message:
          type: string
          title: Message
          description: Human-readable error message
          examples:
            - Resource not found
        data:
          anyOf:
            - additionalProperties:
                anyOf:
                  - type: string
                  - type: integer
              type: object
            - type: 'null'
          title: Data
          description: >-
            Details for some codes: `field_too_long` carries `field`, `limit`
            and `actual`, plus `unit` (`items` or `bytes`) when the limit isn't
            in characters; `too_many_custom_fields` carries `entity_type` and
            `limit`
      type: object
      required:
        - code
        - message
      title: ErrorDetail
    ActivityChannel:
      type: string
      enum:
        - email
        - meeting
        - linkedin
        - slack
      title: ActivityChannel
      description: Channel of an activity the activity-opportunity linker evaluates.
    ActivityOpportunityLinkBasis:
      type: string
      enum:
        - EXPLICIT_LINK
        - CONTACT
        - ACCOUNT
      title: ActivityOpportunityLinkBasis
    ActivityOpportunityLinkSource:
      type: string
      enum:
        - ai
        - manual
        - system
      title: ActivityOpportunityLinkSource
      description: Who created an activity-opportunity link.

````

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