Skip to content
Start here

Datasets

List datasets (deprecated)
client.AIGateway.Datasets.List(ctx, gatewayID, params) (*V4PagePaginationArray[DatasetListResponse], error)
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets
Get a dataset (deprecated)
client.AIGateway.Datasets.Get(ctx, gatewayID, id, query) (*DatasetGetResponse, error)
GET/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}
Create a dataset (deprecated)
client.AIGateway.Datasets.New(ctx, gatewayID, params) (*DatasetNewResponse, error)
POST/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets
Update a dataset (deprecated)
client.AIGateway.Datasets.Update(ctx, gatewayID, id, params) (*DatasetUpdateResponse, error)
PUT/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}
Delete a dataset (deprecated)
client.AIGateway.Datasets.Delete(ctx, gatewayID, id, body) (*DatasetDeleteResponse, error)
DELETE/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}