Skip to content
docs/API reference/ApiKeyService

ApiKeyService

The ApiKeyService methods and their request and response messages.

Generated from api_key.proto. Every method is POST /rpc/engram.app.v1.ApiKeyService/<Method> with a JSON or protobuf body and an x-api-key header.

Method Request Response
CreateApiKey CreateApiKeyRequest CreateApiKeyResponse
ListApiKeys ListApiKeysRequest ListApiKeysResponse
RevokeApiKey RevokeApiKeyRequest RevokeApiKeyResponse
CreateCliKey CreateCliKeyRequest CreateCliKeyResponse
RevokeCliKey RevokeCliKeyRequest RevokeCliKeyResponse
WhoAmI WhoAmIRequest WhoAmIResponse
Field Type
id string
name string
role string
start string
created_at string
expires_at string
last_used_at string
owner_email string
Field Type
name string
role string
expires_at string
Field Type
meta ApiKeyMeta
key string
Field Type
name string
Field Type
meta ApiKeyMeta
key string

No fields.

Field Type
keys repeated ApiKeyMeta
Field Type
id string
Field Type
revoked bool
Field Type
id string
Field Type
revoked bool

No fields.

Field Type
user_id string
email string
name string
role string
service_account bool