---
title: "Generate Credit Attestation"
method: POST
path: "/api/agent-credit/crosschain/attestation/generate"
tags: ["Cross-Chain Credit"]
---

# Generate Credit Attestation

`POST /api/agent-credit/crosschain/attestation/generate`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/agent-credit/crosschain/attestation/generate`
- Auth: none declared

Generate a portable credit attestation for an agent to use on another chain.

## Request body

- AttestationRequest
  - `agent_address` string, required
  - `target_chain` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kojiru/apis/kojiru-api.md) · [All operations](https://skmtc.dev/kojiru/apis/kojiru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kojiru/apis/kojiru-api/revisions/7974409f57cd?raw)
