GET
/
collections
/
get
/
{name}
import Hyperspell from 'hyperspell';

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

async function main() {
  const collection = await client.collections.get('name');

  console.log(collection.created_at);
}

main();
{
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "owner": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

name
string
required

Response

200
application/json
Successful Response
name
string
required
created_at
string
required
owner
string | null
required