Classes
OrganizationDataApi
Parameters | |
---|---|
api_client=None | |
METHODS
add_organization_bucket
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
add_organization_bucket_request | edgeimpulse_api.models.add_organization_bucket_request.AddOrganizationBucketRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.entity_created_response.EntityCreatedResponse |
add_organization_data_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
files | List[Annotated[bytes, Strict(strict=True)]] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
add_organization_data_folder
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
organization_add_data_folder_request | edgeimpulse_api.models.organization_add_data_folder_request.OrganizationAddDataFolderRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
add_organization_data_item
addOrganizationDataFile
to add additional files.
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
name | Annotated[str, Strict(strict=True)] |
dataset | Annotated[str, Strict(strict=True)] |
metadata | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Key-value pair of metadata (in JSON format)')] |
files | List[Annotated[bytes, Strict(strict=True)]] |
bucket_id | Annotated[int, Strict(strict=True)] | None = None |
bucket_name | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Name of the bucket name (as an Edge Impulse name)')] = None |
bucket_path | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Optional path in the bucket to create this data item (files are created under this path).')] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.entity_created_response.EntityCreatedResponse |
add_organization_dataset
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
organization_add_dataset_request | edgeimpulse_api.models.organization_add_dataset_request.OrganizationAddDatasetRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
change_dataset_organization_data_items
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_ids | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data IDs as an Array')] |
set_organization_data_dataset_request | edgeimpulse_api.models.set_organization_data_dataset_request.SetOrganizationDataDatasetRequest |
dataset | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Selected dataset')] = None |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
clear_checklist_organization_data_items
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_ids | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data IDs as an Array')] |
dataset | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Selected dataset')] = None |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
create_signed_upload_link_dataset
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
create_signed_upload_link_request | edgeimpulse_api.models.create_signed_upload_link_request.CreateSignedUploadLinkRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.create_signed_upload_link_response.CreateSignedUploadLinkResponse |
delete_dataset_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
delete_portal_file_request | edgeimpulse_api.models.delete_portal_file_request.DeletePortalFileRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
delete_organization_data_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
file_name | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='File name')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
delete_organization_data_item
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
delete_organization_data_items
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_ids | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data IDs as an Array')] |
dataset | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Selected dataset')] = None |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
download_dataset_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
download_portal_file_request | edgeimpulse_api.models.download_portal_file_request.DownloadPortalFileRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.download_portal_file_response.DownloadPortalFileResponse |
download_dataset_folder
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
path | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Path, relative to dataset')] |
**kwargs | |
Returns |
---|
str |
download_organization_data_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
file_name | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='File name')] |
**kwargs | |
Returns |
---|
str |
download_organization_data_item
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_ids | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data IDs as an Array')] |
dataset | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Selected dataset')] = None |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
**kwargs | |
Returns |
---|
str |
download_organization_single_data_item
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
**kwargs | |
Returns |
---|
str |
get_organization_bucket
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
bucket_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Bucket ID')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.get_organization_bucket_response.GetOrganizationBucketResponse |
get_organization_data_item
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.get_organization_data_item_response.GetOrganizationDataItemResponse |
get_organization_data_item_transform_jobs
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
limit | Annotated[Annotated[int, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Maximum number of results')] = None |
offset | Annotated[Annotated[int, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.')] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.get_organization_data_item_transform_jobs_response.GetOrganizationDataItemTransformJobsResponse |
get_organization_dataset
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.get_organization_dataset_response.GetOrganizationDatasetResponse |
hide_organization_dataset
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
list_dataset_files_in_folder
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
list_portal_files_in_folder_request | edgeimpulse_api.models.list_portal_files_in_folder_request.ListPortalFilesInFolderRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.list_portal_files_in_folder_response.ListPortalFilesInFolderResponse |
list_organization_buckets
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.list_organization_buckets_response.ListOrganizationBucketsResponse |
list_organization_data
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Selected dataset')] = None |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
limit | Annotated[Annotated[int, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Maximum number of results')] = None |
offset | Annotated[Annotated[int, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.')] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.list_organization_data_response.ListOrganizationDataResponse |
list_organization_files
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Selected dataset')] = None |
filter | Annotated[Annotated[str, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description="Data filter in SQL WHERE format, where you can reference 'dataset', 'bucket', 'name', 'total_file_count', 'total_file_size', 'created' and any metadata label through 'metadata->' (dots are replaced by underscore).")] = None |
limit | Annotated[Annotated[int, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Maximum number of results')] = None |
offset | Annotated[Annotated[int, Strict(strict=True)] | None, FieldInfo(annotation=NoneType, required=True, description='Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.')] = None |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.list_organization_files_response.ListOrganizationFilesResponse |
organization_bulk_update_metadata
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True)] |
csv_file | Annotated[str, Strict(strict=True)] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
preview_default_files_in_folder
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
preview_default_files_in_folder_request | edgeimpulse_api.models.preview_default_files_in_folder_request.PreviewDefaultFilesInFolderRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.preview_default_files_in_folder_response.PreviewDefaultFilesInFolderResponse |
preview_organization_data_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
file_name | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='File name')] |
**kwargs | |
Returns |
---|
str |
refresh_organization_data
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Selected dataset')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
remove_organization_bucket
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
bucket_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Bucket ID')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
rename_dataset_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
rename_portal_file_request | edgeimpulse_api.models.rename_portal_file_request.RenamePortalFileRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
update_organization_bucket
{organizationId}
/buckets/verify endpoint. The verification process: 1. Call the verify endpoint with the new bucket details. 2. Poll the verify endpoint until it responds with connectionStatus: connected
. 3. If the endpoint responds with connectionStatus: error
, the verification has failed. Only proceed with updating the bucket details after receiving a connected
status. The polling interval and timeout should be determined based on your application’s requirements.
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
bucket_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Bucket ID')] |
update_organization_bucket_request | edgeimpulse_api.models.update_organization_bucket_request.UpdateOrganizationBucketRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
update_organization_data_item
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
data_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Data ID')] |
update_organization_data_item_request | edgeimpulse_api.models.update_organization_data_item_request.UpdateOrganizationDataItemRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
update_organization_dataset
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
update_organization_dataset_request | edgeimpulse_api.models.update_organization_dataset_request.UpdateOrganizationDatasetRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |
verify_dataset
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.verify_organization_bucket_response.VerifyOrganizationBucketResponse |
verify_existing_organization_bucket
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
bucket_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Bucket ID')] |
verify_organization_existing_bucket_request | edgeimpulse_api.models.verify_organization_existing_bucket_request.VerifyOrganizationExistingBucketRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.verify_organization_bucket_response.VerifyOrganizationBucketResponse |
verify_organization_bucket
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
verify_organization_bucket_request | edgeimpulse_api.models.verify_organization_bucket_request.VerifyOrganizationBucketRequest |
**kwargs | |
Returns |
---|
edgeimpulse_api.models.verify_organization_bucket_response.VerifyOrganizationBucketResponse |
view_dataset_file
Parameters | |
---|---|
self | |
organization_id | Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Organization ID')] |
dataset | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Dataset name')] |
path | Annotated[str, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, description='Path to file in portal')] |
**kwargs | |
Returns |
---|
str |