Skip to content

Tokens

API models for the tokens endpoint.

GetTokenResponse

A model response from ravyapi.api.endpoints.tokens.Tokens.get_token.

Attributes:

Name Type Description
data dict[str, Any]

The raw data returned from the Ravy API.

user str

The user ID associated with the token.

access list[str]

A list of valid permission nodes for the token.

application int

The application ID registered to the token.

token_type Literal['ravy', 'ksoft']

The type of the token, either "ravy" or "ksoft."

access property

access: list[str]

A list of valid permission nodes for the token.

application property

application: int

The application ID registered to the token.

data property

data: dict[str, Any]

The raw data returned from the Ravy API.

token_type property

token_type: Literal['ravy', 'ksoft']

The type of the token, either "ravy" or "ksoft."

user property

user: int

The user ID associated with the token.