naftiko: 1.0.0-alpha2 info: label: m3ter API — LookupTableRevisionData description: 'm3ter API — LookupTableRevisionData. 13 operations. Lead operation: Get LookupTableRevisionData. Self-contained Naftiko capability covering one M3ter business surface.' tags: - M3ter - LookupTableRevisionData created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: M3TER_API_KEY: M3TER_API_KEY capability: consumes: - type: http namespace: m3ter-lookuptablerevisiondata baseUri: https://api.m3ter.com description: m3ter API — LookupTableRevisionData business capability. Self-contained, no shared references. resources: - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data operations: - name: getlookuptablerevisiondata method: GET description: Get LookupTableRevisionData outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: limit in: query type: integer description: The maximum number of Data items to return. Defaults to 2000. You can set this to return fewer items if required. - name: additional in: query type: array description: Comma separated list of additional fields. For example, you can use `additional=lookupKey` to get the lookup key returned for each Data item. You can then use a - name: putlookuptablerevisiondata method: PUT description: Upsert LookupTableRevisionData outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: additional in: query type: array description: Comma separated list of additional fields. For example, you can use `additional=lookupKey` to get the lookup key returned for each Data item. You can then use a - name: body in: body type: object description: Request body (JSON). required: true - name: deletelookuptablerevisiondata method: DELETE description: Delete LookupTableRevisionData outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/archived operations: - name: getlookuptablerevisionarchiveddataurl method: POST description: Get LookupTableRevisionArchivedData URL outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the organization required: true - name: lookupTableId in: path type: string description: UUID of the LookupTable required: true - name: lookupTableRevisionId in: path type: string description: UUID of the LookupTableRevision required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/copy operations: - name: copylookuptablerevisiondata method: POST description: Copy LookupTableRevisionData outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the source Lookup Table Revision to copy from. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/generateuploadurl operations: - name: generatelookuptabledatauploadurl method: POST description: Generate LookupTableRevisionData Upload URL outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/jobs operations: - name: listlookuptablerevisiondatajobs method: GET description: List LookupTableRevisionData Jobs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: pageSize in: query type: integer description: The number of Lookup Table Revision Data Job Responses to retrieve per page. - name: nextToken in: query type: string description: The nextToken for multi page retrievals - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/jobs/download operations: - name: triggerlookuptablerevisiondatadownloadjob method: POST description: Trigger Download LookupTableRevisionData URL Job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/jobs/{id} operations: - name: getlookuptablerevisiondatajobresponse method: GET description: Get LookupTableRevisionData Job Response. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: id in: path type: string description: UUID of the Lookup Table Revision Data job. required: true - name: deletelookuptablerevisiondatajobresponse method: DELETE description: Delete LookupTableRevisionData Job Response outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: id in: path type: string description: UUID of the Lookup Table Revision Data job. required: true - name: organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d path: /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/{lookupKey} operations: - name: getlookuptablerevisiondataentry method: GET description: Get LookupTableRevisionData entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: lookupKey in: path type: string description: The specific lookup key for the Data item to retrieve. required: true - name: putlookuptablerevisiondataentry method: PUT description: Upsert LookupTableRevisionData entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: lookupKey in: path type: string description: The specific lookup key for the Data item to upsert. required: true - name: additional in: query type: array description: Comma separated list of additional fields. For example, you can use `additional=lookupKey` to get the lookup key returned for the Data item. - name: body in: body type: object description: Request body (JSON). required: true - name: deletelookuptablerevisiondataentry method: DELETE description: Delete LookupTableRevisionData entry outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: orgId in: path type: string description: UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. required: true - name: lookupTableId in: path type: string description: UUID of the Lookup Table. required: true - name: lookupTableRevisionId in: path type: string description: UUID of the Lookup Table Revision. required: true - name: lookupKey in: path type: string description: The specific lookup key for the Data item to delete. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.M3TER_API_KEY}}' exposes: - type: rest namespace: m3ter-lookuptablerevisiondata-rest port: 8080 description: REST adapter for m3ter API — LookupTableRevisionData. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: GET name: getlookuptablerevisiondata description: Get LookupTableRevisionData call: m3ter-lookuptablerevisiondata.getlookuptablerevisiondata with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId limit: rest.limit additional: rest.additional outputParameters: - type: object mapping: $. - method: PUT name: putlookuptablerevisiondata description: Upsert LookupTableRevisionData call: m3ter-lookuptablerevisiondata.putlookuptablerevisiondata with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId additional: rest.additional body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelookuptablerevisiondata description: Delete LookupTableRevisionData call: m3ter-lookuptablerevisiondata.deletelookuptablerevisiondata with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data/archived name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: POST name: getlookuptablerevisionarchiveddataurl description: Get LookupTableRevisionArchivedData URL call: m3ter-lookuptablerevisiondata.getlookuptablerevisionarchiveddataurl with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data/copy name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: POST name: copylookuptablerevisiondata description: Copy LookupTableRevisionData call: m3ter-lookuptablerevisiondata.copylookuptablerevisiondata with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data/generateuploadurl name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: POST name: generatelookuptabledatauploadurl description: Generate LookupTableRevisionData Upload URL call: m3ter-lookuptablerevisiondata.generatelookuptabledatauploadurl with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data/jobs name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: GET name: listlookuptablerevisiondatajobs description: List LookupTableRevisionData Jobs call: m3ter-lookuptablerevisiondata.listlookuptablerevisiondatajobs with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId pageSize: rest.pageSize nextToken: rest.nextToken outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data/jobs/download name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: POST name: triggerlookuptablerevisiondatadownloadjob description: Trigger Download LookupTableRevisionData URL Job call: m3ter-lookuptablerevisiondata.triggerlookuptablerevisiondatadownloadjob with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data/jobs/{id} name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: GET name: getlookuptablerevisiondatajobresponse description: Get LookupTableRevisionData Job Response. call: m3ter-lookuptablerevisiondata.getlookuptablerevisiondatajobresponse with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: deletelookuptablerevisiondatajobresponse description: Delete LookupTableRevisionData Job Response call: m3ter-lookuptablerevisiondata.deletelookuptablerevisiondatajobresponse with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId id: rest.id outputParameters: - type: object mapping: $. - path: /v1/organizations/{orgid}/lookuptables/{lookuptableid}/revisions/{lookuptablerevisionid}/data/{lookupkey} name: organizations-orgid-lookuptables-lookuptableid-revisions-lookuptablerevisionid-d description: REST surface for organizations-orgId-lookuptables-lookupTableId-revisions-lookupTableRevisionId-d. operations: - method: GET name: getlookuptablerevisiondataentry description: Get LookupTableRevisionData entry call: m3ter-lookuptablerevisiondata.getlookuptablerevisiondataentry with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId lookupKey: rest.lookupKey outputParameters: - type: object mapping: $. - method: PUT name: putlookuptablerevisiondataentry description: Upsert LookupTableRevisionData entry call: m3ter-lookuptablerevisiondata.putlookuptablerevisiondataentry with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId lookupKey: rest.lookupKey additional: rest.additional body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletelookuptablerevisiondataentry description: Delete LookupTableRevisionData entry call: m3ter-lookuptablerevisiondata.deletelookuptablerevisiondataentry with: orgId: rest.orgId lookupTableId: rest.lookupTableId lookupTableRevisionId: rest.lookupTableRevisionId lookupKey: rest.lookupKey body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: m3ter-lookuptablerevisiondata-mcp port: 9090 transport: http description: MCP adapter for m3ter API — LookupTableRevisionData. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-lookuptablerevisiondata description: Get LookupTableRevisionData hints: readOnly: true destructive: false idempotent: true call: m3ter-lookuptablerevisiondata.getlookuptablerevisiondata with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId limit: tools.limit additional: tools.additional outputParameters: - type: object mapping: $. - name: upsert-lookuptablerevisiondata description: Upsert LookupTableRevisionData hints: readOnly: false destructive: false idempotent: true call: m3ter-lookuptablerevisiondata.putlookuptablerevisiondata with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId additional: tools.additional body: tools.body outputParameters: - type: object mapping: $. - name: delete-lookuptablerevisiondata description: Delete LookupTableRevisionData hints: readOnly: false destructive: true idempotent: true call: m3ter-lookuptablerevisiondata.deletelookuptablerevisiondata with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId outputParameters: - type: object mapping: $. - name: get-lookuptablerevisionarchiveddata-url description: Get LookupTableRevisionArchivedData URL hints: readOnly: true destructive: false idempotent: false call: m3ter-lookuptablerevisiondata.getlookuptablerevisionarchiveddataurl with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId body: tools.body outputParameters: - type: object mapping: $. - name: copy-lookuptablerevisiondata description: Copy LookupTableRevisionData hints: readOnly: true destructive: false idempotent: false call: m3ter-lookuptablerevisiondata.copylookuptablerevisiondata with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId body: tools.body outputParameters: - type: object mapping: $. - name: generate-lookuptablerevisiondata-upload-url description: Generate LookupTableRevisionData Upload URL hints: readOnly: true destructive: false idempotent: false call: m3ter-lookuptablerevisiondata.generatelookuptabledatauploadurl with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId body: tools.body outputParameters: - type: object mapping: $. - name: list-lookuptablerevisiondata-jobs description: List LookupTableRevisionData Jobs hints: readOnly: true destructive: false idempotent: true call: m3ter-lookuptablerevisiondata.listlookuptablerevisiondatajobs with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId pageSize: tools.pageSize nextToken: tools.nextToken outputParameters: - type: object mapping: $. - name: trigger-download-lookuptablerevisiondata-url-job description: Trigger Download LookupTableRevisionData URL Job hints: readOnly: true destructive: false idempotent: false call: m3ter-lookuptablerevisiondata.triggerlookuptablerevisiondatadownloadjob with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId body: tools.body outputParameters: - type: object mapping: $. - name: get-lookuptablerevisiondata-job-response description: Get LookupTableRevisionData Job Response. hints: readOnly: true destructive: false idempotent: true call: m3ter-lookuptablerevisiondata.getlookuptablerevisiondatajobresponse with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId id: tools.id outputParameters: - type: object mapping: $. - name: delete-lookuptablerevisiondata-job-response description: Delete LookupTableRevisionData Job Response hints: readOnly: false destructive: true idempotent: true call: m3ter-lookuptablerevisiondata.deletelookuptablerevisiondatajobresponse with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId id: tools.id outputParameters: - type: object mapping: $. - name: get-lookuptablerevisiondata-entry description: Get LookupTableRevisionData entry hints: readOnly: true destructive: false idempotent: true call: m3ter-lookuptablerevisiondata.getlookuptablerevisiondataentry with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId lookupKey: tools.lookupKey outputParameters: - type: object mapping: $. - name: upsert-lookuptablerevisiondata-entry description: Upsert LookupTableRevisionData entry hints: readOnly: false destructive: false idempotent: true call: m3ter-lookuptablerevisiondata.putlookuptablerevisiondataentry with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId lookupKey: tools.lookupKey additional: tools.additional body: tools.body outputParameters: - type: object mapping: $. - name: delete-lookuptablerevisiondata-entry description: Delete LookupTableRevisionData entry hints: readOnly: false destructive: true idempotent: true call: m3ter-lookuptablerevisiondata.deletelookuptablerevisiondataentry with: orgId: tools.orgId lookupTableId: tools.lookupTableId lookupTableRevisionId: tools.lookupTableRevisionId lookupKey: tools.lookupKey body: tools.body outputParameters: - type: object mapping: $.