Dossiê
Consultar Dossiê
Retorna o estado atual, tentativa, cobertura, resultado e artefatos do Dossiê. Inclui mode e risk_classification após avaliar a matriz enviada. Sem matriz, risk_classification é omitida.
GET
/
dossies
/
{dossie_id}
Consultar Dossiê
curl --request GET \
--url https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "22222222-2222-4222-8222-222222222222",
"object": "dossie",
"status": "completed",
"subject_type": null,
"mode": "provided_data",
"kind": "basic",
"contract_version": "v1",
"billing_policy_version": "v1-public",
"current_attempt": {
"id": "33333333-3333-4333-8333-333333333333",
"number": 1,
"status": "completed",
"queued_at": "2026-10-06T21:00:00Z",
"completed_at": "2026-10-06T21:01:00Z",
"billing": {
"id": "44444444-4444-4444-8444-444444444444",
"status": "charged",
"amount": 35,
"unit": "tokens",
"price_version": "dossie-basic-2026-08",
"billing_policy_version": "v1-public"
}
},
"coverage": {
"status": "complete",
"completed": 1,
"eligible": 1,
"phases": [
{
"phase": "processos",
"status": "completed"
}
]
},
"risk_classification": {
"matrix_id": "compliance-fornecedor",
"matrix_version": "1",
"status": "classified",
"level": "high",
"score": 70,
"matched_rules": [
{
"id": "processo-criminal",
"score": 70,
"description": "Processo criminal informado"
}
],
"missing_fields": []
},
"result": {
"risk_classification": {
"matrix_id": "compliance-fornecedor",
"matrix_version": "1",
"status": "classified",
"level": "high",
"score": 70,
"matched_rules": [
{
"id": "processo-criminal",
"score": 70,
"description": "Processo criminal informado"
}
],
"missing_fields": []
}
},
"artifacts": [
{
"id": "55555555-5555-4555-8555-555555555555",
"type": "dossie_pdf",
"media_type": "application/pdf",
"status": "available",
"download_url": "https://downloads.example.com/dossie.pdf",
"expires_at": "2026-10-06T21:15:00Z"
}
],
"stale": false,
"created_at": "2026-10-06T21:00:00Z",
"updated_at": "2026-10-06T21:01:00Z"
}{
"status": 123,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"retryable": true
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Dossiê encontrado
Available options:
dossie Available options:
queued, running, completed, needs_review, failed, cancelled null para provided_data sem documento.
Available options:
cpf, cnpj, null Available options:
basic, advanced Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
standard, modular, provided_data Resultado determinístico disponível após avaliar a matriz, também incluído no relatório e em result.risk_classification. Dados obrigatórios ausentes ou coleta parcial retornam insufficient_data, com score e level null.
Show child attributes
Show child attributes
⌘I
Consultar Dossiê
curl --request GET \
--url https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://221b-api.sherlocker.com.br/api/v1/dossies/{dossie_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "22222222-2222-4222-8222-222222222222",
"object": "dossie",
"status": "completed",
"subject_type": null,
"mode": "provided_data",
"kind": "basic",
"contract_version": "v1",
"billing_policy_version": "v1-public",
"current_attempt": {
"id": "33333333-3333-4333-8333-333333333333",
"number": 1,
"status": "completed",
"queued_at": "2026-10-06T21:00:00Z",
"completed_at": "2026-10-06T21:01:00Z",
"billing": {
"id": "44444444-4444-4444-8444-444444444444",
"status": "charged",
"amount": 35,
"unit": "tokens",
"price_version": "dossie-basic-2026-08",
"billing_policy_version": "v1-public"
}
},
"coverage": {
"status": "complete",
"completed": 1,
"eligible": 1,
"phases": [
{
"phase": "processos",
"status": "completed"
}
]
},
"risk_classification": {
"matrix_id": "compliance-fornecedor",
"matrix_version": "1",
"status": "classified",
"level": "high",
"score": 70,
"matched_rules": [
{
"id": "processo-criminal",
"score": 70,
"description": "Processo criminal informado"
}
],
"missing_fields": []
},
"result": {
"risk_classification": {
"matrix_id": "compliance-fornecedor",
"matrix_version": "1",
"status": "classified",
"level": "high",
"score": 70,
"matched_rules": [
{
"id": "processo-criminal",
"score": 70,
"description": "Processo criminal informado"
}
],
"missing_fields": []
}
},
"artifacts": [
{
"id": "55555555-5555-4555-8555-555555555555",
"type": "dossie_pdf",
"media_type": "application/pdf",
"status": "available",
"download_url": "https://downloads.example.com/dossie.pdf",
"expires_at": "2026-10-06T21:15:00Z"
}
],
"stale": false,
"created_at": "2026-10-06T21:00:00Z",
"updated_at": "2026-10-06T21:01:00Z"
}{
"status": 123,
"code": "<string>",
"detail": "<string>",
"request_id": "<string>",
"retryable": true
}