Skip to main content

ApiKey

Api keys are used to connect to the API (Kili's Python SDK).

type ApiKey {
_: Boolean
id: ID!
name: String!
key: String!
createdAt: DateTime!
expiryDate: DateTime!
revoked: Boolean!
user: User
userId: ID!
}

Fields

ApiKey._ ● Boolean scalar

ApiKey.id ● ID! non-null scalar

ID of the api key.

ApiKey.name ● String! non-null scalar

Name of the api key.

ApiKey.key ● String! non-null scalar

Api key

ApiKey.createdAt ● DateTime! non-null scalar

Date at which the api key was created

ApiKey.expiryDate ● DateTime! non-null scalar

Date at which the api key will expire

ApiKey.revoked ● Boolean! non-null scalar

If true, the api key cannot be used

ApiKey.user ● User object

User who owns the api key

ApiKey.userId ● ID! non-null scalar

ID of the user who owns the api key

Member Of

User object