Skip to main content
GET
List contract versions

Authorizations

Authorization
string
header
required

A JWT that Access Manager issues.

Query Parameters

producer
string

Only contract versions of this producer.

Maximum string length: 64
namespace
string

Only contract versions in this namespace.

Maximum string length: 128
type
string

Only contract versions of this fact type.

Maximum string length: 128
status
enum<string>

Only contract versions in this lifecycle status; every status by default. Allowed values: ACTIVE, DEPRECATED.

Available options:
ACTIVE,
DEPRECATED
referenceType
string

Only contract versions that declare this reference type ("who uses this type").

Maximum string length: 128
Example:

"acme.order_id"

limit
integer<int64>
default:50

Page size, from 1 to 100; defaults to 50.

Required range: 1 <= x <= 100
cursor
string

Opaque nextCursor of the previous page; omit it to read the first page.

Maximum string length: 256

Response

One page of contract versions without their payload schemas, in text order, empty when nothing matches; nextCursor is omitted on the last page.

items
object[] | null
required

Contract versions of this page in cursor order, without their payload schemas; read one with getContract.

limit
integer<int64>
required

Page size applied to this request, after the maximum of 100.

nextCursor
string

Opaque cursor of the next page: send it back as cursor. Omitted on the last page.