Get pact detail
import requests
url = "https://api.example.com/api/v1/pacts/{pact_id}"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://api.example.com/api/v1/pacts/{pact_id}{
"result": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operator_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"intent": "<string>",
"spec": {
"policies": [
{
"name": "<string>",
"type": "transfer",
"rules": {},
"priority": 0,
"is_active": true
}
],
"completion_conditions": [
{
"type": "time_elapsed",
"threshold": "<string>"
}
],
"execution_plan": "<string>"
},
"status": "pending_approval",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"operator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "<string>",
"type": "human",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"is_temporary": false,
"owner_principal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"onboarding_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"original_intent": "<string>",
"approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"api_key": "<string>",
"activated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"progress_tx_count": 0,
"progress_usd_spent": "0",
"is_default": false,
"effective_policies": [
{}
],
"recipe_slugs": [
"<string>"
],
"recent_txs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"operation_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
]
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Pacts
Get pact detail
Retrieve the full details of a specific pact. The api_key field is only visible to the operator that submitted the pact.
GET
/
api
/
v1
/
pacts
/
{pact_id}
Get pact detail
import requests
url = "https://api.example.com/api/v1/pacts/{pact_id}"
response = requests.get(url)
print(response.text)curl --request GET \
--url https://api.example.com/api/v1/pacts/{pact_id}{
"result": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"operator_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"intent": "<string>",
"spec": {
"policies": [
{
"name": "<string>",
"type": "transfer",
"rules": {},
"priority": 0,
"is_active": true
}
],
"completion_conditions": [
{
"type": "time_elapsed",
"threshold": "<string>"
}
],
"execution_plan": "<string>"
},
"status": "pending_approval",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"operator": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"external_id": "<string>",
"type": "human",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"metadata": {},
"is_temporary": false,
"owner_principal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"onboarding_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"original_intent": "<string>",
"approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"api_key": "<string>",
"activated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"progress_tx_count": 0,
"progress_usd_spent": "0",
"is_default": false,
"effective_policies": [
{}
],
"recipe_slugs": [
"<string>"
],
"recent_txs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"operation_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}
]
},
"success": true,
"suggestion": "",
"message": "",
"meta": {
"total": 123,
"offset": 123,
"limit": 123,
"has_more": true,
"after": "<string>",
"before": "<string>"
}
}{
"success": false,
"error": {
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}
}Headers
Path Parameters
The UUID of the pact to retrieve, as returned by the submit or list endpoints.
Response
Successful Response
Public pact detail response without delegation internals.
Show child attributes
Show child attributes
Pagination metadata for list responses.
Supports both legacy offset-based and cursor-based pagination.
Cursor fields (has_more, after, before) are populated for
cursor-paginated endpoints. Legacy fields (offset, limit) are
populated when the caller uses the deprecated offset parameter.
Show child attributes
Show child attributes