---
title: "Get Contract Revision"
method: GET
path: "/api/agreement/v1/contract-revisions/{id}"
tags: ["Contract Revisions"]
---

# Get Contract Revision

`GET /api/agreement/v1/contract-revisions/{id}`

Retrieves a specific contract revision by its ID. Accessible by the consumer or provider that owns the associated datarequest.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `actingRole` 'CONSUMER' | 'PROVIDER' | 'ADMIN'

## Response `200`

OK

- ContractRevisionDto
  - `id` string, uuid, required
  - `dataRequestId` string, uuid, required
  - `dataConsumerName` string, required — LegalName of the data consumer taken from the uid register
  - `dataConsumerCity` string, required — City of the data consumer
  - `dataProviderName` string, required — Name of the data provider
  - `dataProviderCity` string, required — City of the data provider
  - `dataRequestContext` DataRequestContextDto, required — Data transfer object representing a minimal version of a data request for UI/UX use.
    - `dataConsumerLogoBase64` string — Base64-encoded logo of the data consumer
  - `consumerSignatures` ContractRevisionSignatureDto[] — List of signatures of the data consumer
    - `signatureSlotCode` 'DATA_CONSUMER_01' | 'DATA_CONSUMER_02' | 'DATA_PROVIDER_01' | 'DATA_PROVIDER_02', required
    - `userId` string, uuid, required
    - `name` string, required — Name of the user of the signature
    - `timestamp` string, date-time, required
  - `providerSignatures` ContractRevisionSignatureDto[] — List of signatures of the data provider
    - `signatureSlotCode` 'DATA_CONSUMER_01' | 'DATA_CONSUMER_02' | 'DATA_PROVIDER_01' | 'DATA_PROVIDER_02', required
    - `userId` string, uuid, required
    - `name` string, required — Name of the user of the signature
    - `timestamp` string, date-time, required
  - `consumerSignatureType` 'INDIVIDUAL_SIGNATURE' | 'COLLECTIVE_SIGNATURE'
  - `providerSignatureType` 'INDIVIDUAL_SIGNATURE' | 'COLLECTIVE_SIGNATURE'
  - `sealState` 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED'

## Other responses

- `401` — Not Authorized
- `403` — Not Allowed
- `404` — The resource or element was not found
- `500` — Internal server error: unexpected error

---

[API](https://skmtc.net/agridata/apis/agridata-ch-api.md) · [All operations](https://skmtc.net/agridata/apis/agridata-ch-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agridata/agridata-ch-api/revisions/4f3c6bfcfcfd/schema)
