> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# STA in Cabine

> The Lerian STA workspace in Lerian Cabine.

The Lerian Cabine workspace for Lerian STA shows as **STA · Transferência de Arquivos**. Operators use it to follow file transmissions with BACEN, to manage credentials and reception sources, and to export the audit trail.

## Transmissions

***

The **Transmissões** screen lists the transmissions. It reads [`GET /v1/transfers`](https://docs.lerian.studio/en/reference/rails/sta/get-transfers). The views are **Todos**, **Enviados**, **Recebidos** and **Exceções**. You can search by id, protocol or file, and filter by state and product.

The **Detalhe da transmissão** screen reads [`GET /v1/transfers/{id}`](https://docs.lerian.studio/en/reference/rails/sta/get-transfers-id). It offers three actions:

* **Retransmitir** calls [`POST /v1/transfers/{id}/retry`](https://docs.lerian.studio/en/reference/rails/sta/post-transfers-id-retry).
* **Priorizar** calls [`POST /v1/inbound/transfers/{id}/mark-urgent`](https://docs.lerian.studio/en/reference/rails/sta/post-inbound-transfers-id-mark-urgent).
* **Cancelar transmissão** calls [`POST /v1/transfers/{id}/cancel`](https://docs.lerian.studio/en/reference/rails/sta/post-transfers-id-cancel).

## Reception sources

***

The **Fontes de recepção** screen lists the sources that Lerian STA polls for inbound files. It reads [`GET /v1/inbound-source-configs`](https://docs.lerian.studio/en/reference/rails/sta/get-inbound-source-configs). Each row shows the source, product, BACEN system, interval, urgency and state.

* **Nova fonte** calls [`POST /v1/inbound-source-configs`](https://docs.lerian.studio/en/reference/rails/sta/post-inbound-source-configs).
* **Disparar agora** starts one poll of a source. It calls [`POST /v1/inbound-source-configs/{id}/trigger-poll`](https://docs.lerian.studio/en/reference/rails/sta/post-inbound-source-configs-id-trigger-poll).
* **Editar** calls [`PATCH /v1/inbound-source-configs/{id}`](https://docs.lerian.studio/en/reference/rails/sta/patch-inbound-source-configs-id).
* **Remover** calls [`DELETE /v1/inbound-source-configs/{id}`](https://docs.lerian.studio/en/reference/rails/sta/delete-inbound-source-configs-id).

## Credentials

***

The **Credenciais** screen lists the BACEN credentials. It reads [`GET /v1/credentials`](https://docs.lerian.studio/en/reference/rails/sta/get-credentials). Each row shows the institution, operator, expiry, last test and state.

* **Nova credencial** calls [`POST /v1/credentials`](https://docs.lerian.studio/en/reference/rails/sta/post-credentials).
* **Testar** checks the connectivity of a credential with BACEN. It calls [`POST /v1/credentials/{id}/test`](https://docs.lerian.studio/en/reference/rails/sta/post-credentials-id-test).
* **Rotacionar senha** calls [`POST /v1/credentials/{id}/rotate`](https://docs.lerian.studio/en/reference/rails/sta/post-credentials-id-rotate).
* **Editar** calls [`PATCH /v1/credentials/{id}`](https://docs.lerian.studio/en/reference/rails/sta/patch-credentials-id).
* **Remover** calls [`DELETE /v1/credentials/{id}`](https://docs.lerian.studio/en/reference/rails/sta/delete-credentials-id).

## Audit and export

***

The **Auditoria & exportação** screen has three views:

* **Transmissões** lists the state transitions of the transmissions, from [`GET /v1/audit/transfer-history`](https://docs.lerian.studio/en/reference/rails/sta/get-audit-transfer-history).
* **Credenciais** lists the access to credentials, from [`GET /v1/audit/credential-access-logs`](https://docs.lerian.studio/en/reference/rails/sta/get-audit-credential-access-logs).
* **Exportações** lists the exports, from [`GET /v1/audit/exports`](https://docs.lerian.studio/en/reference/rails/sta/get-audit-exports). **Nova exportação** calls [`POST /v1/audit/exports`](https://docs.lerian.studio/en/reference/rails/sta/post-audit-exports). The screen follows the export with [`GET /v1/audit/exports/{id}`](https://docs.lerian.studio/en/reference/rails/sta/get-audit-exports-id), and **Baixar** calls [`GET /v1/audit/exports/{id}/download`](https://docs.lerian.studio/en/reference/rails/sta/get-audit-exports-id-download).

## Related

***

* [Operating Lerian STA](https://docs.lerian.studio/en/rails/sta/sta-operations.md)
* [Access and roles in Lerian Cabine](https://docs.lerian.studio/en/rails/cabine/cabine-access-and-roles.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.