naftiko: 1.0.0-alpha2 info: label: Factset Analytics Datastore API — Analytics description: 'Factset Analytics Datastore API — Analytics. 10 operations. Lead operation: Factset Gets an object given an ID. In this case ID retrieved from mapping Location header, object data in response body.. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Analytics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: analytics-datastore-analytics baseUri: https://api.factset.com description: Factset Analytics Datastore API — Analytics business capability. Self-contained, no shared references. resources: - name: analytics-pub-datastore-cargo-v1-groups-groupId-objects-objectId path: /analytics/pub-datastore/cargo/v1/groups/{groupId}/objects/{objectId} operations: - name: getcargoendpoint method: GET description: Factset Gets an object given an ID. In this case ID retrieved from mapping Location header, object data in response body. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: path type: string description: The ID of the group required: true - name: objectId in: path type: string description: The ID of the object required: true - name: analytics-pub-datastore-swivel-v1-document-accountId-date path: /analytics/pub-datastore/swivel/v1/{document}/{accountId}/{date} operations: - name: getpdfpptmapping method: GET description: Factset Redirects to the raw PPT/PDF output created by the Publisher service. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: document in: path type: string description: The Publisher document containing the report required: true - name: accountId in: path type: string description: The account ID required: true - name: date in: path type: string description: The as of date for the report required: true - name: analytics-pub-datastore-swivel-v1-document-assetName-reportId-tileId-accountId path: /analytics/pub-datastore/swivel/v1/{document}/{assetName}/{reportId}/{tileId}/{accountId} operations: - name: getstachmappingnodate method: GET description: Factset Redirects to the underlying PA/SPAR data represented in a Stach format, with no as of date specified. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: document in: path type: string description: The Publisher or Analytics Datafeed document containing the report required: true - name: assetName in: path type: string description: The PA/SPAR asset name and extension required: true - name: reportId in: path type: string description: The PA/SPAR report ID required: true - name: tileId in: path type: string description: The PA/SPAR tile ID required: true - name: accountId in: path type: string description: The account ID required: true - name: analytics-pub-datastore-swivel-v1-document-assetName-reportId-tileId-accountId-c path: /analytics/pub-datastore/swivel/v1/{document}/{assetName}/{reportId}/{tileId}/{accountId}/{configId}/{date} operations: - name: getinsightmapping method: GET description: Factset Redirects to the underlying Insight/Vault data in a Stach format. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: document in: path type: string description: The Analytics Datafeed document containing the report required: true - name: assetName in: path type: string description: The PA/SPAR asset name and extension required: true - name: reportId in: path type: string description: The PA/SPAR report ID required: true - name: tileId in: path type: string description: The PA/SPAR tile ID required: true - name: accountId in: path type: string description: The account ID required: true - name: configId in: path type: string description: The Vault configuration ID required: true - name: date in: path type: string description: The as of date for the report required: true - name: analytics-pub-datastore-swivel-v1-document-assetName-reportId-tileId-accountId-d path: /analytics/pub-datastore/swivel/v1/{document}/{assetName}/{reportId}/{tileId}/{accountId}/{date} operations: - name: getstachmapping method: GET description: Factset Redirects to the underlying PA/SPAR data represented in a Stach format. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: document in: path type: string description: The Publisher or Analytics Datafeed document containing the report required: true - name: assetName in: path type: string description: The PA/SPAR asset name and extension required: true - name: reportId in: path type: string description: The PA/SPAR report ID required: true - name: tileId in: path type: string description: The PA/SPAR tile ID required: true - name: accountId in: path type: string description: The account ID required: true - name: date in: path type: string description: The as of date for the report required: true - name: analytics-pub-datastore-tag-search-v1-documents-search path: /analytics/pub-datastore/tag-search/v1/documents/search operations: - name: getdocumentsendpoint method: POST description: Factset Gets a list of Documents that a user has access to. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: analytics-pub-datastore-tag-search-v1-product-types-search path: /analytics/pub-datastore/tag-search/v1/product-types/search operations: - name: getproducttypes method: POST description: Factset Gets a list of product types that a user has access to. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: analytics-pub-datastore-tag-search-v1-tags path: /analytics/pub-datastore/tag-search/v1/tags operations: - name: gettagsendpoint method: GET description: Factset Gets a list of tag definitions for the user. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: _paginationOffset in: query type: integer description: The offset integer on where to begin paginating - name: _paginationLimit in: query type: integer description: The limit of records to return when paginating - name: analytics-pub-datastore-tag-search-v1-tags-name path: /analytics/pub-datastore/tag-search/v1/tags/{name} operations: - name: getsingletagendpoint method: GET description: Factset Get a single tag definition based on its name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: The name of the tag required: true - name: analytics-pub-datastore-tag-search-v1-tags-name-values path: /analytics/pub-datastore/tag-search/v1/tags/{name}/values operations: - name: gettagvaluesendpoint method: POST description: Factset Gets a list of tag values for the given name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: The name of the tag required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.FACTSET_USER}}' password: '{{env.FACTSET_PASS}}' exposes: - type: rest namespace: analytics-datastore-analytics-rest port: 8080 description: REST adapter for Factset Analytics Datastore API — Analytics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/analytics/pub-datastore/cargo/v1/groups/{groupid}/objects/{objectid} name: analytics-pub-datastore-cargo-v1-groups-groupid-objects-objectid description: REST surface for analytics-pub-datastore-cargo-v1-groups-groupId-objects-objectId. operations: - method: GET name: getcargoendpoint description: Factset Gets an object given an ID. In this case ID retrieved from mapping Location header, object data in response body. call: analytics-datastore-analytics.getcargoendpoint with: groupId: rest.groupId objectId: rest.objectId outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/swivel/v1/{document}/{accountid}/{date} name: analytics-pub-datastore-swivel-v1-document-accountid-date description: REST surface for analytics-pub-datastore-swivel-v1-document-accountId-date. operations: - method: GET name: getpdfpptmapping description: Factset Redirects to the raw PPT/PDF output created by the Publisher service. call: analytics-datastore-analytics.getpdfpptmapping with: document: rest.document accountId: rest.accountId date: rest.date outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/swivel/v1/{document}/{assetname}/{reportid}/{tileid}/{accountid} name: analytics-pub-datastore-swivel-v1-document-assetname-reportid-tileid-accountid description: REST surface for analytics-pub-datastore-swivel-v1-document-assetName-reportId-tileId-accountId. operations: - method: GET name: getstachmappingnodate description: Factset Redirects to the underlying PA/SPAR data represented in a Stach format, with no as of date specified. call: analytics-datastore-analytics.getstachmappingnodate with: document: rest.document assetName: rest.assetName reportId: rest.reportId tileId: rest.tileId accountId: rest.accountId outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/swivel/v1/{document}/{assetname}/{reportid}/{tileid}/{accountid}/{configid}/{date} name: analytics-pub-datastore-swivel-v1-document-assetname-reportid-tileid-accountid-c description: REST surface for analytics-pub-datastore-swivel-v1-document-assetName-reportId-tileId-accountId-c. operations: - method: GET name: getinsightmapping description: Factset Redirects to the underlying Insight/Vault data in a Stach format. call: analytics-datastore-analytics.getinsightmapping with: document: rest.document assetName: rest.assetName reportId: rest.reportId tileId: rest.tileId accountId: rest.accountId configId: rest.configId date: rest.date outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/swivel/v1/{document}/{assetname}/{reportid}/{tileid}/{accountid}/{date} name: analytics-pub-datastore-swivel-v1-document-assetname-reportid-tileid-accountid-d description: REST surface for analytics-pub-datastore-swivel-v1-document-assetName-reportId-tileId-accountId-d. operations: - method: GET name: getstachmapping description: Factset Redirects to the underlying PA/SPAR data represented in a Stach format. call: analytics-datastore-analytics.getstachmapping with: document: rest.document assetName: rest.assetName reportId: rest.reportId tileId: rest.tileId accountId: rest.accountId date: rest.date outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/tag-search/v1/documents/search name: analytics-pub-datastore-tag-search-v1-documents-search description: REST surface for analytics-pub-datastore-tag-search-v1-documents-search. operations: - method: POST name: getdocumentsendpoint description: Factset Gets a list of Documents that a user has access to. call: analytics-datastore-analytics.getdocumentsendpoint with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/tag-search/v1/product-types/search name: analytics-pub-datastore-tag-search-v1-product-types-search description: REST surface for analytics-pub-datastore-tag-search-v1-product-types-search. operations: - method: POST name: getproducttypes description: Factset Gets a list of product types that a user has access to. call: analytics-datastore-analytics.getproducttypes with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/tag-search/v1/tags name: analytics-pub-datastore-tag-search-v1-tags description: REST surface for analytics-pub-datastore-tag-search-v1-tags. operations: - method: GET name: gettagsendpoint description: Factset Gets a list of tag definitions for the user. call: analytics-datastore-analytics.gettagsendpoint with: _paginationOffset: rest._paginationOffset _paginationLimit: rest._paginationLimit outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/tag-search/v1/tags/{name} name: analytics-pub-datastore-tag-search-v1-tags-name description: REST surface for analytics-pub-datastore-tag-search-v1-tags-name. operations: - method: GET name: getsingletagendpoint description: Factset Get a single tag definition based on its name call: analytics-datastore-analytics.getsingletagendpoint with: name: rest.name outputParameters: - type: object mapping: $. - path: /v1/analytics/pub-datastore/tag-search/v1/tags/{name}/values name: analytics-pub-datastore-tag-search-v1-tags-name-values description: REST surface for analytics-pub-datastore-tag-search-v1-tags-name-values. operations: - method: POST name: gettagvaluesendpoint description: Factset Gets a list of tag values for the given name call: analytics-datastore-analytics.gettagvaluesendpoint with: name: rest.name body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: analytics-datastore-analytics-mcp port: 9090 transport: http description: MCP adapter for Factset Analytics Datastore API — Analytics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-gets-object-given-id description: Factset Gets an object given an ID. In this case ID retrieved from mapping Location header, object data in response body. hints: readOnly: true destructive: false idempotent: true call: analytics-datastore-analytics.getcargoendpoint with: groupId: tools.groupId objectId: tools.objectId outputParameters: - type: object mapping: $. - name: factset-redirects-raw-ppt-pdf description: Factset Redirects to the raw PPT/PDF output created by the Publisher service. hints: readOnly: true destructive: false idempotent: true call: analytics-datastore-analytics.getpdfpptmapping with: document: tools.document accountId: tools.accountId date: tools.date outputParameters: - type: object mapping: $. - name: factset-redirects-underlying-pa-spar description: Factset Redirects to the underlying PA/SPAR data represented in a Stach format, with no as of date specified. hints: readOnly: true destructive: false idempotent: true call: analytics-datastore-analytics.getstachmappingnodate with: document: tools.document assetName: tools.assetName reportId: tools.reportId tileId: tools.tileId accountId: tools.accountId outputParameters: - type: object mapping: $. - name: factset-redirects-underlying-insight-vault description: Factset Redirects to the underlying Insight/Vault data in a Stach format. hints: readOnly: true destructive: false idempotent: true call: analytics-datastore-analytics.getinsightmapping with: document: tools.document assetName: tools.assetName reportId: tools.reportId tileId: tools.tileId accountId: tools.accountId configId: tools.configId date: tools.date outputParameters: - type: object mapping: $. - name: factset-redirects-underlying-pa-spar-2 description: Factset Redirects to the underlying PA/SPAR data represented in a Stach format. hints: readOnly: true destructive: false idempotent: true call: analytics-datastore-analytics.getstachmapping with: document: tools.document assetName: tools.assetName reportId: tools.reportId tileId: tools.tileId accountId: tools.accountId date: tools.date outputParameters: - type: object mapping: $. - name: factset-gets-list-documents-that description: Factset Gets a list of Documents that a user has access to. hints: readOnly: true destructive: false idempotent: false call: analytics-datastore-analytics.getdocumentsendpoint with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-gets-list-product-types description: Factset Gets a list of product types that a user has access to. hints: readOnly: true destructive: false idempotent: false call: analytics-datastore-analytics.getproducttypes with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-gets-list-tag-definitions description: Factset Gets a list of tag definitions for the user. hints: readOnly: true destructive: false idempotent: true call: analytics-datastore-analytics.gettagsendpoint with: _paginationOffset: tools._paginationOffset _paginationLimit: tools._paginationLimit outputParameters: - type: object mapping: $. - name: factset-get-single-tag-definition description: Factset Get a single tag definition based on its name hints: readOnly: true destructive: false idempotent: true call: analytics-datastore-analytics.getsingletagendpoint with: name: tools.name outputParameters: - type: object mapping: $. - name: factset-gets-list-tag-values description: Factset Gets a list of tag values for the given name hints: readOnly: true destructive: false idempotent: false call: analytics-datastore-analytics.gettagvaluesendpoint with: name: tools.name body: tools.body outputParameters: - type: object mapping: $.