Foundation Models Dataset Service API, gRPC: DatasetService.ListUploadSchemas
Written by
Updated at December 17, 2024
Lists supported dataset upload formats types and schemas for the specified dataset task type.
gRPC request
rpc ListUploadSchemas (ListUploadSchemasRequest) returns (ListUploadSchemasResponse)
ListUploadSchemasRequest
{
"task_type": "string"
}
Field |
Description |
task_type |
string Required field. Dataset task type to list schemas. |
ListUploadSchemasResponse
{
"schemas": [
{
"task_type": "string",
"upload_format": "string",
"schema": "string"
}
]
}
Field |
Description |
schemas[] |
List of dataset schemas for the specified dataset task type. |
DatasetUploadSchema
Field |
Description |
task_type |
string |
upload_format |
string |
schema |
string |