Skip to main content
GET
cURL
Use client.getAgreement(...) to retrieve the hosted record and agreement JSON before operating on a deployed agreement.

Authorizations

X-API-Key
string
header
default:YOUR_API_KEY
required

Canonical API-key credential. Send X-API-Key: cns_pk_..., or Authorization: Bearer cns_pk_... only as an API-key compatibility alias.

Path Parameters

id
string
required

Agreement ID or deployed agreement address.

Response

Agreement record.

data
object
required

Hosted record for an authored or deployed agreement. Use the state and input-history routes when you need current execution state or submitted input history.

Example:
meta
object
required