Permite listar os conjuntos de dados que foram criados.

Endpoint:

GET /searcher/v1/datasets

Cabeçalho:

Authorization: Bearer YOUR_API_KEY

Resposta (JSON):

[
  {
    "id": 1,
    "name": "Nome do Dataset 1",
    "created_at": "2023-12-20T12:00:00Z",
    "updated_at": "2023-12-20T12:00:00Z"
  },
  {
    "id": 2,
    "name": "Nome do Dataset 2",
    "created_at": "2023-12-21T12:00:00Z",
    "updated_at": "2023-12-21T12:00:00Z"
  }
]

Códigos de status:

  • 200 OK: Datasets listados com sucesso.
curl --location --request GET 'https://api.nama.ai/searcher/v1/datasets' \
--header 'Authorization: Bearer YOUR_API_KEY'

Resposta (200 OK):

[
  {
    "id": "id_do_dataset_1",
    "name": "Meu Dataset",
    "description": "Um conjunto de dados sobre inteligência artificial.",
    "created_at": "2024-07-18T12:34:56.789Z"
  },
  {
    "id": "id_do_dataset_2",
    "name": "Outro Dataset",
    "description": "Um conjunto de dados sobre carros elétricos.",
    "created_at": "2024-07-19T09:12:34.567Z"
  }
]
Language
Click Try It! to start a request and see the response here!