Socket
Book a DemoInstallSign in
Socket

odinai-sdk

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

odinai-sdk

Odin AI Python SDK - Official Python client library for Odin AI API

pipPyPI
Version
3.0.111
Maintainers
1

odin-sdk

API Documentation to interact with

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 3.0.111
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import odin_sdk

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import odin_sdk

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:


import odin_sdk
from odin_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://127.0.0.1:8001
# See configuration.py for a list of all supported configuration parameters.
configuration = odin_sdk.Configuration(
    host = "https://127.0.0.1:8001"
)



# Enter a context with an instance of the API client
with odin_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = odin_sdk.ActionsApi(api_client)
    api_tool_request = odin_sdk.ApiToolRequest() # ApiToolRequest | 
    x_api_key = 'x_api_key_example' # str | Your Odin API key. (optional)
    x_api_secret = 'x_api_secret_example' # str | Your Odin API secret. (optional)

    try:
        # Api Tool
        api_response = api_instance.api_tool_tools_api_post(api_tool_request, x_api_key=x_api_key, x_api_secret=x_api_secret)
        print("The response of ActionsApi->api_tool_tools_api_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ActionsApi->api_tool_tools_api_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://127.0.0.1:8001

ClassMethodHTTP requestDescription
ActionsApiapi_tool_tools_api_postPOST /tools/apiApi Tool
ActionsApideploy_bot_tool_tools_deploy_bot_postPOST /tools/deploy-botDeploy Bot Tool
AgentsApiactivate_custom_agent_agents_activate_postPOST /agents/activateActivate an Existing Custom Agent
AgentsApiedit_existing_custom_agent_agents_edit_postPOST /agents/editEdit an Existing Custom Agent
AgentsApilist_agents_for_project_agents_project_id_list_getGET /agents/{project_id}/listList Agents for Project
AgentsApisave_new_custom_agent_agents_new_postPOST /agents/newSave a New Custom Agent
ChatApicreate_chat_chat_create_postPOST /chat/createCreate Chat
ChatApidelete_chat_chat_delete_deleteDELETE /chat/deleteDelete Chat
ChatApiget_chat_project_project_id_chat_chat_id_getGET /project/{project_id}/chat/{chat_id}Get Chat
ChatApiget_chats_project_project_id_chat_getGET /project/{project_id}/chatGet Chats
ChatApiget_default_models_chat_models_getGET /chat/modelsGet Default Models
ChatApisend_message_v3_v3_chat_message_postPOST /v3/chat/messageSend Message V3
CustomToolsApiclone_public_tool_tools_custom_clone_postPOST /tools/custom/cloneClone Public Tool
CustomToolsApicreate_custom_tool_tools_custom_postPOST /tools/customCreate Custom Tool
CustomToolsApidelete_custom_tool_tools_custom_tool_id_deleteDELETE /tools/custom/{tool_id}Delete Custom Tool
CustomToolsApiexecute_workflow_stream_tools_execute_workflow_stream_getGET /tools/execute-workflow-streamExecute Workflow Stream
CustomToolsApiexecute_workflow_tools_execute_workflow_postPOST /tools/execute-workflowExecute Workflow
CustomToolsApiexecute_workflow_with_file_upload_tools_execute_workflow_file_upload_postPOST /tools/execute-workflow-file-uploadExecute Workflow With File Upload
CustomToolsApiexport_custom_tool_tools_custom_tool_id_export_postPOST /tools/custom/{tool_id}/exportExport Custom Tool
CustomToolsApiget_available_toolkit_tools_tools_available_toolkit_tools_getGET /tools/available-toolkit-toolsGet Available Toolkit Tools
CustomToolsApiget_custom_tool_tools_custom_tool_id_getGET /tools/custom/{tool_id}Get Custom Tool
CustomToolsApiget_custom_tools_tools_custom_getGET /tools/customGet Custom Tools
CustomToolsApiget_public_custom_tools_tools_custom_public_getGET /tools/custom/publicGet Public Custom Tools
CustomToolsApiget_tool_schedule_status_tools_custom_tool_id_schedule_status_getGET /tools/custom/{tool_id}/schedule-statusGet Tool Schedule Status
CustomToolsApiget_tool_version_tools_custom_tool_id_version_version_getGET /tools/custom/{tool_id}/version/{version}Get Tool Version
CustomToolsApiget_tool_versions_tools_custom_tool_id_versions_getGET /tools/custom/{tool_id}/versionsGet Tool Versions
CustomToolsApiget_toolkit_oauth_login_url_tools_oauth_login_url_getGET /tools/oauth/login-urlGet Toolkit Oauth Login Url
CustomToolsApiget_toolkit_oauth_status_tools_oauth_status_getGET /tools/oauth/statusGet Toolkit Oauth Status
CustomToolsApiget_tools_schedule_status_batch_tools_custom_schedule_status_batch_postPOST /tools/custom/schedule-status/batchGet Tools Schedule Status Batch
CustomToolsApiimport_custom_tool_tools_custom_import_postPOST /tools/custom/importImport Custom Tool
CustomToolsApipause_tool_schedule_tools_custom_tool_id_pause_schedule_postPOST /tools/custom/{tool_id}/pause-schedulePause Tool Schedule
CustomToolsApipublish_custom_tool_tools_custom_tool_id_publish_postPOST /tools/custom/{tool_id}/publishPublish Custom Tool
CustomToolsApiresume_tool_schedule_tools_custom_tool_id_resume_schedule_postPOST /tools/custom/{tool_id}/resume-scheduleResume Tool Schedule
CustomToolsApirevert_draft_to_version_tools_custom_tool_id_revert_to_version_postPOST /tools/custom/{tool_id}/revert-to-versionRevert Draft To Version
CustomToolsApiupdate_custom_tool_tools_custom_tool_id_putPUT /tools/custom/{tool_id}Update Custom Tool
DataTypesApicancel_compute_column_job_project_project_id_data_type_data_type_id_compute_column_cancel_execution_id_postPOST /project/{project_id}/data-type/{data_type_id}/compute-column/cancel/{execution_id}Cancel Compute Column Job
DataTypesApicompute_column_values_async_project_project_id_data_type_data_type_id_compute_column_async_postPOST /project/{project_id}/data-type/{data_type_id}/compute-column/asyncCompute Column Values Async
DataTypesApicreate_data_type_project_project_id_data_types_postPOST /project/{project_id}/data-typesCreate Data Type
DataTypesApicreate_data_type_view_project_project_id_data_type_data_type_id_view_postPOST /project/{project_id}/data-type/{data_type_id}/viewCreate Data Type View
DataTypesApidelete_data_type_by_id_project_project_id_data_types_data_type_id_deleteDELETE /project/{project_id}/data-types/{data_type_id}Delete Data Type By Id
DataTypesApiget_compute_column_jobs_project_project_id_data_type_data_type_id_compute_column_jobs_getGET /project/{project_id}/data-type/{data_type_id}/compute-column/jobsGet Compute Column Jobs
DataTypesApiget_compute_column_status_project_project_id_data_type_data_type_id_compute_column_status_execution_id_getGET /project/{project_id}/data-type/{data_type_id}/compute-column/status/{execution_id}Get Compute Column Status
DataTypesApiget_data_type_by_id_project_project_id_data_types_data_type_id_getGET /project/{project_id}/data-types/{data_type_id}Get Data Type By Id
DataTypesApiget_data_type_view_by_id_project_project_id_data_types_data_type_id_view_getGET /project/{project_id}/data-types/{data_type_id}/viewGet Data Type View By Id
DataTypesApiget_data_types_project_project_id_data_types_getGET /project/{project_id}/data-typesGet Data Types
DataTypesApiget_grouped_data_type_view_by_id_project_project_id_data_types_data_type_id_view_grouped_getGET /project/{project_id}/data-types/{data_type_id}/view/groupedGet Grouped Data Type View By Id
DataTypesApiget_template_details_project_project_id_data_type_templates_template_name_getGET /project/{project_id}/data-type-templates/{template_name}Get Template Details
DataTypesApiget_templates_project_project_id_data_type_templates_getGET /project/{project_id}/data-type-templatesGet Templates
DataTypesApiimport_table_project_project_id_import_table_postPOST /project/{project_id}/import-tableImport Table
DataTypesApiupdate_column_metadata_project_project_id_data_type_data_type_id_column_column_name_metadata_putPUT /project/{project_id}/data-type/{data_type_id}/column/{column_name}/metadataUpdate Column Metadata
DataTypesApiupdate_data_type_view_project_project_id_data_type_data_type_id_view_view_id_putPUT /project/{project_id}/data-type/{data_type_id}/view/{view_id}Update Data Type View
DataTypesApiuse_template_project_project_id_data_type_templates_use_postPOST /project/{project_id}/data-type-templates/useUse Template
ExecutionHistoryApiget_execution_history_tools_execution_history_getGET /tools/execution-historyGet Execution History
ExecutionHistoryApiget_execution_run_details_tools_execution_history_run_id_getGET /tools/execution-history/{run_id}Get Execution Run Details
JsonsApidelete_json_json_deleteDELETE /jsonDelete Json
JsonsApiedit_json_json_putPUT /jsonEdit Json
JsonsApiget_json_json_postPOST /jsonGet Json
JsonsApiget_jsons_jsons_postPOST /jsonsGet Jsons
KnowledgeBaseApiadd_file_to_knowledge_base_v3_v3_project_knowledge_add_file_postPOST /v3/project/knowledge/add/fileAdd File To Knowledge Base V3
KnowledgeBaseApibatch_delete_project_knowledge_delete_deleteDELETE /project/knowledge/deleteBatch Delete
KnowledgeBaseApisync_kb_file_v2_v2_project_knowledge_sync_file_postPOST /v2/project/knowledge/sync/fileSync Kb File V2
ProjectsApiadd_user_to_project_project_user_add_postPOST /project/user/addAdd User To Project
ProjectsApicreate_project_project_create_postPOST /project/createCreate Project
ProjectsApidelete_project_project_delete_deleteDELETE /project/deleteDelete Project
ProjectsApiedit_project_user_project_user_edit_postPOST /project/user/editEdit Project User
ProjectsApiget_project_members_project_project_id_members_getGET /project/{project_id}/membersGet Project Members
ProjectsApiget_projects_projects_getGET /projectsGet Projects
ProjectsApiupdate_project_project_update_postPOST /project/updateUpdate Project
RolesApicreate_role_project_project_id_roles_postPOST /project/{project_id}/rolesCreate Role
RolesApiget_all_role_ids_project_project_id_roles_getGET /project/{project_id}/rolesGet All Role Ids
ScheduleManagementApiget_tool_schedule_status_tools_custom_tool_id_schedule_status_getGET /tools/custom/{tool_id}/schedule-statusGet Tool Schedule Status
ScheduleManagementApiget_tools_schedule_status_batch_tools_custom_schedule_status_batch_postPOST /tools/custom/schedule-status/batchGet Tools Schedule Status Batch
ScheduleManagementApipause_tool_schedule_tools_custom_tool_id_pause_schedule_postPOST /tools/custom/{tool_id}/pause-schedulePause Tool Schedule
ScheduleManagementApiresume_tool_schedule_tools_custom_tool_id_resume_schedule_postPOST /tools/custom/{tool_id}/resume-scheduleResume Tool Schedule
ToolsApiai_classify_tools_ai_classify_postPOST /tools/ai/classifyAi Classify
ToolsApiai_summary_tools_ai_summarize_postPOST /tools/ai/summarizeAi Summary
ToolsApicheck_pii_in_documents_tools_pii_check_postPOST /tools/pii-checkCheck Pii In Documents
ToolsApiconvert_md_html_tools_md_html_conversion_postPOST /tools/md-html-conversionConvert Md Html
ToolsApicreate_blog_from_title_tools_ai_blog_create_auto_postPOST /tools/ai/blog/create/autoCreate Blog From Title
ToolsApicreate_blog_key_points_tools_ai_blog_ideas_postPOST /tools/ai/blog/ideasCreate Blog Key Points
ToolsApicreate_blog_sections_tools_ai_blog_sections_postPOST /tools/ai/blog/sectionsCreate Blog Sections
ToolsApicreate_blog_title_tools_ai_blog_title_postPOST /tools/ai/blog/titleCreate Blog Title
ToolsApicreate_blog_tools_ai_blog_create_postPOST /tools/ai/blog/createCreate Blog
ToolsApiexecute_step_tools_execute_step_postPOST /tools/execute-stepExecute Step
ToolsApiextract_data_tools_extract_data_postPOST /tools/extract_dataExtract Data
ToolsApiextract_info_from_file_tools_file_extract_start_postPOST /tools/file/extract/startExtract Info From File
ToolsApifetch_data_tools_file_extract_fetch_postPOST /tools/file/extract/fetchFetch Data
ToolsApifetch_kb_documents_tools_kb_fetch_documents_postPOST /tools/kb/fetch_documentsFetch Kb Documents
ToolsApifind_prospeo_data_tools_prospeo_postPOST /tools/prospeoFind Prospeo Data
ToolsApiget_available_tools_by_category_tools_available_by_category_getGET /tools/available/by-categoryGet Available Tools By Category
ToolsApiget_available_tools_tools_available_getGET /tools/availableGet Available Tools
ToolsApiget_step_result_tools_step_result_project_id_tool_id_step_id_getGET /tools/step-result/{project_id}/{tool_id}/{step_id}Get Step Result
ToolsApiget_stock_data_tools_v2_yahoo_finance_stock_data_postPOST /tools/v2/yahoo-finance/stock/dataGet Stock Data
ToolsApirecreate_blog_section_tools_ai_blog_regenerate_postPOST /tools/ai/blog/regenerateRecreate Blog Section
ToolsApirecreate_blog_section_tools_ai_blog_section_regenerate_postPOST /tools/ai/blog/section/regenerateRecreate Blog Section
ToolsApisearch_available_tools_tools_available_search_getGET /tools/available/searchSearch Available Tools
ToolsApitranslate_texts_tools_ai_translate_postPOST /tools/ai/translateTranslate Texts
ToolsApiwrite_blog_section_tools_create_blog_section_postPOST /tools/create_blog_sectionWrite Blog Section
ToolsApiwrite_blog_tools_ai_blog_write_postPOST /tools/ai/blog/writeWrite Blog
DefaultApiget_youtube_captions_json_tools_ai_extract_youtube_captions_postPOST /tools/ai/extract-youtube-captionsGet Youtube Captions Json
DefaultApisse_endpoint_tools_push_getGET /tools/pushSse Endpoint

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

APIKeyHeader

  • Type: API key
  • API key parameter name: X-Test-API-Key
  • Location: HTTP header

Author

Keywords

odin

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts