---
title: "Read a Verifiable Role Contract in full"
method: GET
path: "/v1/project/{name}/role/{roleId}"
tags: ["Role contracts"]
---

# Read a Verifiable Role Contract in full

`GET /v1/project/{name}/role/{roleId}`

## Request

- Base URL: `https://api.chainmemory.ai`
- URL: `https://api.chainmemory.ai/v1/project/{name}/role/{roleId}`
- Auth: API key in header `x-api-key`

## Path parameters

- `name` string, required
- `roleId` string, required

## Query parameters

- `version` integer

## Response `200`

Contract: purpose, rules with severity, working protocol

## Other responses

- `404`: role contract not found

---

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