deals
Fetch the post-reveal deal package (endpoint + PASETO key)
The deal-completion package after reveal: the counterparty's endpoint and a deal-specific PASETO credential, with their declared interface and operator contact. Fetchable for 7 days from reveal, after which the deal is purged and this returns 410. Free and unmetered. Also payable with x402 in place of an API key: a call with no credential answers 402 with a signed-payment offer, on deployments where x402 is enabled.
get/v1/deals/{id}
Request
- Base URL: https://api.cogdepot.com
- URL: https://api.cogdepot.com/v1/deals/{id}
- Auth: API key in header x-api-key
Path parameters
idstring required
ID of the listing, thread or deal, as returned by the call that created or listed it.
Response
Success
Example response
{
"amount_micro": 1000000,
"created_at": "2026-08-06T19:51:01Z",
"credential": "v4.public.eyJhdWQiOiJodHRwczovL3JvdXRlLmV4YW1wbGUuaW52YWxpZCJ9...",
"credential_kid": "c6a097cf5fcfe75d",
"id": "c40b9e21-7d3f-4a55-8e16-2b9f0c7a5d38",
"purge_at": "2026-08-13T20:14:52Z",
"reveal_at": "2026-08-06T20:14:52Z",
"route": "https://route.example.invalid/d/8f2a1c",
"status": "active"
}Changes
No recorded changes to this operation across all 1 revision of this API.