> ## Documentation Index
> Fetch the complete documentation index at: https://docs.overlay.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Responses

> 共通レスポンス形式とエラー

## Success response

成功時は `success: true` と `data` が返ります。

```json theme={null}
{
  "success": true,
  "data": {
    "mint_address": "example_mint_address",
    "tx": "example_transaction_signature"
  },
  "message": "NFT creation completed successfully"
}
```

## Error response

失敗時は `success: false` と `message`、`error` が返ります。

```json theme={null}
{
  "success": false,
  "message": "Invalid api-key",
  "error": "Unauthorized"
}
```

## Common status codes

| Status | Meaning |
| ------ | ------- |
| `200`  | 成功      |
| `201`  | 作成成功    |
| `400`  | リクエスト不正 |
| `401`  | 認証失敗    |
| `405`  | メソッド不許可 |
| `500`  | サーバーエラー |

## Usage tracking

API利用は `usages` コレクションに記録されます。セキュリティ上、リクエストで送られた生の `api-key` は保存しません。
