List data agreements
Lists the data agreements of the organisation, one page at a time. Without filters the list has the current state of every data agreement, published or draft.
Filters: lifecycle (complete or draft), methodOfUse and dexProfile. With revisionId the list has only the data agreement as it was at that revision. With includeRevisions=true each data agreement also has its revisions.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
data-agreements:read
Query parameters
revisionId stringRevision ID. Give it to get the record as it was at that revision. Without it, the server uses the latest revision.
offsetintegerNumber of records to skip for pagination. A negative or unreadable value falls back to
0.At least 0.
Default:
0limitintegerMaximum number of records to return per page.
Default:
10lifecycleenum<string>completelists the data agreements that have a published revision, as at their latest revision.draftlists only the drafts. Without it, the list has both, in their current state. Whencompletematches no data agreement andincludeRevisionsis nottrue,dataAgreementsisnull.Available options:
complete,draftmethodOf Use enum<string>Lists only the data agreements with this method of use.
Available options:
null,data_source,data_using_servicedexProfile stringLists only the data agreements with this data exchange profile, for example
OID4VC.includeRevisions booleantrueadds the revisions of each data agreement to the list.Default:
false
Response
One page of data agreements.
dataAgreements object[] | nullnullwhenlifecycle=completematches no data agreement andincludeRevisionsis nottrue.paginationobject