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

# Get API call detail

> Get one authorized customer API call and its safe timing and diagnostic detail.



## OpenAPI

````yaml /v2/storefront-api-v2.yaml get /activity/calls/{activityUid}
openapi: 3.0.0
info:
  title: Scope3 Storefront API
  version: 2.0.0
  description: |-
    REST API for partners to manage storefronts, inventory sources, and billing.

    ## Authentication

    All endpoints require a Bearer token in the Authorization header:
    ```
    Authorization: Bearer your-api-key
    ```

    ## Base URL

    `https://api.interchange.io/api/v2/storefront`

    ## For AI Agents

    AI agents can use the MCP endpoint at `/mcp/v2/storefront` with three tools:
    - `initialize`: Start an MCP session
    - `api_call`: Make REST API calls
    - `ask_about_capability`: Learn about API features
servers:
  - url: https://api.interchange.io/api/v2/storefront
    description: Production server
security: []
tags:
  - name: Account
    description: Account management, service tokens, and preferences
  - name: Storefront
    description: Manage storefront and inventory sources
  - name: Storefront Agents
    description: List and manage registered sales, signals, and outcomes agents
  - name: Storefront Activity
    description: Audit log of configuration and inventory changes on the storefront
  - name: Storefront Billing
    description: Payout bank details and billing configuration for storefronts
  - name: AI Usage
    description: Storefront AI token usage visibility by model
  - name: MCP
    description: Model Context Protocol endpoints
