Skip to main content
The receipts endpoint returns the signed routing receipt for any completed inference request. Each receipt records which GPU node served your request, the model that was used, the payment amount settled to that node, and a cryptographic signature produced inside an AWS Nitro Enclave — giving you a tamper-proof audit trail for every inference you run on Pinaivu.

Endpoint

GET https://api.pinaivu.com/v1/receipts/{request_id}

Path Parameters

request_id
string
required
The request_id returned in the response body of a POST /v1/chat/completions call. Example: req_01j9z4kxm8vwqe3t5p6n7r2y0c.

Example Request

cURL
curl https://api.pinaivu.com/v1/receipts/req_01j9z4kxm8vwqe3t5p6n7r2y0c \
  -H "Authorization: Bearer sk-pnv-..."

Response

request_id
string
The unique request identifier — matches the request_id you queried.
node_id
string
The identifier of the GPU node on the Pinaivu network that served this inference request.
model
string
The model used to generate the completion, e.g. llama3.2:3b.
timestamp
string
ISO 8601 timestamp of when the inference completed on the node.
payment_amount
number
The amount settled to the GPU node for serving this request, denominated in the Pinaivu network token.
coordinator_signature
string
A cryptographic signature generated by the coordinator running inside an AWS Nitro Enclave. You can use this signature to independently verify that the receipt has not been tampered with.
Example response
{
  "request_id": "req_01j9z4kxm8vwqe3t5p6n7r2y0c",
  "node_id": "node_9f2a3b7c4d1e6f8a",
  "model": "llama3.2:3b",
  "timestamp": "2024-04-25T14:32:07Z",
  "payment_amount": 0.000042,
  "coordinator_signature": "0x3a7f91bc204de561f83a4c9b2e0d75f18ec3a290b14f6d87c5e02ab9143fd7c821b09e6a4d5c8f3017629ab4e8d1f6c290a37b15e824d96f0c3ab7218fe49d601c"
}
The coordinator_signature is produced exclusively inside an AWS Nitro Enclave and cannot be forged. You can use it to independently verify that a given inference request was legitimately served by the Pinaivu network, with no possibility of the signature being fabricated by a third party.
Receipts are also viewable in the browser at https://explorer.pinaivu.com. Search by request_id to see the full routing history and verify the coordinator signature without writing any code.