Skip to main content
GET
/
v1beta
/
namespaces
JavaScript
import Jetti from 'jetti';

const client = new Jetti({
  apiKey: process.env['JETTI_API_KEY'], // This is the default and can be omitted
});

const namespaces = await client.beta.namespaces.list();

console.log(namespaces.results);
{
  "results": [
    {
      "id": "sec-filings",
      "created_at": "2024-01-15T10:30:00Z",
      "updated_at": "2024-01-15T10:30:00Z"
    },
    {
      "id": "fda-regulatory-docs",
      "created_at": "2024-02-20T14:45:00Z",
      "updated_at": "2024-03-01T09:00:00Z"
    }
  ]
}

Response

200 - application/json

List of namespaces.

Response containing a list of namespaces.

results
NamespaceResponse · object[]
required

List of namespaces.