provider Users GET /organization/users
@utdk/openai /organization/users
Lists all of the users in the organization.
limit query
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
integer
after query
A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
string
emails query
Filter by the email address of users.
array

Try it

Authentication
Configure credentials for OpenAI API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listUsers
GET/organization/users

A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.

A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.

Filter by the email address of users.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import openai from '@utdk/openai';

await openai.listUsers({
  "limit": 20
})