impulse_api module
ImpulseApi
Parameters
api_client=None
Methods
clone_impulse_complete
Clone impulse (complete)
Clones the complete impulse (incl. config and data) of an existing impulse.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
impulse_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Impulse ID', extra={})]
clone_impulse_request: edgeimpulse_api.models.clone_impulse_request.CloneImpulseRequest
**kwargs
Return
edgeimpulse_api.models.start_job_response.StartJobResponse
clone_impulse_structure
Clone impulse (structure)
Clones the complete structure (incl. config) of an impulse. Does not copy data.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
impulse_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Impulse ID', extra={})]
clone_impulse_request: edgeimpulse_api.models.clone_impulse_request.CloneImpulseRequest
**kwargs
Return
edgeimpulse_api.models.create_impulse_response.CreateImpulseResponse
create_impulse
Create impulse
Sets the impulse for this project. If you specify impulseId
then that impulse is created/updated, otherwise the default impulse is created/updated.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
impulse: edgeimpulse_api.models.create_impulse_request.CreateImpulseRequest
impulse_id: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None
**kwargs
Return
edgeimpulse_api.models.create_impulse_response.CreateImpulseResponse
create_new_empty_impulse
Create new empty impulse
Create a new empty impulse, and return the ID.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.create_new_empty_impulse_response.CreateNewEmptyImpulseResponse
delete_impulse
Delete impulse
Clears the impulse and all associated blocks for this project. If you specify impulseId
then that impulse is cleared, otherwise the default impulse is cleared.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
impulse_id: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
download_detailed_impulses
Download all impulses (incl. metrics), as JSON or CSV.
Download all impulse for a project, including accuracy and performance metrics, as JSON or CSV.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
format: Annotated[pydantic.types.StrictStr | None, FieldInfo(default=PydanticUndefined, description="Format of the detailed impulses response, either 'json' or 'csv'. If not set, defaults to 'json'.", extra={})] = None
**kwargs
Return
str
get_all_detailed_impulses
Get all impulses (incl. metrics)
Retrieve all impulse for a project, including accuracy and performance metrics.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.get_all_detailed_impulses_response.GetAllDetailedImpulsesResponse
get_all_impulses
Get all impulses
Retrieve all impulse for a project
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.get_all_impulses_response.GetAllImpulsesResponse
get_impulse
Get impulse
Retrieve the impulse for this project. If you specify impulseId
then that impulse is returned, otherwise the default impulse is returned.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
impulse_id: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None
**kwargs
Return
edgeimpulse_api.models.get_impulse_response.GetImpulseResponse
get_impulse_all
Get impulse including disabled blocks
Retrieve the impulse for this project including disabled blocks. If you specify impulseId
then that impulse is returned, otherwise the default impulse is returned.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
impulse_id: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None
**kwargs
Return
edgeimpulse_api.models.get_impulse_response.GetImpulseResponse
get_impulse_blocks
Get impulse blocks
Lists all possible blocks that can be used in the impulse
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.get_impulse_blocks_response.GetImpulseBlocksResponse
get_new_block_id
Get new block ID
Returns an unused block ID. Use this function to determine new block IDs when you construct an impulse; so you won't accidentally re-use block IDs.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.get_new_block_id_response.GetNewBlockIdResponse
update_impulse
Update impulse
Update the impulse for this project. If you specify impulseId
then that impulse is created/updated, otherwise the default impulse is created/updated.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
update_impulse_request: edgeimpulse_api.models.update_impulse_request.UpdateImpulseRequest
impulse_id: Annotated[pydantic.types.StrictInt | None, FieldInfo(default=PydanticUndefined, description='Impulse ID. If this is unset then the default impulse is used.', extra={})] = None
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
verify_dsp_block_url
Verify custom DSP block
Verify the validity of a custom DSP block
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
verify_dsp_block_url_request: edgeimpulse_api.models.verify_dsp_block_url_request.VerifyDspBlockUrlRequest
**kwargs
Return
edgeimpulse_api.models.verify_dsp_block_url_response.VerifyDspBlockUrlResponse
Last updated