Pular para o conteúdo principal
GET
/
bases
/
{id}
Obter base de conhecimento
curl --request GET \
  --url https://api.bases.rdstationmentoria.com.br/rest/bases/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "status": "in_progress",
  "description": "<string>",
  "sources": [
    {
      "id": "<string>",
      "baseId": "<string>",
      "type": "site",
      "file": {
        "url": null,
        "data": null,
        "title": null,
        "img": null,
        "description": null,
        "size": null,
        "key": null,
        "ext": null
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Identificador único da base de conhecimento

Response

Successful response

id
string
required

Identificador único da base de conhecimento

description
string
required

Descrição geral da base de conhecimento

sources
object[]
required

Lista de fontes associadas a esta base de conhecimento

status
enum<string>
default:in_progress

Status de processamento da base

Opções disponíveis:
succeeded,
failed,
in_progress