Skip to main content
Data Agreement

List data agreements

GET/v4/config/consent/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

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:data-agreements:read

Query parameters

  • revisionIdstring

    Revision ID. Give it to get the record as it was at that revision. Without it, the server uses the latest revision.

  • offsetinteger

    Number of records to skip for pagination. A negative or unreadable value falls back to 0.

    At least 0.

    Default:0

  • limitinteger

    Maximum number of records to return per page.

    Default:10

  • lifecycleenum<string>

    complete lists the data agreements that have a published revision, as at their latest revision. draft lists only the drafts. Without it, the list has both, in their current state. When complete matches no data agreement and includeRevisions is not true, dataAgreements is null.

    Available options:complete,draft

  • methodOfUseenum<string>

    Lists only the data agreements with this method of use.

    Available options:null,data_source,data_using_service

  • dexProfilestring

    Lists only the data agreements with this data exchange profile, for example OID4VC.

  • includeRevisionsboolean

    true adds the revisions of each data agreement to the list.

    Default:false

Response

application/json

One page of data agreements.

  • dataAgreementsobject[] | null

    null when lifecycle=complete matches no data agreement and includeRevisions is not true.

  • paginationobject