Classes
DeploymentApi
edgeimpulse_api.api.deployment_api.DeploymentApi(
api_client=None
)
| Parameters | |
|---|---|
api_client=None | |
METHODS
download_build
edgeimpulse_api.api.deployment_api.DeploymentApi.download_build(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
type: Annotated[pydantic.v1.types.StrictStr, FieldInfo(default=Ellipsis, description='The name of the built target. You can find this by listing all deployment targets through `listDeploymentTargetsForProject` (via `GET /v1/api/{projectId}/deployment/targets`) and see the `format` type.', extra={})],
model_type: Annotated[edgeimpulse_api.models.keras_model_type_enum.KerasModelTypeEnum | None, FieldInfo(default=PydanticUndefined, description='Optional model type of the build (if not, it uses the settings in the Keras block)', extra={})] = None,
engine: Annotated[edgeimpulse_api.models.deployment_target_engine.DeploymentTargetEngine | None, FieldInfo(default=PydanticUndefined, description='Optional engine for the build (if not, it uses the default engine for the deployment target)', extra={})] = None,
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> str
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
type | Annotated[pydantic.v1.types.StrictStr, FieldInfo(default=Ellipsis, description='The name of the built target. You can find this by listing all deployment targets through listDeploymentTargetsForProject (via GET /v1/api/{projectId}/deployment/targets) and see the format type.', extra={})] |
model_type | Annotated[edgeimpulse_api.models.keras_model_type_enum.KerasModelTypeEnum | None, FieldInfo(default=PydanticUndefined, description='Optional model type of the build (if not, it uses the settings in the Keras block)', extra={})] = None |
engine | Annotated[edgeimpulse_api.models.deployment_target_engine.DeploymentTargetEngine | None, FieldInfo(default=PydanticUndefined, description='Optional engine for the build (if not, it uses the default engine for the deployment target)', extra={})] = None |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
str |
download_historic_deployment
edgeimpulse_api.api.deployment_api.DeploymentApi.download_historic_deployment(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
deployment_version: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Deployment version ID', extra={})],
**kwargs
) ‑> str
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
deployment_version | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Deployment version ID', extra={})] |
**kwargs | |
| Returns |
|---|
str |
find_syntiant_posterior
edgeimpulse_api.api.deployment_api.DeploymentApi.find_syntiant_posterior(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
target_words: List[pydantic.v1.types.StrictStr],
reference_set: pydantic.v1.types.StrictStr,
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
wav_file: pydantic.v1.types.StrictStr | None = None,
meta_csv_file: pydantic.v1.types.StrictStr | None = None,
deployment_target: pydantic.v1.types.StrictStr | None = None,
**kwargs
) ‑> edgeimpulse_api.models.start_job_response.StartJobResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
target_words | List[pydantic.v1.types.StrictStr] |
reference_set | pydantic.v1.types.StrictStr |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
wav_file | pydantic.v1.types.StrictStr | None = None |
meta_csv_file | pydantic.v1.types.StrictStr | None = None |
deployment_target | pydantic.v1.types.StrictStr | None = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.start_job_response.StartJobResponse |
get_deployment
edgeimpulse_api.api.deployment_api.DeploymentApi.get_deployment(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
type: Annotated[pydantic.v1.types.StrictStr, FieldInfo(default=Ellipsis, description='The name of the built target. You can find this by listing all deployment targets through `listDeploymentTargetsForProject` (via `GET /v1/api/{projectId}/deployment/targets`) and see the `format` type.', extra={})],
model_type: Annotated[edgeimpulse_api.models.keras_model_type_enum.KerasModelTypeEnum | None, FieldInfo(default=PydanticUndefined, description='Optional model type of the build (if not, it uses the settings in the Keras block)', extra={})] = None,
engine: Annotated[edgeimpulse_api.models.deployment_target_engine.DeploymentTargetEngine | None, FieldInfo(default=PydanticUndefined, description='Optional engine for the build (if not, it uses the default engine for the deployment target)', extra={})] = None,
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.get_deployment_response.GetDeploymentResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
type | Annotated[pydantic.v1.types.StrictStr, FieldInfo(default=Ellipsis, description='The name of the built target. You can find this by listing all deployment targets through listDeploymentTargetsForProject (via GET /v1/api/{projectId}/deployment/targets) and see the format type.', extra={})] |
model_type | Annotated[edgeimpulse_api.models.keras_model_type_enum.KerasModelTypeEnum | None, FieldInfo(default=PydanticUndefined, description='Optional model type of the build (if not, it uses the settings in the Keras block)', extra={})] = None |
engine | Annotated[edgeimpulse_api.models.deployment_target_engine.DeploymentTargetEngine | None, FieldInfo(default=PydanticUndefined, description='Optional engine for the build (if not, it uses the default engine for the deployment target)', extra={})] = None |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.get_deployment_response.GetDeploymentResponse |
get_evaluate_job_result
edgeimpulse_api.api.deployment_api.DeploymentApi.get_evaluate_job_result(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.evaluate_job_response.EvaluateJobResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.evaluate_job_response.EvaluateJobResponse |
get_evaluate_job_result_cache
edgeimpulse_api.api.deployment_api.DeploymentApi.get_evaluate_job_result_cache(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.evaluate_job_response.EvaluateJobResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.evaluate_job_response.EvaluateJobResponse |
get_historic_deployment
edgeimpulse_api.api.deployment_api.DeploymentApi.get_historic_deployment(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
deployment_version: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Deployment version ID', extra={})],
**kwargs
) ‑> edgeimpulse_api.models.get_deployment_history_response.GetDeploymentHistoryResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
deployment_version | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Deployment version ID', extra={})] |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.get_deployment_history_response.GetDeploymentHistoryResponse |
get_last_deployment_build
edgeimpulse_api.api.deployment_api.DeploymentApi.get_last_deployment_build(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.get_last_deployment_build_response.GetLastDeploymentBuildResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.get_last_deployment_build_response.GetLastDeploymentBuildResponse |
get_syntiant_posterior
edgeimpulse_api.api.deployment_api.DeploymentApi.get_syntiant_posterior(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.get_syntiant_posterior_response.GetSyntiantPosteriorResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.get_syntiant_posterior_response.GetSyntiantPosteriorResponse |
list_all_deployment_targets
edgeimpulse_api.api.deployment_api.DeploymentApi.list_all_deployment_targets(
self,
**kwargs
) ‑> edgeimpulse_api.models.deployment_targets_response.DeploymentTargetsResponse
| Parameters | |
|---|---|
self | |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.deployment_targets_response.DeploymentTargetsResponse |
list_deployment_history
edgeimpulse_api.api.deployment_api.DeploymentApi.list_deployment_history(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset, data for all impulses is returned.', extra={})] = None,
limit: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Maximum number of results', extra={})] = None,
offset: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.list_deployment_history_response.ListDeploymentHistoryResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset, data for all impulses is returned.', extra={})] = None |
limit | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Maximum number of results', extra={})] = None |
offset | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Offset in results, can be used in conjunction with LimitResultsParameter to implement paging.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.list_deployment_history_response.ListDeploymentHistoryResponse |
list_deployment_targets_for_project
edgeimpulse_api.api.deployment_api.DeploymentApi.list_deployment_targets_for_project(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.project_deployment_targets_response.ProjectDeploymentTargetsResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.project_deployment_targets_response.ProjectDeploymentTargetsResponse |
list_deployment_targets_for_project_data_sources
edgeimpulse_api.api.deployment_api.DeploymentApi.list_deployment_targets_for_project_data_sources(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.deployment_targets_response.DeploymentTargetsResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.deployment_targets_response.DeploymentTargetsResponse |
set_syntiant_posterior
edgeimpulse_api.api.deployment_api.DeploymentApi.set_syntiant_posterior(
self,
project_id: Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})],
set_syntiant_posterior_request: edgeimpulse_api.models.set_syntiant_posterior_request.SetSyntiantPosteriorRequest,
impulse_id: Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None,
**kwargs
) ‑> edgeimpulse_api.models.generic_api_response.GenericApiResponse
| Parameters | |
|---|---|
self | |
project_id | Annotated[pydantic.v1.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})] |
set_syntiant_posterior_request | edgeimpulse_api.models.set_syntiant_posterior_request.SetSyntiantPosteriorRequest |
impulse_id | Annotated[pydantic.v1.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None |
**kwargs | |
| Returns |
|---|
edgeimpulse_api.models.generic_api_response.GenericApiResponse |