Skip to content

Output of keys list doesn't match docs #25

@lukeocodes

Description

@lukeocodes

What is the current behavior?

https://developers.deepgram.com/sdks-tools/sdks/node-sdk/keys/#list-project-keys-example-request

These docs suggest this output when I list API keys for a project

{
  api_keys: [
    {
      api_key_id: string,
      comment: string,
      created: string,
      scopes: Array<string>
    },
  ];
}

but i get this output

{ 
  api_keys: [
    {
      member: {
        member_id: '...',
        email: '...
      },
      api_key: {
        api_key_id: '...',
        comment: '...',
        scopes: [...],
        created: '...'
      }
    },
    ...
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions