For the complete documentation index, see llms.txt. This page is also available as Markdown.

Assessments

Take actions on assessments.

Retrieve an assessment by ID

get

Returns information about the assessment with the specified ID.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment.

Responses
200

Example of a response for retrieving an assessment.

application/json

An assessment object.

idstring · uuidRequired

The ID of the assessment.

Example: 7460c00f-3b12-4238-b68d-4ec4ea8bf9f7
namestringRequired

The name of the assessment.

Example: Direct Marketing
statusstringRequired

The status of an assessment. Possible values are: DRAFT, SUBMITTED or OBSOLETE.

isVisibleToEveryonebooleanOptional

Determines whether the assessment is visible to everyone.

If set to 'false', only the Owner and Assignees will be able to access the assessment.

Default: falseExample: true
createdOnstring · date-timeRequired

The date and time of the assessment creation.

Example: 2023-07-10T15:03:10.433Z
lastModifiedOnstring · date-timeRequired

The date and time of the assessment last update.

Example: 2023-07-10T15:03:10.433Z
submittedOnstring · date-timeOptional

The date and time of the assessment submission.

Example: 2023-07-10T15:10:10.433Z
get/assessments/{id}

Delete an assessment

delete

Deletes the assessment with the specified ID.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment to be deleted.

Responses
204

The assessment has been deleted.

No content

delete/assessments/{id}

No content

Update an assessment

patch

Updates the assessment with the specified ID.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment to be updated.

Body

A request object to update an assessment

statusstringOptional

The status of an assessment. Possible values are: DRAFT, SUBMITTED or OBSOLETE.

namestringOptional

The name of the assessment.

Example: Legal Checks
isVisibleToEveryonebooleanOptional

Determines whether the assessment is visible to everyone.

If set to 'false', only the Owner and Assignees will be able to access the assessment.

Example: true
Responses
200

Example of a response for updating an assessment.

application/json
patch/assessments/{id}

List attachments for an assessment

get

Returns a list of attachments for the specified assessment.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment.

Responses
200

Example of a response for listing assessments.

application/json

An object that represents an assessment attachment.

idstring · uuidRequired

ID of the attachment

Example: 85a9c637-e27e-4a7f-80f1-6db07e336d04
fileNamestringOptional

Original file name of the attachment

Example: evidence_document.pdf
createdBystring · uuidOptional

ID of the user who created the attachment

Example: 0e787414-fd78-48a0-bfdd-69411b26c65b
createdOnstring · date-timeOptional

Date and time attachment was created

Example: 2023-07-10T18:43:10.433Z
get/assessments/{id}/attachments

Upload attachment for an assessment

post

Upload a file attachment to an assessment. The attachment id can then be used in answers.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment.

Body
filestring · binaryRequired

The file to upload

Responses
201

Example of a response for creating an attachment for an assessment.

application/json
post/assessments/{id}/attachments

Download attachment file

get

Download the file content of a specific attachment.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment.

attachmentIdstring · uuidRequired

ID of the attachment to download

Responses
200

Attachment file content

application/octet-stream
string · binaryOptional
get/assessments/{id}/attachments/{attachmentId}/file

Retrieve an assessment by assessment review ID

get

Returns information about the assessment with the specified assessment review asset ID.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment review asset.

Responses
200

Example of a response for retrieving an assessment.

application/json

An assessment object.

idstring · uuidRequired

The ID of the assessment.

Example: 7460c00f-3b12-4238-b68d-4ec4ea8bf9f7
namestringRequired

The name of the assessment.

Example: Direct Marketing
statusstringRequired

The status of an assessment. Possible values are: DRAFT, SUBMITTED or OBSOLETE.

isVisibleToEveryonebooleanOptional

Determines whether the assessment is visible to everyone.

If set to 'false', only the Owner and Assignees will be able to access the assessment.

Default: falseExample: true
createdOnstring · date-timeRequired

The date and time of the assessment creation.

Example: 2023-07-10T15:03:10.433Z
lastModifiedOnstring · date-timeRequired

The date and time of the assessment last update.

Example: 2023-07-10T15:03:10.433Z
submittedOnstring · date-timeOptional

The date and time of the assessment submission.

Example: 2023-07-10T15:10:10.433Z
get/assessments/by/assessmentReview/{id}

List assessments

get

Returns a list of assessments that you created; and the assessments that you are permitted to view. The assessments are sorted by lastModifiedOn in descending order, with the most recent first.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Query parameters
namestringOptional

The name of the assessment.

The value is case-insensitive and it returns results that contain this value.

statusstringOptional

The status of the assessment.

Possible values are: DRAFT, SUBMITTED or OBSOLETE. The value is case-insensitive. An invalid value results in an error response.

lastModifiedFromstring · date-timeOptional

The date and time that defines the start of the period when the assessment was last updated, including this timestamp.

Example: 2023-07-10T15:03:10.433Z
lastModifiedTostring · date-timeOptional

The date and time that defines the end of the period when the assessment was last updated, excluding this timestamp.

Example: 2023-07-10T15:03:10.433Z
templateIdstring · uuidOptional

The ID of the template.

templateVersionstringOptional

The version of the template. To be used in conjunction with the templateId parameter to filter assessments by a specific template and its version.

If you specify this parameter, you must also specify the templateId parameter. Use LATEST to retrieve assessments that are on the latest version of a particular templateId. For other values, it returns results that have an exact match.

assetIdstring · uuidOptional

The ID of the asset for which the assessment is conducted.

limitinteger · min: 1 · max: 50Optional

The maximum number of resources to retrieve.

If not set, the default limit of 10 is be used. The maximum value for this parameter is 50.

Default: 10
cursorstringOptional

The cursor pointing to the first resource to be included in the response. This cursor cannot be created and must have been extracted from a response returned by a previous API call.

If this parameter is missing, the API returns the resources starting from the first available resource, at index 0.

Responses
200

Example of a response for listing assessments.

application/json

A page object containing assessments.

nextCursorstringOptional

The cursor pointing to the next page. If the cursor is missing, there are no additional pages of resources available after the current one.

Example: Y3Vyc29yV2hlblRoZXJlSXNNb3JlRGF0YQo
get/assessments

Create an assessment

post

Creates a new assessment based on the specified template.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Body

A request object to start conducting an assessment. It should contain at least a template and a name or an asset. If you provide both a name and an asset, the asset's name stored in Collibra is used as the name of the assessment. When specified, the asset must have the same asset type used in the template. In addition, if the owner is not specified, the authenticated user is by default used as owner of the assessment.

statusstringOptional

The status of an assessment. Possible values are: DRAFT, SUBMITTED or OBSOLETE.

namestringOptional

The name of the assessment.

Example: Legal Checks
isVisibleToEveryonebooleanOptional

Determines whether the assessment is visible to everyone.

If set to 'false', only the Owner and Assignees will be able to access the assessment.

Example: true
contentanyOptional

A list of questions and answers for the assessment. Each question is represented by its ID and the corresponding answer.

Example: [{"id":"legalBasisSpecified","answer":{"type":"BOOLEAN","value":true}}]
Responses
201

Example of a response for creating an assessment.

application/json
post/assessments

Retake an assessment

post

Retakes the assessment with the specified ID.

Authorizations
AuthorizationstringRequired

This API requires Basic HTTP authentication.

Path parameters
idstring · uuidRequired

The ID of the assessment to be retaken.

Body

A request object to retake an assessment

Responses
201

Example of a response for retaking an assessment.

application/json
post/assessments/{id}/retake

Last updated

Was this helpful?