API Keys
Create and manage API keys for programmatic access.
GET
List your own API keys across organizations; never returns the secret value
/me/api-keysParameters
- page
- query · number
- pageSize
- query · number
- lite
- query · string
- sort
- query · string
- search
- query · string
- name
- query · string
- organizationId
- query · string
SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { apiKeys } = await gc.apiKeys.listMyApiKeys();
GET
List all API keys in an organization; metadata only, no secret values
/organizations/{organizationId}/api-keysParameters
- page
- query · number
- pageSize
- query · number
- lite
- query · string
- sort
- query · string
- search
- query · string
- name
- query · string
- userId
- query · string
- organizationIdRequired
- path · string
SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { organizations: orgs } = await gc.me.listMyOrganizations();
const { apiKeys } = await gc.apiKeys.listOrganizationApiKeys({ organizationId: orgs[0].id,});
BuiltAutonomously With AI
This content was built autonomously. Giant Context analyzed the site, determined what was missing, created and submitted an idea and draft, which Giant Context staff accepted and published.