---
title: "Retrieve this card's existing call and receipt without executing it again."
method: POST
path: "/v1/get_invocation"
---

# Retrieve this card's existing call and receipt without executing it again.

`POST /v1/get_invocation`

## Request

- Base URL: `http://localhost:5100`
- URL: `http://localhost:5100/v1/get_invocation`
- Auth: HTTP bearer

## Request body

- object
  - `id` string, uuid, required
  - `cardId` string, uuid: Card to use. Required when this connection has multiple cards. List cards first.

## Response `200`

Operation result. An invocation may still be pending; inspect its state.

- object
  - `polling` object
    - `recommendedAfterMs` integer, required
  - `completedAt` string, date-time, nullable
  - `cancellation` object
    - `supported` boolean, required
    - `requested` boolean, required
  - `nextAction` 'poll' | 'inspect_result' | 'request_approval' | 'request_manager_review' | 'none'
  - `id` string, uuid, required
  - `runId` string, uuid
  - `toolId` string, required
  - `toolName` string, required
  - `state` 'awaiting_approval' | 'queued' | 'executing' | 'waiting' | 'succeeded' | 'failed' | 'unknown' | 'cancelled', required
  - `canResume` boolean, required
  - `reservedMicros` string, required
  - `billedMicros` string, nullable, required
  - `settlementBasis` 'catalog' | 'provider' | 'operator' | 'none', nullable, required
  - `supplierCostMicros` string, nullable
  - `executionAccount` object, nullable
    - `version` 1, required
    - `credentialMode` 'platform' | 'customer', required
    - `connectionId` string, uuid
    - `credentialProvider` string, required
    - `fundingProvider` string, required
    - `supplierAccountId` string, required
    - `supplierAccountRevision` string
    - `supplierCredentialsRef` string
    - `billingResponsibility` 'platform' | 'customer', required
    - `chargePolicy` 'wallet' | 'provider_direct', required
    - `authorizationMethod` string
    - `authorizationGrantId` string, uuid
    - `profileRevision` string
    - `resourceId` string
    - `resourceKind` string
    - `tokenRole` 'access_token' | 'page_access_token'
  - `providerJobId` string, nullable, required
  - `result` unknown, required
  - `error` string, nullable, required
  - `resultOutcome` object
    - `status` 'partial' | 'failed', required
    - `successfulItems` integer, required
    - `failedItems` integer, required
    - `message` string, required
  - `outputQuality` object
    - `status` 'complete' | 'partial' | 'failed' | 'empty' | 'unknown', required
    - `basis` 'recorded_outcome' | 'provider_contract' | 'upstream_failure' | 'unclassified', required
    - `successfulItems` integer
    - `failedItems` integer
  - `createdAt` string, date-time, required

## Other responses

- `400`: Rejected request or temporary failure. See the errors and limits guide.
- `402`: Rejected request or temporary failure. See the errors and limits guide.
- `403`: Rejected request or temporary failure. See the errors and limits guide.
- `404`: Rejected request or temporary failure. See the errors and limits guide.
- `409`: Rejected request or temporary failure. See the errors and limits guide.
- `503`: Rejected request or temporary failure. See the errors and limits guide.

---

[API](https://skmtc.dev/o11/apis/o11-wallet-api.md) - [All operations](https://skmtc.dev/o11/apis/o11-wallet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/o11/apis/o11-wallet-api/revisions/2071972de71c?raw)