paths:
  /activity/calls/{activityUid}:
    servers:
      - url: /api/v2
        description: Shared customer API base URL
    get:
      tags:
        - Activity
      summary: Get API call detail
      description: >-
        Get one authorized customer API call and its safe timing and diagnostic
        detail.
      operationId: getActivityCall
      parameters:
        - in: path
          name: activityUid
          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)$
          required: true
      responses:
        '200':
          description: Get API call detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActivityCallDetailResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ActivityCallDetailResponse:
      description: Authorized customer API call detail and safe diagnostics
      type: object
      properties:
        call:
          type: object
          properties:
            activityUid:
              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)$
            idempotencyReplayOfActivityUid:
              nullable: true
              type: string
            requestId:
              type: string
            transportRequestId:
              type: string
            startedAt:
              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))$
            completedAt:
              nullable: true
              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))$
            durationMs:
              nullable: true
              type: integer
              minimum: 0
              maximum: 9007199254740991
            completionState:
              type: string
              enum:
                - started
                - complete
                - incomplete
            outcome:
              nullable: true
              type: string
              enum:
                - succeeded
                - accepted
                - denied
                - failed
                - cancelled
                - unknown
            decisionDisposition:
              type: string
              enum:
                - not_evaluated
            surface:
              type: string
              enum:
                - rest
                - mcp
                - a2a
            visibility:
              type: string
              enum:
                - customer
                - diagnostic
                - protocol
            operation:
              type: string
            contractVersion:
              nullable: true
              type: string
            docsRevision:
              nullable: true
              type: string
            method:
              type: string
            httpStatus:
              nullable: true
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            protocolStatus:
              nullable: true
              type: string
            environment:
              type: string
              enum:
                - production
                - sandbox
                - unknown
                - not_applicable
            dryRun:
              nullable: true
              type: boolean
            operationClass:
              type: string
              nullable: true
              enum:
                - null
            operationRegistryVersion:
              nullable: true
              type: string
            platformSafetyResult:
              type: string
              enum:
                - not_applicable
            platformSafetyReasonCode:
              nullable: true
              type: string
            administrativeReviewUid:
              nullable: true
              type: string
            governanceSummary:
              type: string
              nullable: true
              enum:
                - null
            advertiserId:
              nullable: true
              type: string
            principalType:
              type: string
              enum:
                - human
                - workload
                - system
                - unknown
            userId:
              nullable: true
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            userName:
              nullable: true
              type: string
            userEmail:
              nullable: true
              type: string
            workloadUid:
              nullable: true
              type: string
            workloadName:
              nullable: true
              type: string
            credentialId:
              nullable: true
              type: string
            credentialName:
              nullable: true
              type: string
            credentialVersion:
              nullable: true
              type: integer
              maximum: 9007199254740991
              minimum: 1
            credentialScope:
              type: string
              nullable: true
              enum:
                - null
            credentialRole:
              type: string
              nullable: true
              enum:
                - null
            runUid:
              nullable: true
              type: string
            sessionId:
              nullable: true
              type: string
            conversationUid:
              nullable: true
              type: string
            taskUids:
              type: array
              items:
                type: string
            traceId:
              nullable: true
              type: string
            error:
              nullable: true
              type: object
              properties:
                code:
                  type: string
                class:
                  type: string
                faultDomain:
                  type: string
                retryDisposition:
                  type: string
                retryAfterSeconds:
                  nullable: true
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                documentationUrl:
                  nullable: true
                  type: string
                message:
                  nullable: true
                  type: string
              required:
                - code
                - class
                - faultDomain
                - retryDisposition
                - retryAfterSeconds
                - documentationUrl
                - message
              additionalProperties: false
            resources:
              type: array
              items:
                type: object
                properties:
                  resourceType:
                    type: string
                  resourceId:
                    type: string
                  label:
                    nullable: true
                    type: string
                  href:
                    nullable: true
                    type: string
                required:
                  - resourceType
                  - resourceId
                  - label
                  - href
                additionalProperties: false
            credits:
              nullable: true
              type: object
              properties:
                reserved:
                  type: number
                settled:
                  type: number
              required:
                - reserved
                - settled
              additionalProperties: false
            detailAvailability:
              type: string
              enum:
                - available
                - expired
                - not_captured
            routeTemplate:
              nullable: true
              type: string
          required:
            - activityUid
            - idempotencyReplayOfActivityUid
            - requestId
            - transportRequestId
            - startedAt
            - completedAt
            - durationMs
            - completionState
            - outcome
            - decisionDisposition
            - surface
            - visibility
            - operation
            - contractVersion
            - docsRevision
            - method
            - httpStatus
            - protocolStatus
            - environment
            - dryRun
            - operationClass
            - operationRegistryVersion
            - platformSafetyResult
            - platformSafetyReasonCode
            - administrativeReviewUid
            - governanceSummary
            - advertiserId
            - principalType
            - userId
            - userName
            - userEmail
            - workloadUid
            - workloadName
            - credentialId
            - credentialName
            - credentialVersion
            - credentialScope
            - credentialRole
            - runUid
            - sessionId
            - conversationUid
            - taskUids
            - traceId
            - error
            - resources
            - credits
            - detailAvailability
            - routeTemplate
          additionalProperties: false
        timing:
          type: object
          properties:
            totalMs:
              nullable: true
              type: integer
              minimum: 0
              maximum: 9007199254740991
            scope3ProcessingMs:
              nullable: true
              type: integer
              minimum: 0
              maximum: 9007199254740991
            queueMs:
              nullable: true
              type: integer
              minimum: 0
              maximum: 9007199254740991
            downstreamWaitMs:
              nullable: true
              type: integer
              minimum: 0
              maximum: 9007199254740991
          required:
            - totalMs
            - scope3ProcessingMs
            - queueMs
            - downstreamWaitMs
          additionalProperties: false
        steps:
          type: array
          items:
            type: object
            properties:
              seq:
                type: integer
                minimum: 0
                maximum: 9007199254740991
              at:
                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))$
              kind:
                type: string
                enum:
                  - validation
                  - response
              status:
                type: string
                enum:
                  - ok
                  - error
              name:
                type: string
              detail: {}
            required:
              - seq
              - at
              - kind
              - status
              - name
            additionalProperties: false
        redactedInput:
          nullable: true
          type: object
          additionalProperties: {}
        redactedOutput:
          nullable: true
          type: object
          additionalProperties: {}
        safeHeaders:
          nullable: true
          type: object
          additionalProperties:
            type: string
        detailExpiresAt:
          nullable: true
          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))$
        governanceDecisions:
          type: array
          items: {}
        administrativeReview:
          type: string
          nullable: true
          enum:
            - null
      required:
        - call
        - timing
        - steps
        - redactedInput
        - redactedOutput
        - safeHeaders
        - detailExpiresAt
        - governanceDecisions
        - administrativeReview
      additionalProperties: false
    ErrorResponse:
      description: Standard error response
      type: object
      properties:
        data:
          type: string
          nullable: true
          enum:
            - null
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - data
        - error
      additionalProperties: false
    ApiError:
      description: Structured error object
      type: object
      properties:
        code:
          description: Machine-readable error code
          type: string
        message:
          description: Human-readable error message
          type: string
        field:
          description: Field path associated with the error
          type: string
        details:
          description: Additional error context
          type: object
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or access token

````