Factset · Capability

Factset IRN API v1 — Contact Relationships

Factset IRN API v1 — Contact Relationships. 5 operations. Lead operation: Factset Get all the relationships where the given symbol or contact identifier has been tagged in a relationship. Self-contained Naftiko capability covering one Factset business surface.

Run with Naftiko FactsetContact Relationships

What You Can Do

GET
Getallrelationshipstaggingacontact — Factset Get all the relationships where the given symbol or contact identifier has been tagged in a relationship
/v1/v1/contact-relationships
POST
Createcontactrelationship — Factset Create a contact relationship
/v1/v1/contact-relationships
GET
Getcontactrelationship — Factset Get details on a specific contact relationship
/v1/v1/contact-relationships/{contactrelationshipid}
PATCH
Patchcontactrelationship — Factset Update a contact relationship
/v1/v1/contact-relationships/{contactrelationshipid}
DELETE
Deletecontactrelationship — Factset Delete a contact relationship
/v1/v1/contact-relationships/{contactrelationshipid}

MCP Tools

factset-get-all-relationships-where

Factset Get all the relationships where the given symbol or contact identifier has been tagged in a relationship

read-only idempotent
factset-create-contact-relationship

Factset Create a contact relationship

factset-get-details-specific-contact

Factset Get details on a specific contact relationship

read-only idempotent
factset-update-contact-relationship

Factset Update a contact relationship

idempotent
factset-delete-contact-relationship

Factset Delete a contact relationship

idempotent

Capability Spec

irn-contacts-contact-relationships.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Factset IRN API v1 — Contact Relationships
  description: 'Factset IRN API v1 — Contact Relationships. 5 operations. Lead operation: Factset Get all the relationships
    where the given symbol or contact identifier has been tagged in a relationship. Self-contained Naftiko capability covering
    one Factset business surface.'
  tags:
  - Factset
  - Contact Relationships
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FACTSET_API_KEY: FACTSET_API_KEY
capability:
  consumes:
  - type: http
    namespace: irn-contacts-contact-relationships
    baseUri: https://api.factset.com/research/irn
    description: Factset IRN API v1 — Contact Relationships business capability. Self-contained, no shared references.
    resources:
    - name: v1-contact-relationships
      path: /v1/contact-relationships
      operations:
      - name: getallrelationshipstaggingacontact
        method: GET
        description: Factset Get all the relationships where the given symbol or contact identifier has been tagged in a relationship
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: symbol
          in: query
          type: string
        - name: contactId
          in: query
          type: string
        - name: relationshipId
          in: query
          type: string
      - name: createcontactrelationship
        method: POST
        description: Factset Create a contact relationship
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: v1-contact-relationships-contactRelationshipId
      path: /v1/contact-relationships/{contactRelationshipId}
      operations:
      - name: getcontactrelationship
        method: GET
        description: Factset Get details on a specific contact relationship
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contactRelationshipId
          in: path
          type: string
          description: contactRelationshipId to get associated record
          required: true
      - name: patchcontactrelationship
        method: PATCH
        description: Factset Update a contact relationship
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contactRelationshipId
          in: path
          type: string
          description: contactRelationshipId to update associated record
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletecontactrelationship
        method: DELETE
        description: Factset Delete a contact relationship
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contactRelationshipId
          in: path
          type: string
          description: contactRelationshipId to delete associated record
          required: true
    authentication:
      type: basic
      username: '{{env.FACTSET_USER}}'
      password: '{{env.FACTSET_PASS}}'
  exposes:
  - type: rest
    namespace: irn-contacts-contact-relationships-rest
    port: 8080
    description: REST adapter for Factset IRN API v1 — Contact Relationships. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/contact-relationships
      name: v1-contact-relationships
      description: REST surface for v1-contact-relationships.
      operations:
      - method: GET
        name: getallrelationshipstaggingacontact
        description: Factset Get all the relationships where the given symbol or contact identifier has been tagged in a relationship
        call: irn-contacts-contact-relationships.getallrelationshipstaggingacontact
        with:
          symbol: rest.symbol
          contactId: rest.contactId
          relationshipId: rest.relationshipId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcontactrelationship
        description: Factset Create a contact relationship
        call: irn-contacts-contact-relationships.createcontactrelationship
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/contact-relationships/{contactrelationshipid}
      name: v1-contact-relationships-contactrelationshipid
      description: REST surface for v1-contact-relationships-contactRelationshipId.
      operations:
      - method: GET
        name: getcontactrelationship
        description: Factset Get details on a specific contact relationship
        call: irn-contacts-contact-relationships.getcontactrelationship
        with:
          contactRelationshipId: rest.contactRelationshipId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchcontactrelationship
        description: Factset Update a contact relationship
        call: irn-contacts-contact-relationships.patchcontactrelationship
        with:
          contactRelationshipId: rest.contactRelationshipId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecontactrelationship
        description: Factset Delete a contact relationship
        call: irn-contacts-contact-relationships.deletecontactrelationship
        with:
          contactRelationshipId: rest.contactRelationshipId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: irn-contacts-contact-relationships-mcp
    port: 9090
    transport: http
    description: MCP adapter for Factset IRN API v1 — Contact Relationships. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: factset-get-all-relationships-where
      description: Factset Get all the relationships where the given symbol or contact identifier has been tagged in a relationship
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: irn-contacts-contact-relationships.getallrelationshipstaggingacontact
      with:
        symbol: tools.symbol
        contactId: tools.contactId
        relationshipId: tools.relationshipId
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-create-contact-relationship
      description: Factset Create a contact relationship
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: irn-contacts-contact-relationships.createcontactrelationship
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-get-details-specific-contact
      description: Factset Get details on a specific contact relationship
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: irn-contacts-contact-relationships.getcontactrelationship
      with:
        contactRelationshipId: tools.contactRelationshipId
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-update-contact-relationship
      description: Factset Update a contact relationship
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: irn-contacts-contact-relationships.patchcontactrelationship
      with:
        contactRelationshipId: tools.contactRelationshipId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: factset-delete-contact-relationship
      description: Factset Delete a contact relationship
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: irn-contacts-contact-relationships.deletecontactrelationship
      with:
        contactRelationshipId: tools.contactRelationshipId
      outputParameters:
      - type: object
        mapping: $.