Archestra AI MCP Tool Call API

The MCP Tool Call API from Archestra AI — 2 operation(s) for mcp tool call.

Operations 2

GET /api/mcp-tool-calls Get mcp tool calls #
GET /api/mcp-tool-calls/{mcpToolCallId} Get mcp tool call #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/archestra:archestra-mcp-tool-call-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

archestra-mcp-tool-call-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Archestra MCP Tool Call API
  version: 1.4.0-rc.47
tags:
- name: MCP Tool Call
paths:
  /api/mcp-tool-calls:
    get:
      operationId: getMcpToolCalls
      tags:
      - MCP Tool Call
      description: 'Get MCP tool calls in the active organization with cursor pagination. `log:read` returns rows attributed to the caller. `log:admin` includes every row in the organization.


        Authentication:


        Required. Use an authenticated browser session or send your Archestra API key in the `Authorization` header.


        Authorization:


        `log:read`: View your own LLM proxy and MCP tool call logs in the active organization


        `log:read` returns rows attributed to the caller. `log:admin` includes every row in the active organization.'
      parameters:
      - schema:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        in: query
        name: agentId
        required: false
        description: Filter by agent ID
      - schema:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        in: query
        name: startDate
        required: false
        description: Filter by start date (ISO 8601 format)
      - schema:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        in: query
        name: endDate
        required: false
        description: Filter by end date (ISO 8601 format)
      - schema:
          type: string
        in: query
        name: mcpServerName
        required: false
        description: Filter by exact MCP server name
      - schema:
          type: string
        in: query
        name: userId
        required: false
        description: Filter by the user the call is attributed to. Ignored without `log:admin`, which already scopes the listing to the caller.
      - schema:
          default: 20
          type: integer
          minimum: 1
          maximum: 100
        in: query
        name: limit
        required: false
      - schema:
          type: string
        in: query
        name: cursor
        required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        ownerType:
                          type: string
                          maxLength: 16
                        agentId:
                          type:
                          - string
                          - 'null'
                          format: uuid
                          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        appId:
                          type:
                          - string
                          - 'null'
                          format: uuid
                          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        mcpServerName:
                          type: string
                          maxLength: 255
                        method:
                          type: string
                          maxLength: 255
                        toolCall:
                          anyOf:
                          - type: object
                            properties:
                              id:
                                type: string
                              name:
                                type: string
                              namespace:
                                type: string
                              arguments:
                                type: object
                                additionalProperties: {}
                              kind:
                                type: string
                                enum:
                                - function
                                - custom
                            required:
                            - id
                            - name
                            - arguments
                            additionalProperties: false
                            description: Represents a tool call in a provider-agnostic way
                          - anyOf:
                            - type: object
                              properties:
                                __encryptedChatSealed:
                                  type: string
                              required:
                              - __encryptedChatSealed
                              additionalProperties: false
                            - type: object
                              properties:
                                __redacted:
                                  type: string
                                  enum:
                                  - encrypted_chat
                                  - locked_chat
                                  - incognito
                                  - log_content_policy
                              required:
                              - __redacted
                              additionalProperties: false
                        toolResult: {}
                        userId:
                          type:
                          - string
                          - 'null'
                        runId:
                          type:
                          - string
                          - 'null'
                        authMethod:
                          type:
                          - string
                          - 'null'
                          enum:
                          - oauth
                          - user_token
                          - org_token
                          - team_token
                          - external_idp
                          - session
                        oauthClientId:
                          type:
                          - string
                          - 'null'
                        source:
                          type:
                          - string
                          - 'null'
                          enum:
                          - api
                          - chat
                        createdAt:
                          type: string
                          format: date-time
                        userName:
                          type:
                          - string
                          - 'null'
                        appName:
                          type:
                          - string
                          - 'null'
                      required:
                      - id
                      - ownerType
                      - agentId
                      - appId
                      - mcpServerName
                      - method
                      - toolCall
                      - toolResult
                      - userId
                      - runId
                      - authMethod
                      - oauthClientId
                      - source
                      - createdAt
                      - userName
                      - appName
                      additionalProperties: false
                  pagination:
                    type: object
                    properties:
                      limit:
                        type: integer
                        minimum: 1
                        maximum: 9007199254740991
                      nextCursor:
                        type:
                        - string
                        - 'null'
                      hasNext:
                        type: boolean
                    required:
                    - limit
                    - nextCursor
                    - hasNext
                    additionalProperties: false
                required:
                - data
                - pagination
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_validation_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_authentication_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_authorization_error
                      internal_code:
                        type: string
                      details:
                        type: object
                        additionalProperties: {}
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_not_found_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_conflict_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_internal_server_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
      x-required-permissions:
        kind: static
        note: '`log:read` returns rows attributed to the caller. `log:admin` includes every row in the active organization.'
        permissions:
        - log:read
      summary: Get mcp tool calls
      x-summary-source: derived
  /api/mcp-tool-calls/{mcpToolCallId}:
    get:
      operationId: getMcpToolCall
      tags:
      - MCP Tool Call
      description: 'Get an MCP tool call in the active organization by ID. `log:read` permits a row attributed to the caller. `log:admin` permits any row in the organization.


        Authentication:


        Required. Use an authenticated browser session or send your Archestra API key in the `Authorization` header.


        Authorization:


        `log:read`: View your own LLM proxy and MCP tool call logs in the active organization


        `log:read` permits a row attributed to the caller. `log:admin` permits any row in the active organization.'
      parameters:
      - schema:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        in: path
        name: mcpToolCallId
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  ownerType:
                    type: string
                    maxLength: 16
                  agentId:
                    type:
                    - string
                    - 'null'
                    format: uuid
                    pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  appId:
                    type:
                    - string
                    - 'null'
                    format: uuid
                    pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                  mcpServerName:
                    type: string
                    maxLength: 255
                  method:
                    type: string
                    maxLength: 255
                  toolCall:
                    anyOf:
                    - type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        namespace:
                          type: string
                        arguments:
                          type: object
                          additionalProperties: {}
                        kind:
                          type: string
                          enum:
                          - function
                          - custom
                      required:
                      - id
                      - name
                      - arguments
                      additionalProperties: false
                      description: Represents a tool call in a provider-agnostic way
                    - anyOf:
                      - type: object
                        properties:
                          __encryptedChatSealed:
                            type: string
                        required:
                        - __encryptedChatSealed
                        additionalProperties: false
                      - type: object
                        properties:
                          __redacted:
                            type: string
                            enum:
                            - encrypted_chat
                            - locked_chat
                            - incognito
                            - log_content_policy
                        required:
                        - __redacted
                        additionalProperties: false
                  toolResult: {}
                  userId:
                    type:
                    - string
                    - 'null'
                  runId:
                    type:
                    - string
                    - 'null'
                  authMethod:
                    type:
                    - string
                    - 'null'
                    enum:
                    - oauth
                    - user_token
                    - org_token
                    - team_token
                    - external_idp
                    - session
                  oauthClientId:
                    type:
                    - string
                    - 'null'
                  source:
                    type:
                    - string
                    - 'null'
                    enum:
                    - api
                    - chat
                  createdAt:
                    type: string
                    format: date-time
                  userName:
                    type:
                    - string
                    - 'null'
                  appName:
                    type:
                    - string
                    - 'null'
                required:
                - id
                - ownerType
                - agentId
                - appId
                - mcpServerName
                - method
                - toolCall
                - toolResult
                - userId
                - runId
                - authMethod
                - oauthClientId
                - source
                - createdAt
                - userName
                - appName
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_validation_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_authentication_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_authorization_error
                      internal_code:
                        type: string
                      details:
                        type: object
                        additionalProperties: {}
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_not_found_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_conflict_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      type:
                        type: string
                        enum:
                        - api_internal_server_error
                      internal_code:
                        type: string
                    required:
                    - message
                    - type
                    additionalProperties: false
                required:
                - error
                additionalProperties: false
      x-required-permissions:
        kind: static
        note: '`log:read` permits a row attributed to the caller. `log:admin` permits any row in the active organization.'
        permissions:
        - log:read
      summary: Get mcp tool call
      x-summary-source: derived