curl --request GET 'https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000' \
--header 'Authorization: Bearer SEU_TOKEN'
const resposta = await fetch(
"https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000",
{ headers: { Authorization: `Bearer ${token}` } },
);
const secao = await resposta.json();
import requests
resposta = requests.get(
"https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000",
headers={"Authorization": f"Bearer {token}"},
)
secao = resposta.json()
{
"id": "6612a7f3dc5b830500000000",
"report": {
"id": "6612a7f3a19b467000000000",
"organizationId": "6612a7f3fa9e086b00000000",
"reportProgress": {
"isFinalized": true,
"finalizedAt": "2026-07-31T13:43:24.194Z"
}
},
"type": {
"id": "6612a7f3ae223a4700000000",
"value": "PROTESTS",
"tabs": [
{ "type": "RESTRICTIVE", "order": 5, "side": null }
]
},
"selectedIntegrations": ["..."],
"createdAt": "2026-07-31T13:42:37.059Z",
"updatedAt": "2026-07-31T13:43:12.180Z",
"sectionDetails": [
{
"values": {
"bureau": {
"injunction": false,
"protestsQuantity": 2,
"protestsTotalValue": "R$ 5.850,33"
}
},
"integrationTypes": ["..."]
}
],
"errors": []
}
Referência da API
Consultar Seção por ID
Retorna os dados de uma seção a partir do id da seção dentro do relatório.
GET
/
report
/
section
/
{id}
curl --request GET 'https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000' \
--header 'Authorization: Bearer SEU_TOKEN'
const resposta = await fetch(
"https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000",
{ headers: { Authorization: `Bearer ${token}` } },
);
const secao = await resposta.json();
import requests
resposta = requests.get(
"https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000",
headers={"Authorization": f"Bearer {token}"},
)
secao = resposta.json()
{
"id": "6612a7f3dc5b830500000000",
"report": {
"id": "6612a7f3a19b467000000000",
"organizationId": "6612a7f3fa9e086b00000000",
"reportProgress": {
"isFinalized": true,
"finalizedAt": "2026-07-31T13:43:24.194Z"
}
},
"type": {
"id": "6612a7f3ae223a4700000000",
"value": "PROTESTS",
"tabs": [
{ "type": "RESTRICTIVE", "order": 5, "side": null }
]
},
"selectedIntegrations": ["..."],
"createdAt": "2026-07-31T13:42:37.059Z",
"updatedAt": "2026-07-31T13:43:12.180Z",
"sectionDetails": [
{
"values": {
"bureau": {
"injunction": false,
"protestsQuantity": 2,
"protestsTotalValue": "R$ 5.850,33"
}
},
"integrationTypes": ["..."]
}
],
"errors": []
}
Quando usar
Use esta rota quando você já guardou oid de uma seção, vindo de sections[] do relatório. Se você só tem o ID do relatório, prefira Consultar Seção por Tipo: é uma chamada em vez de duas, e responde 404 claro quando a seção não existe.
Autenticação
Bearer JWT no headerAuthorization.
Parâmetros
| Nome | Local | Tipo | Obrigatório | Descrição |
|---|---|---|---|---|
id | path | string | sim | ID da seção dentro do relatório (não é o ID do tipo de seção). |
Como obter o id
O
id desta rota é gerado por relatório: a mesma seção PROCESSES tem um id diferente em cada análise. Não existe lista fixa de ids para guardar.sections[] de GET /v2/report/{id}:
{
"id": "6612a7f3a19b467000000000",
"sections": [
{ "id": "6612a7f3a19b467000000101", "type": { "id": "6612a7f3cd81d4f900000000", "value": "SUMMARY" } },
{ "id": "6612a7f3a19b467000000102", "type": { "id": "6612a7f3cd81d4f900000001", "value": "PROCESSES" } }
]
}
| Campo | O que é | Estabilidade |
|---|---|---|
id (da seção) | A seção daquele relatório. É o que vai nesta rota. | Único por relatório |
type.id | O registro do tipo de seção no catálogo | Varia por ambiente, não use como chave |
type.value | O nome do tipo (SUMMARY, PROCESSES) | Estável. É a chave a guardar no seu lado |
type.value está em Consultar Seção por Tipo.
Um
id que não corresponde a nenhuma seção responde 200 sem corpo, e não 404. Trate resposta vazia como “seção não encontrada”.curl --request GET 'https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000' \
--header 'Authorization: Bearer SEU_TOKEN'
const resposta = await fetch(
"https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000",
{ headers: { Authorization: `Bearer ${token}` } },
);
const secao = await resposta.json();
import requests
resposta = requests.get(
"https://gyra-core.gyramais.com.br/report/section/6612a7f3dc5b830500000000",
headers={"Authorization": f"Bearer {token}"},
)
secao = resposta.json()
{
"id": "6612a7f3dc5b830500000000",
"report": {
"id": "6612a7f3a19b467000000000",
"organizationId": "6612a7f3fa9e086b00000000",
"reportProgress": {
"isFinalized": true,
"finalizedAt": "2026-07-31T13:43:24.194Z"
}
},
"type": {
"id": "6612a7f3ae223a4700000000",
"value": "PROTESTS",
"tabs": [
{ "type": "RESTRICTIVE", "order": 5, "side": null }
]
},
"selectedIntegrations": ["..."],
"createdAt": "2026-07-31T13:42:37.059Z",
"updatedAt": "2026-07-31T13:43:12.180Z",
"sectionDetails": [
{
"values": {
"bureau": {
"injunction": false,
"protestsQuantity": 2,
"protestsTotalValue": "R$ 5.850,33"
}
},
"integrationTypes": ["..."]
}
],
"errors": []
}

