ModelsResource
Namespace: TypeSafe.AI.Sdk
public sealed class ModelsResourceAccess to the Models API resource.
Inheritance: object
Methods
Section titled “Methods”ListAsync(RequestOptions?, CancellationToken)
Section titled “ListAsync(RequestOptions?, CancellationToken)”public Task<IReadOnlyList<ModelCard>> ListAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)List the models available to the account.
Parameters
| Name | Type | Description |
|---|---|---|
options |
RequestOptions | |
cancellationToken |
CancellationToken |
Returns: Task<IReadOnlyList<ModelCard>>
ListWithResponseAsync(RequestOptions?, CancellationToken)
Section titled “ListWithResponseAsync(RequestOptions?, CancellationToken)”public Task<TypeSafeResponse<IReadOnlyList<ModelCard>>> ListWithResponseAsync(RequestOptions? options = null, CancellationToken cancellationToken = default)List models and return the HTTP response metadata.
Parameters
| Name | Type | Description |
|---|---|---|
options |
RequestOptions | |
cancellationToken |
CancellationToken |
MIT · Copyright (c) Dario Kondratiuk. · not affiliated with TypeSafe beyond being a client of the public API