APIKeysApi class

Constructors

APIKeysApi([ApiClient? apiClient])

Properties

apiClient ApiClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

companiesCompanyIdApiKeysApiKeyIdDelete(String companyId, String apiKeyId) Future<CompaniesCompanyIdApiKeysApiKeyIdDelete200Response?>
Delete (deactivate) single API key by api_key_id. Uses the api_key_id returned during creation for clean identification. Fixed to use correct primary key lookup.
companiesCompanyIdApiKeysApiKeyIdDeleteWithHttpInfo(String companyId, String apiKeyId) Future<Response>
Delete (deactivate) single API key by api_key_id. Uses the api_key_id returned during creation for clean identification. Fixed to use correct primary key lookup.
companiesCompanyIdApiKeysApiKeyIdGet(String companyId, String apiKeyId) Future<CompaniesCompanyIdApiKeysApiKeyIdGet200Response?>
Get single API key by ID. Returns masked API key for security (sk_****1234).
companiesCompanyIdApiKeysApiKeyIdGetWithHttpInfo(String companyId, String apiKeyId) Future<Response>
Get single API key by ID. Returns masked API key for security (sk_****1234).
companiesCompanyIdApiKeysApiKeyIdPatch(String companyId, String apiKeyId, ApiKeysUpdate apiKeysUpdate) Future<CompaniesCompanyIdApiKeysApiKeyIdPatch200Response?>
Update an existing API key by ID. Can update metadata like name, expiration, rate limits, etc. Cannot update the actual key value (for security).
companiesCompanyIdApiKeysApiKeyIdPatchWithHttpInfo(String companyId, String apiKeyId, ApiKeysUpdate apiKeysUpdate) Future<Response>
Update an existing API key by ID. Can update metadata like name, expiration, rate limits, etc. Cannot update the actual key value (for security).
companiesCompanyIdApiKeysApiKeyIdRevokePost(String companyId, String apiKeyId, ApiKeysInput apiKeysInput) Future<CompaniesCompanyIdApiKeysPost200Response?>
Explicitly revoke an API key with reason tracking. This is different from delete as it includes revocation metadata.
companiesCompanyIdApiKeysApiKeyIdRevokePostWithHttpInfo(String companyId, String apiKeyId, ApiKeysInput apiKeysInput) Future<Response>
Explicitly revoke an API key with reason tracking. This is different from delete as it includes revocation metadata.
companiesCompanyIdApiKeysApiKeyIdStatsGet(String companyId, String apiKeyId) Future<CompaniesCompanyIdApiKeysGet200Response?>
Get usage statistics for a specific API key. Returns usage count, last used date, failed attempts, etc.
companiesCompanyIdApiKeysApiKeyIdStatsGetWithHttpInfo(String companyId, String apiKeyId) Future<Response>
Get usage statistics for a specific API key. Returns usage count, last used date, failed attempts, etc.
companiesCompanyIdApiKeysGet(String companyId) Future<CompaniesCompanyIdApiKeysGet200Response?>
Get all API keys for a company. Returns masked API keys for security (sk_****1234).
companiesCompanyIdApiKeysGetWithHttpInfo(String companyId) Future<Response>
Get all API keys for a company. Returns masked API keys for security (sk_****1234).
companiesCompanyIdApiKeysPost(String companyId, ApiKeysInput apiKeysInput) Future<CompaniesCompanyIdApiKeysPost200Response?>
Create single API key. Returns the actual sk_ key (only time it's exposed) and api_key_id for future operations.
companiesCompanyIdApiKeysPostWithHttpInfo(String companyId, ApiKeysInput apiKeysInput) Future<Response>
Create single API key. Returns the actual sk_ key (only time it's exposed) and api_key_id for future operations.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited