Skip to content

Decision Logs

Endpoints for retrieving and managing logs of past decisions.

Return Decision History

Request

Returns a log of all previously ran decisions that the user has permission to access, optionally filtered.

Security
bearerToken
Query
provenirIdstring

Filter the returned usage log by the GUID for the associated decision trees, obtained from /GUID.

Example:provenirId=repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9
companyIdstring

Filter the returned usage log by the Connect ID for the associated companies for each decision.

Example:companyId=US001-X-US60521352
companyNamestring

Filter the returned usage log by the Company Name for the associated companies for each decision.

Example:companyName=CREDITSAFE
statusnumber

Filter the returned usage log by the status for each decision.

Example:status=1
fromDatestring, (date-time)

Filter the returned usage log by the date the the decision was run.

toDatestring, (date-time)

Filter the returned usage log by the date the the decision was run.

pageinteger

Starting page number.

Default:1
pageSizeinteger

Specifies the number of items to be displayed per page. Allowed values are between 1 and 100.

curl -i -X GET \
  'https://connect.sandbox.creditsafe.com/v1/decisionEngine/usageLog?provenirId=repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9&companyId=US001-X-US60521352&companyName=CREDITSAFE&status=1&fromDate=2019-08-24T14%3A15%3A22Z&toDate=2019-08-24T14%3A15%3A22Z&page=1&pageSize=0' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Bodyapplication/json
totalCountnumber

The total number of previous decisions matching the defined filter criteria.

Example:3108
usageLogArray of objects
Response
{ "totalCount": 3108, "usageLog": [ {} ] }